V3S怎么关闭uboot的启动信息?
离线
#define CONFIG_DISABLE_CONSOLE 1
#define CONFIG_SILENT_CONSOLE 1
#define CONFIG_SYS_DEVICE_NULLDEV 1
#define CONFIG_BOARD_EARLY_INIT_F 1
参考: https://blog.csdn.net/gujintong1110/article/details/48683501
离线
#define CONFIG_DISABLE_CONSOLE 1
#define CONFIG_SILENT_CONSOLE 1
#define CONFIG_SYS_DEVICE_NULLDEV 1
#define CONFIG_BOARD_EARLY_INIT_F 1参考: https://blog.csdn.net/gujintong1110/article/details/48683501
你好。这个我添加进去编译不过额。错误信息:
common/built-in.o:(.data.init_sequence_f+0x24):对‘board_early_init_f’未定义的引用
这个是什么原因呢?
离线
https://devtalk.nvidia.com/default/topic/1032698/jetson-tx2/disable-serial-console-of-u-boot-on-tx2/
and in u-boot/arch/arm/mach-tegra/board186.c I added:
int board_early_init_f(void)
{
+gd->flags |= (GD_FLG_SILENT | GD_FLG_DISABLE_CONSOLE);
return 0;
}
看下能不能参考上面的解决方案
离线
https://devtalk.nvidia.com/default/topic/1032698/jetson-tx2/disable-serial-console-of-u-boot-on-tx2/
and in u-boot/arch/arm/mach-tegra/board186.c I added:
int board_early_init_f(void)
{
+gd->flags |= (GD_FLG_SILENT | GD_FLG_DISABLE_CONSOLE);
return 0;
}看下能不能参考上面的解决方案
谢谢哦。解决了。
#define CONFIG_EXTRA_ENV_SETTINGS \
"silent=1\0"
#define CONFIG_SILENT_CONSOLE 1
#define CONFIG_SYS_DEVICE_NULLDEV 1
#define CONFIG_SILENT_CONSOLE_UPDATE_ON_SET 1
#define CONFIG_SILENT_U_BOOT_ONLY 1
#define CONFIG_SILENT_CONSOLE_UPDATE_ON_RELOC 1
最近编辑记录 BMN李 (2018-12-29 20:41:46)
离线