[openwrt/openwrt] sunxi: add build for sopine
LEDE Commits
lede-commits at lists.infradead.org
Fri Mar 23 15:55:47 PDT 2018
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/8e1065d681daff321f715ce5c6c172c12036bd6f
commit 8e1065d681daff321f715ce5c6c172c12036bd6f
Author: Fan Fan <fkpwolf at gmail.com>
AuthorDate: Mon Mar 19 17:52:46 2018 +0800
sunxi: add build for sopine
This will generate image for Pine64 Sopine board.
Signed-off-by: Fan Fan <fkpwolf at gmail.com>
---
package/boot/uboot-sunxi/Makefile | 10 ++++++++++
target/linux/sunxi/image/cortex-a53.mk | 10 ++++++++++
2 files changed, 20 insertions(+)
diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile
index 90cf102..5257a41 100644
--- a/package/boot/uboot-sunxi/Makefile
+++ b/package/boot/uboot-sunxi/Makefile
@@ -190,6 +190,15 @@ define U-Boot/pine64_plus
UENV:=a64
endef
+define U-Boot/sopine_baseboard
+ BUILD_SUBTARGET:=cortexa53
+ NAME:=Sopine Baseboard
+ BUILD_DEVICES:=sun50i-a64-sopine-baseboard
+ DEPENDS:=+PACKAGE_u-boot-sopine_baseboard:arm-trusted-firmware-sunxi
+ UENV:=a64
+endef
+
+
define U-Boot/orangepi_zero_plus
BUILD_SUBTARGET:=cortexa53
NAME:=Xunlong Orange Pi Zero Plus
@@ -226,6 +235,7 @@ UBOOT_TARGETS := \
orangepi_2 \
pangolin \
pine64_plus \
+ sopine_baseboard \
orangepi_zero_plus
UBOOT_CONFIGURE_VARS += USE_PRIVATE_LIBGCC=yes
diff --git a/target/linux/sunxi/image/cortex-a53.mk b/target/linux/sunxi/image/cortex-a53.mk
index cd103d4..344071b 100644
--- a/target/linux/sunxi/image/cortex-a53.mk
+++ b/target/linux/sunxi/image/cortex-a53.mk
@@ -27,6 +27,16 @@ endef
TARGET_DEVICES += sun50i-a64-pine64-plus
+define Device/sun50i-a64-sopine-baseboard
+ DEVICE_TITLE:=Pine64 Sopine
+ SUPPORTED_DEVICES:=pine64,sopine-baseboard
+ SUNXI_DTS:=allwinner/sun50i-a64-sopine-baseboard
+ KERNEL_NAME := Image
+ KERNEL := kernel-bin
+endef
+
+TARGET_DEVICES += sun50i-a64-sopine-baseboard
+
define Device/sun50i-h5-orangepi-zero-plus
DEVICE_TITLE:=Xunlong Orange Pi Zero Plus
More information about the lede-commits
mailing list