Hello, currently on Rock5B running Armbian 24, I am not seeing the U-Boot output logs during UART debugging. Where in the source code can I enable this? Thank you.
How to enable UART debug logs during the U-Boot stage on Rock5B?
try to increase loglevel in /etc/kernel/cmdline
Hello @eternal ,
If you know how to compile armbian uboot deb, change this line of code https://github.com/radxa/u-boot/blob/22849bf1cf13c2f0a6f2741a51d4802793d2aecc/configs/rock-5b-rk3588_defconfig#L36 to : # CONFIG_DISABLE_CONSOLE is not set
.
Later, I flashed the Radxa Rock-5B Bookworm KDE B5 firmware. According to this guide (https://docs.radxa.com/rock5/rock5b/low-level-dev/u-boot), I compiled the U-Boot, flashed the U-Boot firmware, and confirmed that CONFIG_DISABLE_CONSOLE=n. However, I still couldn’t see the printed log during the U-Boot stage.
Can you describe the specific process? so that I can point out your wrong steps
@ChenJaly
I can see the U-Boot log now. It was because I didn’t specify the device block during flashing. I directly used this: sudo ./setup.sh update_bootloader /dev/mmcblk1
. The correct one is: sudo ./setup.sh update_bootloader /dev/mmcblk0
. Thank you.
Great, can you mark my reply as a solution?