rename armbianEnv.txt to uEnv.txt
This commit is contained in:
parent
6a5cf64486
commit
e8c02730a6
14
boot.cmd
14
boot.cmd
@ -1,6 +1,6 @@
|
||||
# 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"
|
||||
@ -17,14 +17,14 @@ setenvunamer
|
||||
|
||||
echo "Boot script loaded from ${devtype} ${devnum}"
|
||||
|
||||
echo "Testing for existence ${devtype} ${devnum} ${prefix}armbianEnv.txt ..."
|
||||
if test -e ${devtype} ${devnum} ${prefix}armbianEnv.txt; then
|
||||
echo "Found ${devtype} ${devnum} ${prefix}armbianEnv.txt - loading ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt ..."
|
||||
load ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt
|
||||
echo "Loaded environment from ${devtype} ${devnum} ${prefix}armbianEnv.txt into ${load_addr} filesize ${filesize}..."
|
||||
echo "Testing for existence ${devtype} ${devnum} ${prefix}uEnv.txt ..."
|
||||
if test -e ${devtype} ${devnum} ${prefix}uEnv.txt; then
|
||||
echo "Found ${devtype} ${devnum} ${prefix}uEnv.txt - loading ${devtype} ${devnum} ${load_addr} ${prefix}uEnv.txt ..."
|
||||
load ${devtype} ${devnum} ${load_addr} ${prefix}uEnv.txt
|
||||
echo "Loaded environment from ${devtype} ${devnum} ${prefix}uEnv.txt into ${load_addr} filesize ${filesize}..."
|
||||
echo "Importing into environment ..."
|
||||
env import -t ${load_addr} ${filesize}
|
||||
echo "armbianEnv.txt imported into environment"
|
||||
echo "uEnv.txt imported into environment"
|
||||
fi
|
||||
|
||||
if test "${logo}" = "disabled"; then setenv logo "logo.nologo"; fi
|
||||
|
Loading…
Reference in New Issue
Block a user