Closed motters closed 5 years ago
U-Boot displays messaged on bootup which we dont want to see.
In file common/console.c variable CONFIG_SILENT_CONSOLE is used to disable console prints.
Add the following in include/config/rpi.h
/* Silent */ #define CONFIG_DISABLE_CONSOLE #define CONFIG_SILENT_CONSOLE #define CONFIG_SYS_DEVICE_NULLDEV #define CONFIG_SILENT_CONSOLE_UPDATE_ON_RELOC #define CONFIG_EXTRA_ENV_SETTINGS \ "silent=1\0" \
Next create a patch and append to SRC in uboot
git diff > 010_Silent-boot.patch
This variable should be set but this is how u set in once booted
fw_setenv silent yes
If the above does not work edit board/raspberrypi/rpi/rpi.c and add the below
#ifdef CONFIG_BOARD_EARLY_INIT_F int board_early_init_f(void) { gd->flags |= (GD_FLG_SILENT | GD_FLG_DISABLE_CONSOLE); return 0; } #endif
Then add the below to include/config/rpi.h
#define CONFIG_BOARD_EARLY_INIT_F
https://github.com/QutiPi/meta-qutipi/commit/43a5e5c05c425f5fc9d43b5be9c3bef4826d3928
U-Boot displays messaged on bootup which we dont want to see.
In file common/console.c variable CONFIG_SILENT_CONSOLE is used to disable console prints.
Add the following in include/config/rpi.h
Next create a patch and append to SRC in uboot
This variable should be set but this is how u set in once booted
If the above does not work edit board/raspberrypi/rpi/rpi.c and add the below
Then add the below to include/config/rpi.h