2022-09-17 20:06:37 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
2022-09-18 08:12:16 +00:00
|
|
|
define Device/d-link_dgs-1210
|
2022-09-17 20:06:37 +00:00
|
|
|
IMAGE_SIZE := 13824k
|
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DLINK_KERNEL_PART_SIZE := 1572864
|
2022-12-21 22:26:08 +00:00
|
|
|
KERNEL := \
|
|
|
|
kernel-bin | \
|
|
|
|
append-dtb | \
|
2022-12-14 14:16:33 +00:00
|
|
|
libdeflate-gzip | \
|
2022-12-21 22:26:08 +00:00
|
|
|
uImage gzip | \
|
2022-10-07 16:07:17 +00:00
|
|
|
cameo-tag
|
2022-09-17 20:06:37 +00:00
|
|
|
CAMEO_KERNEL_PART := 2
|
|
|
|
CAMEO_ROOTFS_PART := 3
|
|
|
|
CAMEO_CUSTOMER_SIGNATURE := 2
|
|
|
|
CAMEO_BOARD_VERSION := 32
|
|
|
|
IMAGES += factory_image1.bin
|
2022-12-21 22:26:08 +00:00
|
|
|
IMAGE/factory_image1.bin := \
|
|
|
|
append-kernel | \
|
|
|
|
pad-to 64k | \
|
|
|
|
append-rootfs | \
|
|
|
|
pad-rootfs | \
|
|
|
|
pad-to 16 | \
|
|
|
|
check-size | \
|
2022-10-07 16:07:17 +00:00
|
|
|
cameo-version | \
|
|
|
|
cameo-headers
|
2022-09-17 20:06:37 +00:00
|
|
|
endef
|
2022-09-17 20:20:30 +00:00
|
|
|
|
2022-09-18 08:12:16 +00:00
|
|
|
define Device/hpe_1920
|
2022-09-17 20:20:30 +00:00
|
|
|
DEVICE_VENDOR := HPE
|
|
|
|
IMAGE_SIZE := 29632k
|
|
|
|
BLOCKSIZE := 64k
|
|
|
|
H3C_PRODUCT_ID := 0x3c010501
|
2022-12-21 22:26:08 +00:00
|
|
|
KERNEL := \
|
|
|
|
kernel-bin | \
|
|
|
|
append-dtb | \
|
|
|
|
7z | \
|
|
|
|
h3c-image | \
|
|
|
|
h3c-vfs
|
|
|
|
KERNEL_INITRAMFS := \
|
|
|
|
kernel-bin | \
|
|
|
|
append-dtb | \
|
|
|
|
7z | \
|
|
|
|
h3c-image
|
|
|
|
IMAGE/sysupgrade.bin := \
|
|
|
|
append-kernel | \
|
|
|
|
pad-to $$$$(BLOCKSIZE) | \
|
|
|
|
append-rootfs | \
|
|
|
|
pad-rootfs | \
|
|
|
|
check-size | \
|
|
|
|
append-metadata
|
2022-09-17 20:20:30 +00:00
|
|
|
endef
|
2022-12-28 20:39:46 +00:00
|
|
|
|
|
|
|
define Device/zyxel_gs1900
|
|
|
|
DEVICE_VENDOR := ZyXEL
|
|
|
|
IMAGE_SIZE := 6976k
|
|
|
|
UIMAGE_MAGIC := 0x83800000
|
|
|
|
KERNEL_INITRAMFS := \
|
|
|
|
kernel-bin | \
|
|
|
|
append-dtb | \
|
2022-12-14 14:16:33 +00:00
|
|
|
libdeflate-gzip | \
|
2022-12-28 20:39:46 +00:00
|
|
|
zyxel-vers | \
|
|
|
|
uImage gzip
|
|
|
|
endef
|