rename armbianEnv.txt to uEnv.txt

This commit is contained in:
Pratham Patel 2023-10-05 05:31:09 +05:30
parent 6a5cf64486
commit e8c02730a6
No known key found for this signature in database

View File

@ -1,6 +1,6 @@
# DO NOT EDIT THIS FILE # DO NOT EDIT THIS FILE
# #
# Please edit /boot/armbianEnv.txt to set supported parameters # Please edit /boot/uEnv.txt to set supported parameters
# #
setenv load_addr "0x9000000" setenv load_addr "0x9000000"
@ -17,14 +17,14 @@ setenvunamer
echo "Boot script loaded from ${devtype} ${devnum}" echo "Boot script loaded from ${devtype} ${devnum}"
echo "Testing for existence ${devtype} ${devnum} ${prefix}armbianEnv.txt ..." echo "Testing for existence ${devtype} ${devnum} ${prefix}uEnv.txt ..."
if test -e ${devtype} ${devnum} ${prefix}armbianEnv.txt; then if test -e ${devtype} ${devnum} ${prefix}uEnv.txt; then
echo "Found ${devtype} ${devnum} ${prefix}armbianEnv.txt - loading ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt ..." echo "Found ${devtype} ${devnum} ${prefix}uEnv.txt - loading ${devtype} ${devnum} ${load_addr} ${prefix}uEnv.txt ..."
load ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt load ${devtype} ${devnum} ${load_addr} ${prefix}uEnv.txt
echo "Loaded environment from ${devtype} ${devnum} ${prefix}armbianEnv.txt into ${load_addr} filesize ${filesize}..." echo "Loaded environment from ${devtype} ${devnum} ${prefix}uEnv.txt into ${load_addr} filesize ${filesize}..."
echo "Importing into environment ..." echo "Importing into environment ..."
env import -t ${load_addr} ${filesize} env import -t ${load_addr} ${filesize}
echo "armbianEnv.txt imported into environment" echo "uEnv.txt imported into environment"
fi fi
if test "${logo}" = "disabled"; then setenv logo "logo.nologo"; fi if test "${logo}" = "disabled"; then setenv logo "logo.nologo"; fi