mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-14 06:38:29 +04:00
uboot-mediatek: wl-wnt100x3: reduce ram speed to 1866 MT/s
The vendor BL2 of the Wavlink WL-WNT100X3 initializes DDR3 at
1866 MT/s:
NOTICE: BL2: v2.7(release):292bca1-dirty
NOTICE: DDR3 1866MHZ
NOTICE: EMI: Using DDR3 settings
while the plain spim-nand-ddr3 BL2 used by the ubootmod variant runs
DDR3 at the default 2133 MT/s, which is above what the vendor
qualified on this board.
Switch the ubootmod BL2 to the existing DDR3 1866 MT/s build, in line
with the vendor firmware.
Tested on WL-WNT100X3: BL2 reports the ddr3-1866 build, the memory
test passes, U-Boot and OpenWrt boot from UBI.
Fixes: d2fabb974c ("mediatek: add support for Wavlink WL-WNT100X3 ubootmod")
Signed-off-by: Fil Dunsky <filipp.dunsky@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/25763
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
1 parent
68a4b32c70
commit
d66966e480
2 files changed
+3
-3
No files matched your search
@@ -815,8 +815,8 @@ define U-Boot/mt7981_wavlink_wl-wnt100x3
|
||||
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_xiaomi_mi-router-ax3000t
|
||||
|
||||
@@ -4070,7 +4070,7 @@ define Device/wavlink_wl-wnt100x3-ubootmod
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7915e kmod-mt7981-firmware \
|
||||
mt7981-wo-firmware kmod-hwmon-pwmfan
|
||||
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 wavlink_wl-wnt100x3
|
||||
endef
|
||||
TARGET_DEVICES += wavlink_wl-wnt100x3-ubootmod
|
||||
|
||||
Reference in new issue
Block a user