From e8c02730a64588fcbc0a0435427af2cc258ca917 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Thu, 5 Oct 2023 05:31:09 +0530 Subject: [PATCH] rename armbianEnv.txt to uEnv.txt --- boot.cmd | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/boot.cmd b/boot.cmd index 9d18461..009f4b9 100644 --- a/boot.cmd +++ b/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