mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 15:38:51 +09:00
![Josh Marshall](/assets/img/avatar_default.png)
We have a number of OlinuXino Lime2 boards (both NAND and eMMC versions) which were experiencing sporadic hangs. After testing with some heavy benchmarking and help from the Armbian forum, it was pinned down as the DRAM settings for the board. The default is 480MHz, but this is unstable, and even the build instructions from the vendor Olimex themselves say to set the DRAM clock to 384. See line 96 at: https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/A20/A20-build-3.4.103-release-2/BUILD_DESCRIPTION_A20_Olimex_kernel_3.4.103%2B_Jessie_rel_2.txt Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
18 lines
487 B
Plaintext
18 lines
487 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_SPL_I2C_SUPPORT=y
|
|
CONFIG_MACH_SUN7I=y
|
|
CONFIG_DRAM_CLK=384
|
|
CONFIG_MMC0_CD_PIN="PH1"
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime"
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPC(3)"
|
|
CONFIG_SPL=y
|
|
# CONFIG_CMD_IMLS is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_FPGA is not set
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_AXP_ALDO3_VOLT=2800
|
|
CONFIG_AXP_ALDO4_VOLT=2800
|
|
CONFIG_USB_EHCI_HCD=y
|