2018-05-08 11:32:21 +00:00
|
|
|
setenv bootargs "root=PARTUUID=@ROOT@-02 rw rootwait"
|
|
|
|
|
|
|
|
if test -n "${console}"; then
|
|
|
|
setenv bootargs "${bootargs} ${console}"
|
|
|
|
fi
|
|
|
|
|
2019-06-07 13:58:15 +00:00
|
|
|
if mmc dev 0; then
|
|
|
|
setenv mmcdev 0
|
|
|
|
elif mmc dev 1; then
|
|
|
|
setenv mmcdev 1
|
|
|
|
fi
|
|
|
|
|
2020-09-14 15:24:24 +00:00
|
|
|
if test -n "${fdt_addr_r}"; then
|
|
|
|
setenv fdt_addr ${fdt_addr_r}
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test -n "${kernel_addr_r}"; then
|
|
|
|
setenv kernel_addr ${kernel_addr_r}
|
|
|
|
fi
|
|
|
|
|
2019-06-07 13:58:15 +00:00
|
|
|
load mmc ${mmcdev}:1 ${fdt_addr} @DTB@.dtb
|
|
|
|
load mmc ${mmcdev}:1 ${kernel_addr} Image
|
2018-05-08 11:32:21 +00:00
|
|
|
|
|
|
|
booti ${kernel_addr} - ${fdt_addr}
|