summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrzegorz Sterniczuk2025-07-13 15:22:33 +0000
committerHauke Mehrtens2025-09-01 21:23:23 +0000
commitc77f2b442e32b1f6bc3194143585efc968833e0c (patch)
treeff8da58a152a88aa88ca661841f827e131a1177b
parent2a2f1573a761a2f80e5d3af37485aa07f3ca5225 (diff)
downloadopenwrt-c77f2b442e32b1f6bc3194143585efc968833e0c.tar.gz
rockchip: fix eMMC corruption on NanoPC-T6 with A3A444 chips
Some NanoPC-T6 boards with A3A444 eMMC chips experience I/O errors and corruption when using HS400 mode. Downgrade to HS200 mode to ensure stable operation. Fixes: #18844 Signed-off-by: Grzegorz Sterniczuk <grzegorz@sternicz.uk> Link: https://github.com/openwrt/openwrt/pull/19398 [Add patch header] (cherry picked from commit c4586ceae85f7f8eefa08c71d0ef67bb07b5e0cc) [Merge fixes into patch 121] Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/19926 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/rockchip/patches-6.6/121-arm64-dts-rockchip-lower-mmc-speed-for-nanopc-t6.patch12
1 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/rockchip/patches-6.6/121-arm64-dts-rockchip-lower-mmc-speed-for-nanopc-t6.patch b/target/linux/rockchip/patches-6.6/121-arm64-dts-rockchip-lower-mmc-speed-for-nanopc-t6.patch
index 1b76fac103..901fcf2bc0 100644
--- a/target/linux/rockchip/patches-6.6/121-arm64-dts-rockchip-lower-mmc-speed-for-nanopc-t6.patch
+++ b/target/linux/rockchip/patches-6.6/121-arm64-dts-rockchip-lower-mmc-speed-for-nanopc-t6.patch
@@ -1,6 +1,16 @@
--- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi
-@@ -634,7 +634,7 @@
+@@ -621,8 +621,7 @@
+ no-sd;
+ non-removable;
+ max-frequency = <200000000>;
+- mmc-hs400-1_8v;
+- mmc-hs400-enhanced-strobe;
++ mmc-hs200-1_8v;
+ status = "okay";
+ };
+
+@@ -634,7 +633,7 @@
disable-wp;
no-mmc;
no-sdio;