]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: reduce Orange Pi Zero DRAM clock speed
authorClément Bœsch <u@pkh.me>
Sun, 23 Jul 2017 20:14:23 +0000 (22:14 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 11 Aug 2017 10:13:44 +0000 (15:43 +0530)
Using `fel-boot-lima-memtester-on-orange-pi-pc 672` on an Orange Pi
without heatsink results in the following error after a few minutes:
  WRITE FAILURE: 0x00200000 != 0xffdfffff at offset 0x0137f47c (bitflip).

Also, the constructor repository (github/orangepi-xunlong) seems to
contain that 624 Mhz clock speed in its u-boot fork. It may be that 672
Mhz is the advertized overclocked speed.

According to http://linux-sunxi.org/Orange_Pi_PC#DRAM_clock_speed_limit
it may be worth decreasing that value with other Orange Pi boards.

See also e7d6aa0b74b7f4d08ee68da8a586c76c761348e2.

Signed-off-by: Clément Bœsch <u@pkh.me>
[Add s-o-b line]
Signed-off-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
configs/orangepi_zero_defconfig

index c650ce87d9d873413a1467d88ad0c9caab1844b9..16a3929aa50e7872566ffd8882fc2b77386342e0 100644 (file)
@@ -2,7 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_SUNXI=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_MACH_SUN8I_H3=y
-CONFIG_DRAM_CLK=672
+CONFIG_DRAM_CLK=624
 CONFIG_DRAM_ZQ=3881979
 CONFIG_DRAM_ODT_EN=y
 # CONFIG_VIDEO_DE2 is not set