This commit is contained in:
Pratham Patel 2023-10-05 05:50:38 +05:30
parent c25ed95419
commit 751c8f7b77
No known key found for this signature in database

View file

@ -13,12 +13,12 @@ setenv dtbdir "${prefix}dtb-${unamer}"
echo "Boot script loaded from ${devtype} ${devnum}"
echo "Testing for existence ${devtype} ${devnum} ${envfile} ..."
echo "Testing for existence ${devtype} ${devnum} ${envfile}"
if test -e ${devtype} ${devnum} ${envfile}; then
echo "Loading ${devtype} ${devnum} ${load_addr} ${envfile} ..."
echo "Loading ${devtype} ${devnum} ${load_addr} ${envfile}"
load ${devtype} ${devnum} ${load_addr} ${envfile}
echo "Loaded ${devtype} ${devnum} ${envfile} into ${load_addr} filesize ${filesize}..."
echo "Importing into environment ..."
echo "Loaded ${devtype} ${devnum} ${envfile} into ${load_addr} filesize ${filesize}"
echo "Importing into environment"
env import -t ${load_addr} ${filesize}
echo "${envfile} imported into environment"
fi