While booting fresh builded U-Boot fails, distro_bootcmd define error

I have build u-boot for BY-AI from this openbeeagle repo.

Anyway, I succesfully build u-boot with build_u-boot.sh file, but when I copied u-boot files to SD card and try to boot BY-AI, some error occurs.
u-boot-error-log-bootcmd.txt (4.9 KB)

U-Boot log this error:

SoC:   J722S SR1.0 HS-FS
Model: BeagleBoard.org BeagleY-AI
DRAM:  2 GiB (effective 4 GiB)
Core:  65 devices, 26 uclasses, devicetree: separate
MMC:   mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Press SPACE to abort autoboot in 2 seconds
## Error: "findfdt" not defined
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'uEnv.txt'
## Error: "distro_bootcmd" not defined

I look to print and printenv and not found distro_bootcmd define. I will attach all logs.

Do a git pull and rebuild… Commits · main · BeagleY-AI / u-boot-beagley-ai · GitLab

I was testing Andrew’s u-boot RFC

Regards,

1 Like