8f536bf15f5886e3a94874d6a57c2fd4dafd9821
[openwrt/staging/jow.git] / target / linux / realtek / image / common.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 define Device/d-link_dgs-1210
4 IMAGE_SIZE := 13824k
5 DEVICE_VENDOR := D-Link
6 DLINK_KERNEL_PART_SIZE := 1572864
7 KERNEL := \
8 kernel-bin | \
9 append-dtb | \
10 libdeflate-gzip | \
11 uImage gzip | \
12 dlink-cameo
13 CAMEO_KERNEL_PART := 2
14 CAMEO_ROOTFS_PART := 3
15 CAMEO_CUSTOMER_SIGNATURE := 2
16 CAMEO_BOARD_VERSION := 32
17 IMAGES += factory_image1.bin
18 IMAGE/factory_image1.bin := \
19 append-kernel | \
20 pad-to 64k | \
21 append-rootfs | \
22 pad-rootfs | \
23 pad-to 16 | \
24 check-size | \
25 dlink-version | \
26 dlink-headers
27 endef
28
29 define Device/hpe_1920
30 DEVICE_VENDOR := HPE
31 IMAGE_SIZE := 29632k
32 BLOCKSIZE := 64k
33 H3C_PRODUCT_ID := 0x3c010501
34 KERNEL := \
35 kernel-bin | \
36 append-dtb | \
37 relocate-kernel | \
38 7z | \
39 h3c-image | \
40 h3c-vfs
41 KERNEL_INITRAMFS := \
42 kernel-bin | \
43 append-dtb | \
44 relocate-kernel | \
45 7z | \
46 h3c-image
47 IMAGE/sysupgrade.bin := \
48 append-kernel | \
49 pad-to $$$$(BLOCKSIZE) | \
50 append-rootfs | \
51 pad-rootfs | \
52 check-size | \
53 append-metadata
54 endef
55
56 define Device/zyxel_gs1900
57 DEVICE_VENDOR := ZyXEL
58 IMAGE_SIZE := 6976k
59 UIMAGE_MAGIC := 0x83800000
60 KERNEL_INITRAMFS := \
61 kernel-bin | \
62 append-dtb | \
63 libdeflate-gzip | \
64 zyxel-vers | \
65 uImage gzip
66 endef