From 9fb99834671a89c1ddefb255b5445d67a908c712 Mon Sep 17 00:00:00 2001 From: Andrii Kuiukoff Date: Mon, 13 Apr 2026 20:45:55 +0300 Subject: [PATCH] uboot-mediatek: comfast cf-wr632ax: reduce ram speed to 1866 MT/s Fix instability by reducing RAM speed to 1866 MT/s in line with Winbond W634GU6RB-11 specs. Signed-off-by: Andrii Kuiukoff Link: https://github.com/openwrt/openwrt/pull/22929 Signed-off-by: Robert Marko --- package/boot/uboot-mediatek/Makefile | 4 ++-- target/linux/mediatek/image/filogic.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/boot/uboot-mediatek/Makefile b/package/boot/uboot-mediatek/Makefile index 4d062749a8..e728ea8f7b 100644 --- a/package/boot/uboot-mediatek/Makefile +++ b/package/boot/uboot-mediatek/Makefile @@ -311,8 +311,8 @@ define U-Boot/mt7981_comfast_cf-wr632ax UBOOT_IMAGE:=u-boot.fip BL2_BOOTDEV:=spim-nand BL2_SOC:=mt7981 - BL2_DDRTYPE:=ddr3 - DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ddr3 + BL2_DDRTYPE:=ddr3-1866 + DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ddr3-1866 endef define U-Boot/mt7981_cudy_tr3000-v1 diff --git a/target/linux/mediatek/image/filogic.mk b/target/linux/mediatek/image/filogic.mk index bd23cc09ce..3bb3c66d37 100644 --- a/target/linux/mediatek/image/filogic.mk +++ b/target/linux/mediatek/image/filogic.mk @@ -1026,7 +1026,7 @@ define Device/comfast_cf-wr632ax-ubootmod IMAGE/sysupgrade.itb := append-kernel | \ fit gzip $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb external-static-with-rootfs | append-metadata ARTIFACTS := preloader.bin bl31-uboot.fip - ARTIFACT/preloader.bin := mt7981-bl2 spim-nand-ddr3 + ARTIFACT/preloader.bin := mt7981-bl2 spim-nand-ddr3-1866 ARTIFACT/bl31-uboot.fip := mt7981-bl31-uboot comfast_cf-wr632ax $(call Device/comfast_cf-wr632ax-common) endef