Default value for bootcmd not defined

Stefan Nagy stefan.nagy at
Wed Mar 15 22:28:06 CET 2023


I followed the official documentation [1] to build U-Boot for my Rock
Pi 4, instead of evb-rk3399_defconfig I used the config file for my
board (rock-pi-4-rk3399_defconfig).

After I flashed the single boot image to an SD card and put it in I got
stuck with the error message: "distro_bootcmd" not defined.

Since I have no idea of U-Boot it took me some time to find out that
all I needed was to set a different default value for bootcmd. Now I
use CONFIG_BOOTCOMMAND="bootflow scan" and it boots my OS as expected.

The official documentation looks straightforward for simple users like
me, so I thought it might not be intended that the default value for
the bootcmd entry is (still) distro_bootcmd.



E-Mails signieren & verschlüsseln ·
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the U-Boot mailing list