
Hi,
I'm running openSUSE Tumbleweed on an RPI CM4, I'm trying to silence u- boot boot messages, with the default configuration there is an u-boot logo on the top right corner and boot text, I'd like to get rid of the logo and all text if possible. The keyboard is not working before the Linux kernel is loaded, so I can not interrupt u-boot and enter any commands, so where should I put "set env silent 1"?
I've followed the guide on https://github.com/ARM-software/u-boot/blob/master/doc/README.silent
I have built u-boot from source using `make rpi_4_defconfig` configuration modified the configuration with make menuconfig, and verified this in .config before builing. CONFIG_SILENT_CONSOLE=y CONFIG_SILENT_U_BOOT_ONLY=y CONFIG_SILENT_CONSOLE_UPDATE_ON_SET=y CONFIG_SILENT_CONSOLE_UPDATE_ON_RELOC=y CONFIG_SILENT_CONSOLE_UNTIL_ENV=y
Copied the binary to /boot/efi/u-boot.bin and /boot/vc/u-boot.bin
I've also tried to define CONFIG_EXTRA_ENV_SETTINGS in include/configs/rpi.h according to: https://stackoverflow.com/questions/34356844/how-to-disable-serial-consoleno... and rebuilt and copied to binary again, still not working.
The text and logo is still present during boot, what am I doing wrong here?
Jonas

Hi Jonas,
On 6/13/24 09:16, Jonas Kvinge wrote:
Hi,
I'm running openSUSE Tumbleweed on an RPI CM4, I'm trying to silence u- boot boot messages, with the default configuration there is an u-boot logo on the top right corner and boot text, I'd like to get rid of the logo and all text if possible. The keyboard is not working before the Linux kernel is loaded, so I can not interrupt u-boot and enter any commands, so where should I put "set env silent 1"?
I've followed the guide on
I have built u-boot from source using `make rpi_4_defconfig` configuration modified the configuration with make menuconfig, and verified this in .config before builing. CONFIG_SILENT_CONSOLE=y CONFIG_SILENT_U_BOOT_ONLY=y CONFIG_SILENT_CONSOLE_UPDATE_ON_SET=y CONFIG_SILENT_CONSOLE_UPDATE_ON_RELOC=y CONFIG_SILENT_CONSOLE_UNTIL_ENV=y
Copied the binary to /boot/efi/u-boot.bin and /boot/vc/u-boot.bin
I've also tried to define CONFIG_EXTRA_ENV_SETTINGS in include/configs/rpi.h according to: and rebuilt and copied to binary again, still not working.
The text and logo is still present during boot, what am I doing wrong here?
I implemented a silent console recently. Here are the steps I took:
- Define CONFIG_DISABLE_CONSOLE - set silent=y in the default environment (CONFIG_EXTRA_ENV_SETTINGS)
You can still enable the console by pressing any key at the (invisible) prompt.
Let me know if that works for you.
--Sean

On Thu, 2024-06-13 at 11:34 -0400, Sean Anderson wrote:
Hi Jonas,
- Define CONFIG_DISABLE_CONSOLE
- set silent=y in the default environment (CONFIG_EXTRA_ENV_SETTINGS)
Where do I find CONFIG_EXTRA_ENV_SETTINGS? Is it an option in make menuconfig, or do I need to edit the header file include/configs/rpi.h?
Jonas

Hi Jonas,
On Fri, Jun 14, 2024 at 7:49 AM Jonas Kvinge jonaski@opensuse.org wrote:
Where do I find CONFIG_EXTRA_ENV_SETTINGS? Is it an option in make menuconfig, or do I need to edit the header file include/configs/rpi.h?
In recent U-Boot versions, this option has been renamed to CFG_EXTRA_ENV_SETTINGS.
It is located at include/configs/<board>.h

On Fri, 2024-06-14 at 07:52 -0300, Fabio Estevam wrote:
Hi Jonas,
On Fri, Jun 14, 2024 at 7:49 AM Jonas Kvinge jonaski@opensuse.org wrote:
Where do I find CONFIG_EXTRA_ENV_SETTINGS? Is it an option in make menuconfig, or do I need to edit the header file include/configs/rpi.h?
In recent U-Boot versions, this option has been renamed to CFG_EXTRA_ENV_SETTINGS.
It is located at include/configs/<board>.h
Thanks, that was helpful. I finally was able to silence the boot text by adding the following in include/configs/rpi.h:
#define CFG_EXTRA_ENV_SETTINGS "silent=y\0"
The u-boot logo in the upper right corner is still showing, is it possible to disable that too?
Jonas

On Fri, Jun 14, 2024 at 8:51 AM Jonas Kvinge jonaski@opensuse.org wrote:
The u-boot logo in the upper right corner is still showing, is it possible to disable that too?
If you don't want the U-Boot splash to appear, you can remove the CONFIG_VIDEO options from configs/rpi_4_defconfig
participants (3)
-
Fabio Estevam
-
Jonas Kvinge
-
Sean Anderson