Default value for bootcmd not defined

Simon Glass sjg at
Mon Mar 27 06:00:44 CEST 2023

Hi Stefan,

On Thu, 16 Mar 2023 at 17:09, Stefan Nagy <stefan.nagy at> wrote:
> Hello,
> 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.

Yes we are working through the migration. For this release, Tom is
fixing the rk3399 boards so it should boot correctly.


More information about the U-Boot mailing list