![Sergey Matyukevich](/assets/img/avatar_default.png)
Patch that pins mmc indexes was not accepted to mainline kernel. Drop that patch and switch to GPT to use partition labels. For GPT the name of the partition in genimage.cfg is used as the label for that partition. Note that the default GPT partition table location conflicts with the SPL location, so move GPT table after bootloaders. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
7 lines
212 B
Batchfile
7 lines
212 B
Batchfile
setenv bootargs console=ttyS0,115200 earlyprintk root=PARTLABEL=rootfs rootwait
|
|
|
|
fatload mmc 0 $kernel_addr_r Image
|
|
fatload mmc 0 $fdt_addr_r sun50i-h5-orangepi-zero-plus2.dtb
|
|
|
|
booti $kernel_addr_r - $fdt_addr_r
|