imx8mp serial log disable from Uboot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mp serial log disable from Uboot

464 Views
dhanasekar
Contributor I

Hi,

    Want to disable the serial logs from console in imx8mp. Tried the CONFIG_SERIAL_SILENT. But it is not working.

Any help will be much appreciated. 

Thanks.

 

0 Kudos
1 Reply

447 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Please note that when CONFIG_SERIAL_SILENT is used you'll need to set the environmental variable silent to a non-empty value:

config SILENT_CONSOLE
bool "Support a silent console"
help

This option allows the console to be silenced, meaning that no output will appear on the console devices. This is controlled by setting the environment variable 'silent' to a non-empty value. Note this also silences the console when booting Linux.

When the console is set up, the variable is checked, and the GD_FLG_SILENT flag is set. Changing the environment variable later will update the flag.

https://github.com/nxp-imx/uboot-imx/blob/1c881f4da83cc05bee50f352fa183263d7e2622b/common/Kconfig#L9...

Best regards,
Aldo.

0 Kudos