openwrt/package/boot/uboot-sunxi
Jan-Niklas Burfeind bf06a7c865 uboot-sunxi: use UUID of bootdev and bootpart
Several sunxi devices come with multiple mmc devices. On such devices,
the mmc device order is unpredictable, so using /dev/mmcblk0p2 as root
device doesn't always work, which results in unbootable devices.

For the Banana Pi BPI-R3 in the mediatek target, this has been solved by
defining aliases for the mmc devices in the DTS. Ideally we would do the
same here, but for sunxi-a64 we already use UUID probing, so let's start
with that (5f2ff607e2 ("uboot-sunxi: a64: allow booting directly from
eMMC")).

Since we're building and including u-boot in each supported device
image, and this method has been proven to work fine for a64, let's just
change the default u-boot env file to do the same.

Fixes: #10080
Fixes: e6d9f6fdff ("sunxi: add support for FriendlyARM NanoPi R1")
Co-authored-by: Karl Palsson <karlp@etactica.com>
Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
[use UUID in default u-boot env, rewrite commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-12-22 13:33:47 +02:00
..
patches sunxi: remove frequency for NanoPi R1 2022-12-22 00:05:29 +01:00
Makefile sunxi: fix board_name for MarsBoard A10 2022-12-17 20:55:47 +01:00
uEnv-a64.txt uboot-sunxi: a64: allow booting directly from eMMC 2020-03-28 13:03:02 +01:00
uEnv-default.txt uboot-sunxi: use UUID of bootdev and bootpart 2022-12-22 13:33:47 +02:00
uEnv-h6.txt sunxi: add support for H6 boards and OrangePiOnePlus 2021-04-11 23:14:55 +02:00
uEnv-pangolin.txt package: uboot-sunxi: various changes - bump to 2016.03 - add bugfixes related to 2016.03 update - sync DTS files with mainline - add support for non-standard uEnv.txt - add initial support for Theobroma A31-yQ7 devboard 2016-03-29 11:42:14 +00:00