From 028050da6978279f337f303eec55bcb45c56423a Mon Sep 17 00:00:00 2001 From: Mikhail Zhilkin Date: Mon, 15 Sep 2025 22:09:32 +0300 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/20059 Signed-off-by: Hauke Mehrtens --- package/boot/uboot-mediatek/Makefile | 4 ++-- target/linux/mediatek/image/filogic.mk | 4 ++-- 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 -- 2.30.2