38d04e6b13
GPT provides partition labels, which can be used to tell the kernel to find the rootfs based on it (root=PARTLABEL=rootfs) as a nicer/more extensible solution than the MBR disk signature / PARTUUID. When using GPT, the name of the partition in genimage.cfg is used as the label for that partition. The default GPT partition table location unfortunately conflicts with the SPL location, so move the 16KB GPT table after it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> [yann.morin.1998@free.fr: add the comment about 'rootfs'] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
9 lines
235 B
Batchfile
9 lines
235 B
Batchfile
setenv fdt_high ffffffff
|
|
|
|
setenv bootargs console=ttyS0,115200 earlyprintk root=PARTLABEL=rootfs rootwait
|
|
|
|
fatload mmc 0 $kernel_addr_r zImage
|
|
fatload mmc 0 $fdt_addr_r sun8i-h2-plus-orangepi-r1.dtb
|
|
|
|
bootz $kernel_addr_r - $fdt_addr_r
|