diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile index 7773e340c1..ce5edfc1b6 100644 --- a/package/boot/uboot-sunxi/Makefile +++ b/package/boot/uboot-sunxi/Makefile @@ -207,6 +207,14 @@ define U-Boot/orangepi_zero_plus UENV:=a64 endef +define U-Boot/orangepi_pc2 + BUILD_SUBTARGET:=cortexa53 + NAME:=Xunlong Orange Pi PC2 + BUILD_DEVICES:=sun50i-h5-orangepi-pc2 + DEPENDS:=+PACKAGE_u-boot-orangepi_pc2:arm-trusted-firmware-sunxi + UENV:=a64 +endef + UBOOT_TARGETS := \ A10-OLinuXino-Lime \ A13-OLinuXino \ @@ -233,6 +241,7 @@ UBOOT_TARGETS := \ orangepi_pc \ orangepi_plus \ orangepi_2 \ + orangepi_pc2 \ pangolin \ pine64_plus \ sopine_baseboard \ diff --git a/target/linux/sunxi/image/cortex-a53.mk b/target/linux/sunxi/image/cortex-a53.mk index 344071b94d..e40f35cb32 100644 --- a/target/linux/sunxi/image/cortex-a53.mk +++ b/target/linux/sunxi/image/cortex-a53.mk @@ -48,4 +48,14 @@ endef TARGET_DEVICES += sun50i-h5-orangepi-zero-plus +define Device/sun50i-h5-orangepi-pc2 + DEVICE_TITLE:=Xunlong Orange Pi PC2 + SUPPORTED_DEVICES:=xunlong,orangepi-pc2 + SUNXI_DTS:=allwinner/sun50i-h5-orangepi-pc2 + KERNEL_NAME := Image + KERNEL := kernel-bin +endef + +TARGET_DEVICES += sun50i-h5-orangepi-pc2 + endif