]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: CMCC RAX3000Me: fix stability issues 20059/head
authorMikhail Zhilkin <csharper2005@gmail.com>
Mon, 15 Sep 2025 19:09:32 +0000 (22:09 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 23 Sep 2025 21:11:53 +0000 (23:11 +0200)
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>
package/boot/uboot-mediatek/Makefile
target/linux/mediatek/image/filogic.mk

index d490f6379d3fa866d38bbe7973e261c84a1110a9..e4c97332336544c277ce53452d0ab03be14a5b25 100644 (file)
@@ -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
index b3267024179e142d4906ec081258f669e91e0ceb..0fc8e2343f19f56b94db9fe7776bc6eb90596869 100644 (file)
@@ -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