aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2019-01-04 13:11:26 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-01-13 17:35:14 +0100
commit7a53fb40ca2f79cc3f2a0b7ab4d5e4d71d34119b (patch)
tree72449877cb35b5760e5319551d6b8ef0b6ab74b4 /package/boot/uboot-sunxi/patches
parentd6058310686054d469094f7422de2d245e1dfcdc (diff)
downloadupstream-7a53fb40ca2f79cc3f2a0b7ab4d5e4d71d34119b.tar.gz
upstream-7a53fb40ca2f79cc3f2a0b7ab4d5e4d71d34119b.tar.bz2
upstream-7a53fb40ca2f79cc3f2a0b7ab4d5e4d71d34119b.zip
uboot-sunxi: disable AXP209 on Olimex A13 Olinuxino
Disable the PMIC on Olimex A13 Olinuxino, as the SPL cannot set the core voltage correctly, which causes the board to freeze later at kernel if CPU throttling is enabled (see below). This will almost certainly kill the VGA output (which requires LDO3 to be set), but this is still a better option than to disable CPU throttling for all Cortex-A8 based devices. [ 2.485632] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 384000 KHz [ 2.525698] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 432000 KHz Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Diffstat (limited to 'package/boot/uboot-sunxi/patches')
-rw-r--r--package/boot/uboot-sunxi/patches/230-disable-axp209-on-a13-olinuxino.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/230-disable-axp209-on-a13-olinuxino.diff b/package/boot/uboot-sunxi/patches/230-disable-axp209-on-a13-olinuxino.diff
new file mode 100644
index 0000000000..9ce6adeb35
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/230-disable-axp209-on-a13-olinuxino.diff
@@ -0,0 +1,19 @@
+--- a/configs/A13-OLinuXino_defconfig
++++ b/configs/A13-OLinuXino_defconfig
+@@ -7,7 +7,6 @@ CONFIG_DRAM_EMR1=0
+ CONFIG_MMC0_CD_PIN="PG0"
+ CONFIG_USB0_VBUS_DET="PG1"
+ CONFIG_USB1_VBUS_PIN="PG11"
+-CONFIG_AXP_GPIO=y
+ # CONFIG_VIDEO_HDMI is not set
+ CONFIG_VIDEO_VGA_VIA_LCD=y
+ CONFIG_VIDEO_VGA_VIA_LCD_FORCE_SYNC_ACTIVE_HIGH=y
+@@ -24,7 +23,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
+ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino"
+ CONFIG_DFU_RAM=y
+ CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
+-CONFIG_AXP_ALDO3_VOLT=3300
++CONFIG_SUNXI_NO_PMIC=y
+ CONFIG_CONS_INDEX=2
+ CONFIG_USB_EHCI_HCD=y
+ CONFIG_USB_MUSB_GADGET=y