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

Test for z8102 eMMC support

This commit is contained in:
Ycarus (Yannick Chabanois) 2025-02-21 18:30:40 +01:00
parent 28a14d9c7a
commit 22419b341e
5 changed files with 361 additions and 0 deletions

View file

@ -1548,6 +1548,25 @@ define Device/zyxel_nwa50ax-pro
endef
TARGET_DEVICES += zyxel_nwa50ax-pro
define Device/z8102ax-emmc
DEVICE_VENDOR := ZBT
DEVICE_MODEL := Z8102AX
DEVICE_DTS := mt7981b-zbt-z8102ax-eMMC
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
TARGET_DEVICES += z8102ax-emmc
define Device/z8102ax
DEVICE_VENDOR := ZBT
DEVICE_MODEL := Z8102AX