From: Fan Fan Date: Mon, 19 Mar 2018 09:52:46 +0000 (+0800) Subject: sunxi: add build for sopine X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8e1065d681daff321f715ce5c6c172c12036bd6f;p=openwrt%2Fstaging%2Fnbd.git sunxi: add build for sopine This will generate image for Pine64 Sopine board. Signed-off-by: Fan Fan --- diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile index 90cf102707..5257a41ad2 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 cd103d47d0..344071b94d 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