mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
8 lines
378 B
Plaintext
8 lines
378 B
Plaintext
|
setenv mmc_rootpart 2
|
||
|
part uuid mmc ${mmc_bootdev}:${mmc_rootpart} uuid
|
||
|
setenv loadkernel fatload mmc \$mmc_bootdev \$kernel_addr_r uImage
|
||
|
setenv loaddtb fatload mmc \$mmc_bootdev \$fdt_addr_r dtb
|
||
|
setenv bootargs console=ttyS0,115200 earlyprintk root=PARTUUID=${uuid} rootwait
|
||
|
setenv uenvcmd run loadkernel \&\& run loaddtb \&\& booti \$kernel_addr_r - \$fdt_addr_r
|
||
|
run uenvcmd
|