From: Grzegorz Sterniczuk Date: Sun, 13 Jul 2025 15:22:33 +0000 (+0200) Subject: rockchip: fix eMMC corruption on NanoPC-T6 with A3A444 chips X-Git-Tag: v24.10.3~40 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=c77f2b442e32b1f6bc3194143585efc968833e0c;p=openwrt%2Fopenwrt.git 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 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 Link: https://github.com/openwrt/openwrt/pull/19926 Signed-off-by: Hauke Mehrtens --- 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;