Why U-Boot does not disable console output

I have this system accessed by the Debug serial port. I want to disable all the output that was made during the boot of U-Boot. Therefore there is

setenv silent 1

which I insert in the line BOOTCMD, for example:

#define CONFIG_BOOTCOMMAND "setenv silent 1;" \

"bootm"

and exists

#define CONFIG_SILENT_CONSOLE

none of them work (the printed lines are the same, and the loading time has not changed). Does anyone see a mistake?

+4
source share
2 answers

U-Boot does exactly what it needs (disable output) with the following command:

#define CONFIG_EXTRA_ENV_SETTINGS \

        "silent=1\0" \
0

, U-Boot 2013.10, , :

#define CONFIG_SILENT_CONSOLE 
#define CONFIG_SYS_DEVICE_NULLDEV
#define CONFIG_SILENT_CONSOLE_UPDATE_ON_SET

,

#define CONFIG_SILENT_U_BOOT_ONLY

. README.silent.

+3

Source: https://habr.com/ru/post/1529766/


All Articles