
19 Nov
2020
19 Nov
'20
8:10 a.m.
Hello Ryder/Weijie,
I am using mainline u-boot v2020.10 for "Banana Pi R2" board. I am trying to use a boot script "boot.scr", there are few environment variables that are missing for e.g. if you take a look at
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
It uses ${scriptaddr} which is missing, because of which the U-Boot fails to load the script, similarly there are some more variables missing: pxefile_addr_r, ramdisk_addr_r etc.
Can you please confirm whether those variables are left (not defined) intentionally or there is some other way of defining those variables?
Thanks, Gaurav Pathak