diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile index 59aa4f0277..1d920507c7 100644 --- a/package/boot/uboot-sunxi/Makefile +++ b/package/boot/uboot-sunxi/Makefile @@ -204,6 +204,12 @@ define U-Boot/pine64_plus UENV:=a64 endef +define U-Boot/Sinovoip_BPI_M2_Plus + BUILD_SUBTARGET:=cortexa7 + NAME:=Bananapi M2 Plus + BUILD_DEVICES:=sun8i-h3-bananapi-m2-plus +endef + define U-Boot/sopine_baseboard BUILD_SUBTARGET:=cortexa53 NAME:=Sopine Baseboard @@ -260,6 +266,7 @@ UBOOT_TARGETS := \ orangepi_pc2 \ pangolin \ pine64_plus \ + Sinovoip_BPI_M2_Plus \ sopine_baseboard \ orangepi_zero_plus diff --git a/target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac43430a0-sdio.txt b/target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac43430a0-sdio.txt new file mode 120000 index 0000000000..2ed6689828 --- /dev/null +++ b/target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac43430a0-sdio.txt @@ -0,0 +1 @@ +brcmfmac43430-sdio.txt \ No newline at end of file diff --git a/target/linux/sunxi/image/cortex-a7.mk b/target/linux/sunxi/image/cortex-a7.mk index 969864bb76..58c3b6fc40 100644 --- a/target/linux/sunxi/image/cortex-a7.mk +++ b/target/linux/sunxi/image/cortex-a7.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2013-2016 OpenWrt.org +# Copyright (C) 2013-2019 OpenWrt.org # Copyright (C) 2016 Yousong Zhou # # This is free software, licensed under the GNU General Public License v2. @@ -127,6 +127,16 @@ endef TARGET_DEVICES += sun8i-h2-plus-orangepi-r1 +define Device/sun8i-h3-bananapi-m2-plus + DEVICE_TITLE:=Sinovoip Banana Pi M2 Plus + DEVICE_PACKAGES:=kmod-rtc-sunxi \ + kmod-leds-gpio kmod-ledtrig-heartbeat \ + kmod-brcmfmac brcmfmac-firmware-43430a0-sdio wpad-basic + SUPPORTED_DEVICES:=sinovoip,bananapi-m2-plus + SUNXI_DTS:=sun8i-h3-bananapi-m2-plus +endef + +TARGET_DEVICES += sun8i-h3-bananapi-m2-plus define Device/sun8i-h3-nanopi-m1-plus DEVICE_TITLE:=FriendlyArm NanoPi M1 Plus