6e68ec6de0
The mmc block device number can vary, so passing a mmc block device to specify the location of the rootfs is not a reliable approach. Instead, use the root=PARTUUID=<uuid> mechanism, where the uuid is found by U-Boot. Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
10 lines
248 B
Batchfile
10 lines
248 B
Batchfile
setenv fdt_high ffffffff
|
|
|
|
part uuid mmc 0:2 uuid
|
|
setenv bootargs console=ttyS0,115200 root=PARTUUID=${uuid} rootwait
|
|
|
|
fatload mmc 0 $kernel_addr_r zImage
|
|
fatload mmc 0 $fdt_addr_r sun8i-h2-plus-orangepi-zero.dtb
|
|
|
|
bootz $kernel_addr_r - $fdt_addr_r
|