Jump to content

How to enable UART debug logs during the U-Boot stage on Rock5B?


Go to solution Solved by lyh,

Recommended Posts

Posted

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.
6ed42e382364fbc198c043deb7f72a8.thumb.png.0b6db46a88f09a116b9bbd7da783e167.png

Posted

The first question is: What U-boot binary blob is written to your storage?

 

In my installation, the U-boot binary blob is not written during upgrade. I do this myself with dd. Was originally some 2017 version.

 

I always had all text displayed. The loglevel in armbianEnv.txt is for kernel, although mine is at 7, but that should not matter for U-boot AFAIK.

 

I have a NanoPi-R6C (is RK3588S) but also several other Armbians, did apt update && apt upgrade yesterday (current branch). Now kernel 6.12.1 and also a newer U-boot. The version is listed in:

/usr/share/doc/linux-u-boot-nanopi-r6c-current/changelog.gz

 

mine is:

Similar path specific for your Rock 5B. Should come from package 'linux-u-boot-rock-5b-current/bookworm 25.2.0-trunk.100 arm64' or later.

The use configuration used for compile is: /usr/lib/u-boot/nanopi-r6c-rk3588s_defconfig
Again, similar path specific for your Rock 5B.

 

Posted

Strange that this need to be changed. I see for mine:

grep CONFIG_DISABLE_CONSOLE /usr/lib/u-boot/nanopi-r6c-rk3588s_defconfig
# CONFIG_DISABLE_CONSOLE is not set

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines