mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
7a58972680
The current uboot default config for the A13 SOM erroneously enables support for the AXP209 power regulator IC which is not present on the board. This superfluous support module sets an incorrect initial clock frequency and confuses the kernel, ultimately leading to a boot failure later on. Properly disable the PMIC support and enable the EHCI support by translating the deprecated SYS_EXTRA_OPTIONS values into proper SUNXI_NO_PMIC and USB_EHCI_HCD symbols respectively. Also rename 002-add-olimex-a13-som.diff to 002-add-olimex-a13-som.patch and refresh the remaining patches of the series while we're at it. Reported-by: Mario Fischer <mario-fischer@web.de> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
22 lines
503 B
Diff
22 lines
503 B
Diff
--- /dev/null
|
|
+++ b/configs/OLIMEX_A13_SOM_defconfig
|
|
@@ -0,0 +1,18 @@
|
|
+CONFIG_SPL=y
|
|
+CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
|
|
+CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino"
|
|
+CONFIG_ARM=y
|
|
+CONFIG_ARCH_SUNXI=y
|
|
+CONFIG_MACH_SUN5I=y
|
|
+CONFIG_DRAM_CLK=408
|
|
+CONFIG_DRAM_ZQ=123
|
|
+CONFIG_DRAM_EMR1=0
|
|
+# CONFIG_CMD_IMLS is not set
|
|
+# CONFIG_CMD_FLASH is not set
|
|
+# CONFIG_CMD_FPGA is not set
|
|
+CONFIG_DM_SERIAL=y
|
|
+CONFIG_USB=y
|
|
+CONFIG_DM_USB=y
|
|
+CONFIG_SYS_NS16550=y
|
|
+CONFIG_SUNXI_NO_PMIC=y
|
|
+CONFIG_USB_EHCI_HCD=y
|