mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
bootscript: Messages to the user about real work
Inform the user about the actual file that will be uploaded on the first iteration. Inform the user that it cannot be downloaded only once if the first iteration was unsuccessful.
This commit is contained in:
@@ -38,27 +38,22 @@ fi
|
||||
# Make a check of reasonable ways to find the dtb file.
|
||||
# Set the true value of the paths.
|
||||
if test -e ${devtype} ${devnum} "${fdtdir}/${fdtfile}"; then
|
||||
:
|
||||
echo "Load fdt: ${fdtdir}/${fdtfile}"
|
||||
else
|
||||
echo "File ${fdtdir}/${fdtfile} does not exists"
|
||||
echo "The file ${fdtfile} was not found in the path ${fdtdir}"
|
||||
if test -e ${devtype} ${devnum} "${deffdt_dir}/${vendor}/${fdtfile}"; then
|
||||
setenv fdtdir "${deffdt_dir}/${vendor}"
|
||||
else
|
||||
echo "File ${deffdt_dir}/${vendor}/${fdtfile} does not exists"
|
||||
if test -e ${devtype} ${devnum} "${deffdt_dir}/${fdtfile}"; then
|
||||
setenv fdtdir "${deffdt_dir}"
|
||||
else
|
||||
echo "File ${deffdt_dir}/${fdtfile} does not exists"
|
||||
if test -e ${devtype} ${devnum} "${deffdt_dir}/${vendor}/${deffdt_file}"; then
|
||||
setenv fdtdir "${deffdt_dir}/${vendor}"
|
||||
setenv fdtfile "${deffdt_file}"
|
||||
else
|
||||
echo "File ${deffdt_dir}/${vendor}/${deffdt_file} does not exists"
|
||||
if test -e ${devtype} ${devnum} "${deffdt_dir}/${deffdt_file}"; then
|
||||
setenv fdtdir "${deffdt_dir}"
|
||||
setenv fdtfile "${deffdt_file}"
|
||||
else
|
||||
echo "File ${deffdt_dir}/${deffdt_file} does not exists"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user