It is impossible to do this without changing the source (configuration) of the U-Boot.
To disable the serial console in U-Boot, you need to reconfigure U-Boot. U-Boot Main Documentation : Readme.silent
In accordance with this, you need to install:
CONFIG_SILENT_CONSOLE CONFIG_SILENT_CONSOLE_UPDATE_ON_SET CONFIG_SYS_DEVICE_NULLDEV
CONFIG_SILENT_U_BOOT_ONLY also required if you want only the U-Boot to be quiet.
You may also need to test with CONFIG_SILENT_CONSOLE_UPDATE_ON_RELOC and possibly add silent 1 to CONFIG_EXTRA_ENV_SETTINGS .
== UPDATE ==
For a possible workaround, see the following options:
CONFIG_ZERO_BOOTDELAY_CHECK CONFIG_AUTOBOOT_KEYED CONFIG_AUTOBOOT_KEYED_CTRLC CONFIG_AUTOBOOT_PROMPT CONFIG_AUTOBOOT_DELAY_STR CONFIG_AUTOBOOT_STOP_STR
These options will at least give you the option to require the magic line to stop loading. This may be enough to help you. See README.autoboot
source share