⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uboot-neo1973_defaultconsole_usbtty.patch

📁 Uboot常用的移植patches, 方便定制移植到s3c2440
💻 PATCH
字号:
This patch ensures that even if no environment partition is present on a Neo1973device, the USB serial emulation will be the default console, not the serial port.This enables people with no debug board to always access the u-boot console, evenif their environment partition is gone.The only remaining case of bootloader lock-out is now when the environmentcontains stdin/stdout/stderr=serial settings.Index: u-boot/include/configs/neo1973_gta01.h===================================================================--- u-boot.orig/include/configs/neo1973_gta01.h+++ u-boot/include/configs/neo1973_gta01.h@@ -182,6 +182,7 @@  #define CONFIG_EXTRA_ENV_SETTINGS 					\ 	"usbtty=cdc_acm\0"						\+	"stderr=usbtty\0stdout=usbtty\0stdin=usbtty\0"			\ 	"bootargs_base=rootfstype=jffs2 root=/dev/mtdblock4 console=ttySAC0,115200 console=tty0 loglevel=8\0" \ 	"" Index: u-boot/include/configs/neo1973_gta02.h===================================================================--- u-boot.orig/include/configs/neo1973_gta02.h+++ u-boot/include/configs/neo1973_gta02.h@@ -189,6 +189,7 @@  #define CONFIG_EXTRA_ENV_SETTINGS 					\ 	"usbtty=cdc_acm\0"						\+	"stderr=usbtty\0stdout=usbtty\0stdin=usbtty\0"			\ 	"bootargs_base=rootfstype=jffs2 root=/dev/mtdblock6 console=ttySAC2,115200 console=tty0 loglevel=8\0" \ 	"" 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -