[openwrt/openwrt] sunxi: add support for Beelink X2

LEDE Commits lede-commits at lists.infradead.org
Thu May 29 13:58:26 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/668704f781f09b0060e21f5bcd6d480cda98fc9e

commit 668704f781f09b0060e21f5bcd6d480cda98fc9e
Author: Kyle Hendry <kylehendrydev at gmail.com>
AuthorDate: Sun May 4 17:22:22 2025 -0700

    sunxi: add support for Beelink X2
    
    Specifications:
    - SoC: Allwinner H3 Quad Cortex-A7 1.2GHz
    - Flash: 8GB eMMC
    - RAM: 1GB DDR3
    - Ethernet: 1x100M
    - Wifi: RTL8189FTV or AP6181
    - 1x USB-A Host
    - 1x USB-A Host/Device
    - 2x Button
    - 2x LED
    - HDMI, SPDIF, IR
    
    Install by following standard SD card flashing instructions.
    Image can also be flashed to eMMC.
    
    Signed-off-by: Kyle Hendry <kylehendrydev at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/18732
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/boot/uboot-sunxi/Makefile    | 7 +++++++
 target/linux/sunxi/image/cortexa7.mk | 9 +++++++++
 2 files changed, 16 insertions(+)

diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile
index 5531de2794..49a7815005 100644
--- a/package/boot/uboot-sunxi/Makefile
+++ b/package/boot/uboot-sunxi/Makefile
@@ -92,6 +92,12 @@ define U-Boot/Bananapro
   BUILD_DEVICES:=lemaker_bananapro
 endef
 
+define U-Boot/beelink_x2
+  BUILD_SUBTARGET:=cortexa7
+  NAME:=Beelink X2 (H3)
+  BUILD_DEVICES:=roofull_beelink-x2
+endef
+
 define U-Boot/Cubieboard
   BUILD_SUBTARGET:=cortexa8
   NAME:=Cubieboard
@@ -388,6 +394,7 @@ UBOOT_TARGETS := \
 	bananapi_p2_zero \
 	Bananapi_M2_Ultra \
 	Bananapro \
+	beelink_x2 \
 	Cubieboard \
 	Cubieboard2 \
 	Cubietruck \
diff --git a/target/linux/sunxi/image/cortexa7.mk b/target/linux/sunxi/image/cortexa7.mk
index 1637cd5d20..baecf4539c 100644
--- a/target/linux/sunxi/image/cortexa7.mk
+++ b/target/linux/sunxi/image/cortexa7.mk
@@ -186,6 +186,15 @@ define Device/olimex_a20-olinuxino-micro
 endef
 TARGET_DEVICES += olimex_a20-olinuxino-micro
 
+define Device/roofull_beelink-x2
+  DEVICE_VENDOR := Roofull
+  DEVICE_MODEL := Beelink-X2
+  DEVICE_PACKAGES:=kmod-leds-gpio kmod-gpio-button-hotplug \
+	kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls
+  SOC := sun8i-h3
+endef
+TARGET_DEVICES += roofull_beelink-x2
+
 define Device/sinovoip_bananapi-m2-plus
   DEVICE_VENDOR := Sinovoip
   DEVICE_MODEL := Banana Pi M2+




More information about the lede-commits mailing list