On Sat, Jun 14, 2014 at 11:03:59AM -0700, Vagrant Cascadian wrote: > If someone wants ahci support included, please backport the patch series to > the Debian package and the submit patches. My attempts so far have taken > longer > than I'd like, and even if I got the patches to apply, I don't have the > hardware to verify that they work correctly.
Perhaps against my better judgement again, I spent a little more time on it, and have packages available to test: http://people.debian.org/~vagrant/u-boot/ http://people.debian.org/~vagrant/u-boot/u-boot_2014.04-3~20140614~1_armhf.deb The patches were taken from: git://gitorious.org/ijc/u-boot.git branch: sunxi-gpio-ahci-and-cubieboard2-v2 I took all patches from v2014.07-rc2 to the HEAD of that branch, and other than boards.cfg, seemed to apply and build fine. A smaller patchset would be preferable, but at least most of the changes are sunxi-specific. They were applied on top of the Cubietruck patches already applied from upstream. b/arch/arm/cpu/armv7/sunxi/board.c | 13 b/arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 3 b/arch/arm/cpu/armv7/sunxi/u-boot-spl.lds | 1 b/arch/arm/include/asm/arch-sunxi/gpio.h | 2 b/arch/arm/include/asm/arch-sunxi/i2c.h | 15 b/arch/arm/include/asm/arch-sunxi/timer.h | 5 b/board/sunxi/board.c | 7 b/board/sunxi/gmac.c | 11 b/common/board_r.c | 6 b/drivers/block/ahci.c | 2 b/drivers/gpio/Makefile | 1 b/drivers/gpio/sunxi_gpio.c | 102 +++ b/drivers/i2c/Makefile | 1 b/drivers/i2c/mvtwsi.c | 18 b/drivers/mmc/sunxi_mmc.c | 140 ----- b/drivers/net/Makefile | 2 b/drivers/net/sunxi_emac.c | 521 ++++++++++++++++++ b/include/configs/sunxi-common.h | 14 b/include/netdev.h | 2 b/tools/mksunxiboot.c | 10 drivers/net/sunxi_wemac.c | 525 ------------------- u-boot/arch/arm/cpu/armv7/sunxi/Makefile | 4 u-boot/arch/arm/cpu/armv7/sunxi/board.c | 20 u-boot/arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 4 u-boot/arch/arm/cpu/armv7/sunxi/cpu_info.c | 15 u-boot/arch/arm/cpu/armv7/sunxi/dram.c | 102 +++ u-boot/arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 11 u-boot/board/sunxi/Makefile | 5 u-boot/board/sunxi/ahci.c | 84 +++ u-boot/board/sunxi/board.c | 32 + u-boot/board/sunxi/dram_a13_oli_micro.c | 32 + u-boot/board/sunxi/dram_cubieboard.c | 31 + u-boot/board/sunxi/dram_cubieboard2.c | 31 + u-boot/board/sunxi/dram_r7dongle.c | 31 + u-boot/boards.cfg | 25 u-boot/drivers/block/ahci.c | 16 u-boot/drivers/power/Makefile | 2 u-boot/drivers/power/axp152.c | 112 ++++ u-boot/drivers/power/axp209.c | 180 ++++++ u-boot/include/ahci.h | 4 u-boot/include/axp152.h | 11 u-boot/include/axp209.h | 15 u-boot/include/configs/sun4i.h | 24 u-boot/include/configs/sun5i.h | 24 u-boot/include/configs/sun7i.h | 1 u-boot/include/configs/sunxi-common.h | 24 46 files changed, 1549 insertions(+), 692 deletions(-) Please confirm if it works for you, or have suggestions or an alternate patchset to apply. live well, vagrant
signature.asc
Description: Digital signature