mirror of https://github.com/hak5/openwrt.git
17 lines
330 B
Plaintext
17 lines
330 B
Plaintext
setenv bootargs "root=PARTUUID=@ROOT@-02 rw rootwait"
|
|
|
|
if test -n "${console}"; then
|
|
setenv bootargs "${bootargs} ${console}"
|
|
fi
|
|
|
|
if mmc dev 0; then
|
|
setenv mmcdev 0
|
|
elif mmc dev 1; then
|
|
setenv mmcdev 1
|
|
fi
|
|
|
|
load mmc ${mmcdev}:1 ${fdt_addr} @DTB@.dtb
|
|
load mmc ${mmcdev}:1 ${kernel_addr} Image
|
|
|
|
booti ${kernel_addr} - ${fdt_addr}
|