mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
55cdcdaad3
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>
29 lines
834 B
Text
29 lines
834 B
Text
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_USB0_VBUS_PIN="PC17"
|
|
CONFIG_USB0_VBUS_DET="PH5"
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime2"
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"
|
|
CONFIG_SPL=y
|
|
# CONFIG_CMD_IMLS is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
# CONFIG_CMD_FPGA is not set
|
|
CONFIG_DFU_RAM=y
|
|
CONFIG_RTL8211X_PHY_FORCE_MASTER=y
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_AXP_ALDO3_VOLT=2800
|
|
CONFIG_AXP_ALDO4_VOLT=2800
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_G_DNL_MANUFACTURER="Allwinner Technology"
|
|
CONFIG_G_DNL_VENDOR_NUM=0x1f3a
|
|
CONFIG_G_DNL_PRODUCT_NUM=0x1010
|