summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoltan HERPAI2025-04-02 10:12:50 +0000
committerZoltan HERPAI2025-06-16 21:10:54 +0000
commit326c6348290613dd3daa4bfa659c9e716ad96048 (patch)
tree9e0ccd28f2e1daf6808d612b60ad5a95a7bd8c6c
parentc908fc7d9591163ae4836f31b7e6db4611e6bc7e (diff)
downloadopenwrt-326c6348290613dd3daa4bfa659c9e716ad96048.tar.gz
sunxi: add support for OrangePi Zero 2W
Specifications: SoC: Allwinner H618 SoC (Quad core Cortex-A53) DRAM: 1/1.5/2/4 GB LPDDR4 DRAM (1.5GB version not supported) Power: 5V USB-C Video: HDMI (Type 2.0A - micro) Storage: microSD / 16MByte SPI flash Network: Unisoc UWE5622 (no driver currently) Debug: serial UART Flashing instructions: Standard sunxi SD card installation procedure - copy image to SD card, insert into SD card slot on the device and boot. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
-rw-r--r--package/boot/uboot-sunxi/Makefile10
-rw-r--r--target/linux/sunxi/image/cortexa53.mk7
2 files changed, 17 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile
index 49a7815005..aa1cc48dc0 100644
--- a/package/boot/uboot-sunxi/Makefile
+++ b/package/boot/uboot-sunxi/Makefile
@@ -351,6 +351,15 @@ define U-Boot/orangepi_zero2
ATF:=h616
endef
+define U-Boot/orangepi_zero2w
+ BUILD_SUBTARGET:=cortexa53
+ NAME:=Xunlong Orange Pi Zero2W
+ BUILD_DEVICES:=xunlong_orangepi-zero2w
+ DEPENDS:=+PACKAGE_u-boot-orangepi_zero2w:trusted-firmware-a-sunxi-h616
+ UENV:=h616
+ ATF:=h616
+endef
+
define U-Boot/orangepi_zero3
BUILD_SUBTARGET:=cortexa53
NAME:=Xunlong Orange Pi Zero3
@@ -425,6 +434,7 @@ UBOOT_TARGETS := \
orangepi_2 \
orangepi_pc2 \
orangepi_zero2 \
+ orangepi_zero2w \
orangepi_zero3 \
pangolin \
pine64_plus \
diff --git a/target/linux/sunxi/image/cortexa53.mk b/target/linux/sunxi/image/cortexa53.mk
index 06b409deb7..11ddf629e2 100644
--- a/target/linux/sunxi/image/cortexa53.mk
+++ b/target/linux/sunxi/image/cortexa53.mk
@@ -127,6 +127,13 @@ define Device/xunlong_orangepi-zero2
endef
TARGET_DEVICES += xunlong_orangepi-zero2
+define Device/xunlong_orangepi-zero2w
+ DEVICE_VENDOR := Xunlong
+ DEVICE_MODEL := Orange Pi Zero 2W
+ $(Device/sun50i-h618)
+endef
+TARGET_DEVICES += xunlong_orangepi-zero2w
+
define Device/xunlong_orangepi-zero3
DEVICE_VENDOR := Xunlong
DEVICE_MODEL := Orange Pi Zero 3