U-Boot v2020.10: Environment Variables Missing in include/configs/mt7623.h

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

U-Boot v2020.10: Environment Variables Missing in include/configs/mt7623.h

Gaurav Pathak
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