浏览代码

realtek: build DGS-1210 images with CAMEO tag

From now on we will insert CAMEO tags into sysupgrade images for
DGS-1210 devices. This will make the "OS:...FAILED" and "FS:...FAILED"
messages go away.

Signed-off-by: Markus Stockhausen <[email protected]>
Markus Stockhausen 3 年之前
父节点
当前提交
e763c4c89f
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 4 0
      target/linux/realtek/image/Makefile
  2. 1 0
      target/linux/realtek/image/rtl838x.mk

+ 4 - 0
target/linux/realtek/image/Makefile

@@ -17,6 +17,10 @@ define Build/zyxel-vers
        done ) >> $@
 endef
 
+define Build/dlink-cameo
+	$(SCRIPT_DIR)/cameo-tag.py $@ $(DLINK_KERNEL_PART_SIZE)
+endef
+
 define Build/dlink-headers
         dd if=$@ bs=$(DLINK_KERNEL_PART_SIZE) count=1 [email protected]_part; \
         dd if=$@ bs=$(DLINK_KERNEL_PART_SIZE) skip=1 [email protected]_part; \

+ 1 - 0
target/linux/realtek/image/rtl838x.mk

@@ -16,6 +16,7 @@ define Device/d-link_dgs-1210
   IMAGE_SIZE := 13824k
   DEVICE_VENDOR := D-Link
   DLINK_KERNEL_PART_SIZE := 1572864
+  KERNEL := kernel-bin | append-dtb | gzip | uImage gzip | dlink-cameo
 endef
 
 define Device/d-link_dgs-1210-10p