From 31be83fd9eba50d1fa3653a71f76dfcec79d8e0c Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 18 Nov 2016 12:06:46 +0100 Subject: [PATCH] Fixed stuck at axp20_ldo2 for Cubieboard 1 - workaround not needed any more. https://forum.armbian.com/index.php/topic/729-olimex-lime-a20-wont-boot-armbian/ --- config/sources/sun4i.conf | 5 ----- patch/u-boot/u-boot-default/cubieboard1.patch | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/config/sources/sun4i.conf b/config/sources/sun4i.conf index 29c50b444e..b8f408a55c 100644 --- a/config/sources/sun4i.conf +++ b/config/sources/sun4i.conf @@ -24,11 +24,6 @@ esac CPUMIN=240000 CPUMAX=912000 -# last known working -if [[ $BOARD == cubieboard ]]; then - BOOTBRANCH="tag:v2015.10" -fi - family_tweaks() { # TODO: replace with udev rule diff --git a/patch/u-boot/u-boot-default/cubieboard1.patch b/patch/u-boot/u-boot-default/cubieboard1.patch index 07f32b54b8..21961b82af 100644 --- a/patch/u-boot/u-boot-default/cubieboard1.patch +++ b/patch/u-boot/u-boot-default/cubieboard1.patch @@ -4,9 +4,11 @@ new mode 100755 index c884115..a45fbb0 --- a/configs/Cubieboard_defconfig +++ b/configs/Cubieboard_defconfig -@@ -10,4 +10,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPB(8)" +@@ -10,4 +10,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPB(8)" # CONFIG_CMD_IMLS is not set # CONFIG_CMD_FLASH is not set # CONFIG_CMD_FPGA is not set +CONFIG_CMD_GPIO=y ++CONFIG_AXP_ALDO3_VOLT=2800 ++CONFIG_AXP_ALDO4_VOLT=2800 CONFIG_USB_EHCI_HCD=y