bootscripts: Set the expected default path to "${prefix}dtb/${vendor}"
Set the expected default path to /boot/dtb/allwinner and start analyzing if the DTB file is not found in this path. The folder with the vendor's name is now part of the path, not part of the file name. This greatly facilitates the analysis of various possible options in a simple u-boot shell.
This commit is contained in:
parent
a55c8bfcb2
commit
c02b4ff8d2
@ -13,14 +13,14 @@ setenv console "both"
|
||||
setenv docker_optimizations "on"
|
||||
setenv bootlogo "false"
|
||||
|
||||
setenv vendor "allwinner"
|
||||
|
||||
# Remember the default u-boot fdtfile
|
||||
setenv deffdt_file ${fdtfile}
|
||||
|
||||
# Remember the default u-boot fdtdir
|
||||
setenv deffdt_dir "${prefix}dtb"
|
||||
if test "$fdtdir" = ""; then setenv fdtdir "${deffdt_dir}";fi
|
||||
|
||||
setenv vendor "allwinner"
|
||||
if test "$fdtdir" = ""; then setenv fdtdir "${deffdt_dir}/${vendor}";fi
|
||||
|
||||
# Print boot source
|
||||
itest.b *0x10028 == 0x00 && echo "U-boot loaded from SD"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user