850a6ae1ed
The mmc probing order has changed since commit 21b2cec61c04bd1 (mmc: Set
PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4), so get rid of
the hardcoded root=/dev/mmcblk1p2. The old vendor U-Boot unfortunately does
not have GPT support, so stick to MBR and use the legacy
root=PARTUUID=<disksignature>-<partition> format and set a fixed disk
signature, similar to how it was done for orangepi-r1 in commit 34cce93adb
(configs/orangepi_r1_defconfig: bump kernel to 5.10.10, u-boot to 2020.10).
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
12 lines
330 B
Plaintext
12 lines
330 B
Plaintext
setenv bootargs console=ttyAML0,115200 earlyprintk root=PARTUUID=feedc0de-02 rootwait
|
|
|
|
fatload mmc 0:1 0x01080000 uImage
|
|
|
|
if itest.s "${aml_dt}" == "gxl_p212_2g"; then
|
|
fatload mmc 0:1 $dtb_mem_addr meson-gxl-s905x-nexbox-a95x.dtb
|
|
else
|
|
fatload mmc 0:1 $dtb_mem_addr meson-gxbb-nexbox-a95x.dtb
|
|
fi
|
|
|
|
bootm 0x1080000 - $dtb_mem_addr
|