From: Kyle Hendry Date: Mon, 5 May 2025 00:22:22 +0000 (-0700) Subject: sunxi: add support for Beelink X2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=668704f781f09b0060e21f5bcd6d480cda98fc9e;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/18732 Signed-off-by: Hauke Mehrtens --- diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile index 5531de27940..49a78150056 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 1637cd5d20d..baecf4539cf 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+