diff options
author | Markus Stockhausen <markus.stockhausen@gmx.de> | 2022-07-06 13:41:51 +0200 |
---|---|---|
committer | Luiz Angelo Daros de Luca <luizluca@gmail.com> | 2022-07-08 22:10:10 -0300 |
commit | 3fbf45bd0948a335d25edc571b3b1c86a2aa19e6 (patch) | |
tree | a2bf7ff93e8a8bd879732ab81b60535095b96a21 /target/linux/realtek/image | |
parent | 128575d0fdc3838d843ff1441d7b29e39ec0151e (diff) | |
download | upstream-3fbf45bd0948a335d25edc571b3b1c86a2aa19e6.tar.gz upstream-3fbf45bd0948a335d25edc571b3b1c86a2aa19e6.tar.bz2 upstream-3fbf45bd0948a335d25edc571b3b1c86a2aa19e6.zip |
realtek: build factory images for all DGS-1210 models
Currently we build factory images only for DGS-1210-28 model. Relax
that constraint and take care about all models. Tested on DGS-1210-20
and should work on other models too because of common flash layout.
Tested-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
(cherry picked from commit 2b49ec3a28ad09446f48f1f830a42bdfe3bce9be)
Diffstat (limited to 'target/linux/realtek/image')
-rw-r--r-- | target/linux/realtek/image/rtl838x.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/realtek/image/rtl838x.mk b/target/linux/realtek/image/rtl838x.mk index fee029aa3f..d72dc2191b 100644 --- a/target/linux/realtek/image/rtl838x.mk +++ b/target/linux/realtek/image/rtl838x.mk @@ -17,6 +17,13 @@ define Device/d-link_dgs-1210 DEVICE_VENDOR := D-Link DLINK_KERNEL_PART_SIZE := 1572864 KERNEL := kernel-bin | append-dtb | gzip | uImage gzip | dlink-cameo + CAMEO_KERNEL_PART := 2 + CAMEO_ROOTFS_PART := 3 + CAMEO_CUSTOMER_SIGNATURE := 2 + CAMEO_BOARD_VERSION := 32 + IMAGES += factory_image1.bin + IMAGE/factory_image1.bin := append-kernel | pad-to 64k | \ + append-rootfs | pad-rootfs | pad-to 16 | check-size | dlink-headers endef define Device/d-link_dgs-1210-10p @@ -35,13 +42,6 @@ TARGET_DEVICES += d-link_dgs-1210-16 define Device/d-link_dgs-1210-28 $(Device/d-link_dgs-1210) DEVICE_MODEL := DGS-1210-28 - CAMEO_KERNEL_PART := 2 - CAMEO_ROOTFS_PART := 3 - CAMEO_CUSTOMER_SIGNATURE := 2 - CAMEO_BOARD_VERSION := 32 - IMAGES += factory_image1.bin - IMAGE/factory_image1.bin := append-kernel | pad-to 64k | \ - append-rootfs | pad-rootfs | pad-to 16 | check-size | dlink-headers endef TARGET_DEVICES += d-link_dgs-1210-28 |