* [PATCH] sunxi: orangepi_zero: reduce DRAM clock to 408 MHz
@ 2026-09-05 21:17 Danil Bezborodov
0 siblings, 0 replies; only message in thread
From: Danil Bezborodov @ 2026-09-05 21:17 UTC (permalink / raw)
To: u-boot; +Cc: Andre Przywara, Icenowy Zheng, Tom Rini, Danil Bezborodov
The Orange Pi Zero uses a single DDR3 chip on a 16-bit bus, unlike
the Orange Pi PC family (two chips, 32-bit) whose values this
defconfig inherited. The 624 MHz clock was never validated on this
board: commit 8792a64d8770 ("sunxi: reduce Orange Pi Zero DRAM clock
speed") lowered 672 to 624 based on lima-memtester results from an
Orange Pi PC and the PC's value in the vendor U-Boot fork.
The vendor BSP configuration for this exact board
(orangepi-xunlong/external, sys_config_orangepi_zero.fex) sets
dram_clk = 408, and Armbian has shipped a 624->408 patch for this
board - and only this board among H3 Orange Pis - since 2017.
On a 512 MB H3 variant of the board, 624 MHz produces reproducible
memory corruption caught by the kernel's early_memtest; 408 MHz
matches the vendor and Armbian values.
Signed-off-by: Danil Bezborodov <xanmilanto@gmail.com>
---
configs/orangepi_zero_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
index 49a1f4d0..09ce3a95 100644
--- a/configs/orangepi_zero_defconfig
+++ b/configs/orangepi_zero_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-zero"
-CONFIG_DRAM_CLK=624
+CONFIG_DRAM_CLK=408
CONFIG_SPL=y
CONFIG_MACH_SUN8I_H3=y
# CONFIG_VIDEO_DE2 is not set
--
2.50.1 (Apple Git-155)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-06 7:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 21:17 [PATCH] sunxi: orangepi_zero: reduce DRAM clock to 408 MHz Danil Bezborodov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.