Add Kernel overlay to reduce eMMC frequency for FriendlyElec NanoPC-T6 boards

Some FriendlyElec NanoPC-T6 boards use a A3A444 eMMC chip. Under heavy I/O load when running in HS400 mode, this will often result in I/O errors.

Reducing the eMMC frequency from the default 200000000 Hz to 150000000 Hz improves stability and eliminates the I/O errors.
This commit is contained in:
Kingsley Jarrett 2025-10-11 00:48:41 +01:00 committed by Igor
parent 3058d11c51
commit 1bd88637be
6 changed files with 47 additions and 1 deletions

View File

@ -94,7 +94,8 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-rk3588-uart7-m2.dtbo \
rockchip-rk3588-uart8-m1.dtbo \
rockchip-rk3588-rkvenc-overlay.dtbo \
rockchip-rk3588-nanopi-m6-spi-nor-flash.dtbo
rockchip-rk3588-nanopi-m6-spi-nor-flash.dtbo \
rockchip-rk3588-nanopc-t6-mmc-frequency.dtbo
scr-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-fixup.scr

View File

@ -261,3 +261,13 @@ overlay enables (overclocked) operation at 1.3ghz
1.3Ghz operation appears stable on the two boards I've tested.
The legacy kernel is not supported on the Rock S0
**********************************
Details for NanoPC-T6 overlays (11 Oct 2025):
### rockchip-rk3588-nanopc-t6-mmc-frequency
Some NanoPC-T6 boards use a A3A444 eMMC chip. Under heavy I/O load when running
in HS400 mode, this will often result in I/O errors.
Reducing the eMMC frequency from the default 200000000 Hz to 150000000 Hz improves
stability and eliminates the I/O errors.

View File

@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&sdhci>;
__overlay__ {
status = "okay";
max-frequency = <150000000>;
};
};
};

View File

@ -97,6 +97,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-rk3588-rkvenc-overlay.dtbo \
rockchip-rk3588-nanopi-m6-spi-nor-flash.dtbo \
rockchip-rk3588-nanopi-m6-display-dsi1-yx35.dtbo \
rockchip-rk3588-nanopc-t6-mmc-frequency.dtbo
scr-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-fixup.scr

View File

@ -251,3 +251,13 @@ The legacy kernel is not supported on the Rock S0
Enable pcm5102a analog codec connected to i2s0 bus:
### rk3308-pcm5102a
**********************************
Details for NanoPC-T6 overlays (11 Oct 2025):
### rockchip-rk3588-nanopc-t6-mmc-frequency
Some NanoPC-T6 boards use a A3A444 eMMC chip. Under heavy I/O load when running
in HS400 mode, this will often result in I/O errors.
Reducing the eMMC frequency from the default 200000000 Hz to 150000000 Hz improves
stability and eliminates the I/O errors.

View File

@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&sdhci>;
__overlay__ {
status = "okay";
max-frequency = <150000000>;
};
};
};