Uboot build, how to enter uboot console/command line

how can i build a uboot which can use uboot cmd, or how to enter the uboot console? i had build uboot and flash into sdcard follow radxa uboot guide,but it con’t jump to uboot console.

For the rock5b they disabled console, something to do with speeding up boot for pd problems.

If you use a fixed voltage adapter, enable it with

CONFIG_DISABLE_CONSOLE=n

Add it at the end of the defconfig for instance.

I’ve already done this step and it’s stuck here as shown below.

DDR Version V1.08 20220617
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
Manufacturer ID:0x6
CH0 RX Vref:33.7%, TX Vref:22.8%,22.8%
CH1 RX Vref:32.7%, TX Vref:21.8%,22.8%
CH2 RX Vref:31.7%, TX Vref:21.8%,20.8%
CH3 RX Vref:31.7%, TX Vref:20.8%,19.8%
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out
U-Boot SPL board init
U-Boot SPL 2017.09-g5753b21aa9-220414-dirty #gmusk (Jan 14 2023 - 15:27:14)
Trying to boot from MMC2
spl: partition error
Trying fit image at 0x4000 sector
Verified-boot: 0
Checking uboot 0x00200000 … sha256(fec306b32e…) + OK
Checking fdt 0x0030b370 … sha256(d32827d3ac…) + OK
Total: 557.391 ms

Jumping to U-Boot(0x00200000)

Does the board succesfully boot , without anything from uboot on the console?

Or is it totally stuck there?

There is a working uboot version in my prebuild archlinux uboot package. It has console enabled. Without archlinux you could extract the image and write it with dd at offset 64

https://github.com/ericwoud/buildRKarch/releases/download/repo-aarch64/rk3588-uboot-git-2017.09r52761.75b12f8295-1-aarch64.pkg.tar.xz

Here you can find how it is build:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=rk3588-uboot-git

II tried, This UBoot image is working, thank you!

I found the difference between the two methods, the latter can be used, I will compare and continue to complete my experiment, thanks again!