summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Zink <j.zink@pengutronix.de>2022-09-05 18:36:14 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2022-09-06 16:11:20 +0200
commitddf06060159f9ee8c5db5f19f81a07c0f0902e9d (patch)
tree1548deeb2c07697c6634f62b1e36cbffe8a32753
parent95014f4d8a509abfe29833bdd29a9e3b40990751 (diff)
downloadDistroKit-ddf06060159f9ee8c5db5f19f81a07c0f0902e9d.tar.gz
DistroKit-ddf06060159f9ee8c5db5f19f81a07c0f0902e9d.tar.xz
v8a: rock3a: workaround SDR-UHS1 detection
This commit is a workaround for an issue with the Linux kernel always detecting a SDR-UHS104 capable SD card, which causes the boot to get stuck, because the kernel tries to enter into high-speed mode and then hangs. Signed-off-by: Johannes Zink <j.zink@pengutronix.de> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Link: https://lore.pengutronix.de/20220905163615.2807729-20-m.tretter@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r--configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource b/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
index fe7991d..6a3bb42 100644
--- a/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
+++ b/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
@@ -7,6 +7,7 @@ fi
if [ "$bootsource" = mmc ]; then
detect mmc$bootsource_instance
global.boot.default="mmc$bootsource_instance net"
+ of_property -df mmc0 sd-uhs-sdr104
elif [ "$bootsource" = "spi-nor" ]; then
usbgadget -A '/dev/mmc0(sd)'
global.autoboot=abort