summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Zhilkin2025-09-15 19:09:32 +0000
committerHauke Mehrtens2025-09-23 21:11:53 +0000
commit028050da6978279f337f303eec55bcb45c56423a (patch)
tree225f9e1194a12dbeca8de328842026bed7ab0370
parent93b208434dd3153ed0bb204a56beec834e4dde51 (diff)
downloadopenwrt-028050da6978279f337f303eec55bcb45c56423a.tar.gz
mediatek: CMCC RAX3000Me: fix stability issues
This commit fixes stability issues on certain RAX3000Me devices. Some devices has DDR3 RAM which don't able to work reliably at 2133 MHz and require special BL2 (1866 MHz RAM freq). Fixes: https://github.com/openwrt/openwrt/issues/20046 Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20059 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/boot/uboot-mediatek/Makefile4
-rw-r--r--target/linux/mediatek/image/filogic.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/package/boot/uboot-mediatek/Makefile b/package/boot/uboot-mediatek/Makefile
index d490f6379d..e4c9733233 100644
--- a/package/boot/uboot-mediatek/Makefile
+++ b/package/boot/uboot-mediatek/Makefile
@@ -252,7 +252,7 @@ define U-Boot/mt7981_cmcc_rax3000m-emmc-ddr3
BL2_BOOTDEV:=emmc
BL2_SOC:=mt7981
BL2_DDRTYPE:=ddr3
- DEPENDS:=+trusted-firmware-a-mt7981-emmc-ddr3
+ DEPENDS:=+trusted-firmware-a-mt7981-emmc-ddr3-1866mhz
endef
define U-Boot/mt7981_cmcc_rax3000m-emmc-ddr4
@@ -276,7 +276,7 @@ define U-Boot/mt7981_cmcc_rax3000m-nand-ddr3
BL2_BOOTDEV:=spim-nand
BL2_SOC:=mt7981
BL2_DDRTYPE:=ddr3
- DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ddr3
+ DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ddr3-1866mhz
endef
define U-Boot/mt7981_cmcc_rax3000m-nand-ddr4
diff --git a/target/linux/mediatek/image/filogic.mk b/target/linux/mediatek/image/filogic.mk
index b326702417..0fc8e2343f 100644
--- a/target/linux/mediatek/image/filogic.mk
+++ b/target/linux/mediatek/image/filogic.mk
@@ -717,11 +717,11 @@ define Device/cmcc_rax3000m
nand-ddr4-bl31-uboot.fip nand-ddr4-preloader.bin
ARTIFACT/emmc-gpt.bin := mt798x-gpt emmc
ARTIFACT/emmc-ddr3-bl31-uboot.fip := mt7981-bl31-uboot cmcc_rax3000m-emmc-ddr3
- ARTIFACT/emmc-ddr3-preloader.bin := mt7981-bl2 emmc-ddr3
+ ARTIFACT/emmc-ddr3-preloader.bin := mt7981-bl2 emmc-ddr3-1866mhz
ARTIFACT/emmc-ddr4-bl31-uboot.fip := mt7981-bl31-uboot cmcc_rax3000m-emmc-ddr4
ARTIFACT/emmc-ddr4-preloader.bin := mt7981-bl2 emmc-ddr4
ARTIFACT/nand-ddr3-bl31-uboot.fip := mt7981-bl31-uboot cmcc_rax3000m-nand-ddr3
- ARTIFACT/nand-ddr3-preloader.bin := mt7981-bl2 spim-nand-ddr3
+ ARTIFACT/nand-ddr3-preloader.bin := mt7981-bl2 spim-nand-ddr3-1866mhz
ARTIFACT/nand-ddr4-bl31-uboot.fip := mt7981-bl31-uboot cmcc_rax3000m-nand-ddr4
ARTIFACT/nand-ddr4-preloader.bin := mt7981-bl2 spim-nand-ddr4
endef