summaryrefslogtreecommitdiff
path: root/package/boot
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2015-01-20 22:50:52 +0000
committerZoltan Herpai <wigyori@uid0.hu>2015-01-20 22:50:52 +0000
commitbe86eab8e64b3ef3b83c24d245adf68f02697512 (patch)
treefc88fd94dd9001660cfac4148201ba9373dc2801 /package/boot
parent9b103cc1f3bfb7f23cb22f9278472016c8b1e3b2 (diff)
downloadmtk-20170518-be86eab8e64b3ef3b83c24d245adf68f02697512.zip
mtk-20170518-be86eab8e64b3ef3b83c24d245adf68f02697512.tar.gz
mtk-20170518-be86eab8e64b3ef3b83c24d245adf68f02697512.tar.bz2
packages: uboot-sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 44067
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-sunxi/Makefile5
-rw-r--r--package/boot/uboot-sunxi/patches/006-add-lamobo-r1.patch24
2 files changed, 29 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile
index e4380ac..14ba922 100644
--- a/package/boot/uboot-sunxi/Makefile
+++ b/package/boot/uboot-sunxi/Makefile
@@ -81,6 +81,10 @@ define uboot/Linksprite_pcDuino3
TITLE:=U-Boot for Linksprite pcDuino3
endef
+define uboot/Lamobo_R1
+ TITLE:=U-Boot for Lamobo R1
+endef
+
UBOOTS:= \
A10-OLinuXino-Lime \
A13-OLinuXino \
@@ -95,6 +99,7 @@ UBOOTS:= \
OLIMEX_A13_SOM \
Linksprite_pcDuino \
Linksprite_pcDuino3 \
+ Lamobo_R1 \
define Package/uboot/template
define Package/uboot-sunxi-$(1)
diff --git a/package/boot/uboot-sunxi/patches/006-add-lamobo-r1.patch b/package/boot/uboot-sunxi/patches/006-add-lamobo-r1.patch
new file mode 100644
index 0000000..caa04cb
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/006-add-lamobo-r1.patch
@@ -0,0 +1,24 @@
+Index: u-boot-2015.01/board/sunxi/Makefile
+===================================================================
+--- u-boot-2015.01.orig/board/sunxi/Makefile
++++ u-boot-2015.01/board/sunxi/Makefile
+@@ -23,6 +23,7 @@ obj-$(CONFIG_TARGET_AUXTEK_T004) += dram
+ obj-$(CONFIG_TARGET_BA10_TV_BOX) += dram_sun4i_384_1024_iow8.o
+ obj-$(CONFIG_TARGET_BANANAPI) += dram_bananapi.o
+ obj-$(CONFIG_TARGET_BANANAPRO) += dram_bananapi.o
++obj-$(CONFIG_TARGET_LAMOBO_R1) += dram_bananapi.o
+ obj-$(CONFIG_TARGET_CUBIEBOARD) += dram_cubieboard.o
+ obj-$(CONFIG_TARGET_CUBIEBOARD2) += dram_cubieboard2.o
+ obj-$(CONFIG_TARGET_CUBIETRUCK) += dram_cubietruck.o
+Index: u-boot-2015.01/configs/Lamobo_R1_defconfig
+===================================================================
+--- /dev/null
++++ u-boot-2015.01/configs/Lamobo_R1_defconfig
+@@ -0,0 +1,7 @@
++CONFIG_SPL=y
++CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,SUNXI_GMAC_TX_DELAY_3,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
++CONFIG_FDTFILE="sun7i-a20-lamobo-r1.dtb"
+++S:CONFIG_ARM=y
+++S:CONFIG_ARCH_SUNXI=y
+++S:CONFIG_MACH_SUN7I=y
+++S:CONFIG_TARGET_LAMOBO_R1=y