Autorun a uboot script

Hi there,

I’m building the radxa uboot system. I can’t seem to get my script to run from uboot. This is the output :
mmc1 is current device
Scanning mmc 1:1…
Found U-Boot script /boot.scr
reading /boot.scr
1112 bytes read in 4 ms (271.5 KiB/s)
## Executing script at 00c00000
SCRIPT FAILED: continuing…

The script is compiled like so :
uboot/tools/mkimage -C none -A arm -T script -d boot.cmd boot.scr

This is still a problem. Any ideas on how to fix the boot.scr loading and running from uboot ?

Would you please show your boot.cmd and the generated boot.scr?

And the result of command ‘fatls mmc 1:1’ in u-boot shell?

I’m on holidays now and I can’t get to a system.

The U-Boot can load the script but when it tries to execute the script it fails.

If you build this buildroot system then you’ll see what I’m talking about.