1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Add alpha support of z8109ax

This commit is contained in:
Ycarus (Yannick Chabanois) 2025-02-10 10:38:12 +01:00
parent 356805d755
commit 7c29555b98
10 changed files with 494 additions and 1 deletions

View file

@ -1580,3 +1580,36 @@ define Device/z8102ax-128m
IMAGE_SIZE := 131072k
endef
TARGET_DEVICES += z8102ax-128m
define Device/z8109ax
DEVICE_VENDOR := ZBT
DEVICE_MODEL := Z8109AX
# DEVICE_DTS := mt7981b-zbt-z8102ax
DEVICE_DTS_DIR := ../dts
DEVICE_PACKAGES := kmod-mt7915e kmod-mt7981-firmware mt7981-wo-firmware
KERNEL_IN_UBI := 1
UBINIZE_OPTS := -E 5
BLOCKSIZE := 128k
PAGESIZE := 2048
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
ARTIFACTS := initramfs-factory.ubi
ARTIFACT/initramfs-factory.ubi := append-image-stage initramfs-kernel.bin | ubinize-kernel
endif
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
endef
define Device/z8109ax-512m
$(call Device/z8109ax)
DEVICE_VARIANT := 512 NAND
DEVICE_DTS := mt7981b-zbt-z8109ax-512m
IMAGE_SIZE := 524288k
endef
TARGET_DEVICES += z8109ax-512m
define Device/z8109ax-128m
$(call Device/z8109ax)
DEVICE_VARIANT := 128 NAND
DEVICE_DTS := mt7981b-zbt-z8109ax-128m
IMAGE_SIZE := 131072k
endef
TARGET_DEVICES += z8109ax-128m