buildroot/board/orangepi/orangepi-pc-plus/boot.cmd
Sergey Matyukevich 81175e5580 board/orangepi-pc-plus: switch to GPT partitions for PARTLABEL support
In new kernels sunxi-mmc driver has been switched to asynchronous probe.
As a result, mmc (SD/eMMC) indexes can be shuffled breaking board boot.
Switch to GPT partitions to use partition labels instead of explicit
mmcblk device names. 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: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-07-13 21:57:15 +02:00

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-h3-orangepi-pc-plus.dtb
bootz $kernel_addr_r - $fdt_addr_r