From: Zoltan HERPAI Date: Fri, 4 Jan 2019 12:11:26 +0000 (+0100) Subject: uboot-sunxi: disable AXP209 on Olimex A13 Olinuxino X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7a53fb40ca2f79cc3f2a0b7ab4d5e4d71d34119b;p=openwrt%2Fstaging%2Fzorun.git 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 --- 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