File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,18 @@ setenv bootargs "${bootargs} root=${rootdev} rootwait rw"
56
56
setenv bootargs " ${bootargs} ${consoleargs}"
57
57
setenv bootargs " ${bootargs} ${extraargs}"
58
58
59
+ # Read bootconfig
60
+ fatload ${bootdev} 0x20800000 /bootconfig || exit 1
61
+ env import -t 0x20800000 ${filesize}
62
+
63
+ # Use default bootconfig
64
+ test -n " ${ARMBIAN_BOOTMENU_TITLE[0]}" || exit 1
65
+ run " ARMBIAN_BOOTMENU_COMMAND[0]"
66
+
59
67
# Booting
60
- fatload ${bootdev} 0x20800000 /uImage || exit 1
61
- fatload ${bootdev} 0x22000000 /uInitrd || exit 1
62
- fatload ${bootdev} 0x21800000 /dtb /meson8b-onecloud.dtb || exit 1
68
+ fatload ${bootdev} 0x20800000 " /${KERNEL_NAME} " || exit 1
69
+ fatload ${bootdev} 0x22000000 " /${INITRD_NAME} " || exit 1
70
+ fatload ${bootdev} 0x21800000 " /${DTB_NAME} /meson8b-onecloud.dtb" || exit 1
63
71
64
72
bootm 0x20800000 0x22000000 0x21800000
65
73
You can’t perform that action at this time.
0 commit comments