mirror of https://github.com/hak5/openwrt.git
ath79: replace cameo-factory with existing build commands
Use pad-offset and append-string to create the cameo factory images for the D-LINK DIR-825 C1/DIR-835 A1 factory images. Tested-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Mathias Kresin <dev@kresin.me>openwrt-19.07
parent
ffdce856e0
commit
38cae44e51
|
@ -146,7 +146,8 @@ define Device/dlink_dir-825-c1
|
|||
IMAGE_SIZE := 15936k
|
||||
IMAGES := factory.bin sysupgrade.bin
|
||||
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs
|
||||
IMAGE/factory.bin := $$(IMAGE/default) | cameo-factory $$$$(IMAGE_SIZE) 00DB120AR9344-RT-101214-00 | check-size $$$$(IMAGE_SIZE)
|
||||
IMAGE/factory.bin := $$(IMAGE/default) | pad-offset $$$$(IMAGE_SIZE) 26 | \
|
||||
append-string 00DB120AR9344-RT-101214-00 | check-size $$$$(IMAGE_SIZE)
|
||||
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
|
||||
endef
|
||||
TARGET_DEVICES += dlink_dir-825-c1
|
||||
|
@ -159,7 +160,8 @@ define Device/dlink_dir-835-a1
|
|||
IMAGE_SIZE := 15936k
|
||||
IMAGES := factory.bin sysupgrade.bin
|
||||
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs
|
||||
IMAGE/factory.bin := $$(IMAGE/default) | cameo-factory $$$$(IMAGE_SIZE) 00DB120AR9344-RT-101214-00 | check-size $$$$(IMAGE_SIZE)
|
||||
IMAGE/factory.bin := $$(IMAGE/default) | pad-offset $$$$(IMAGE_SIZE) 26 | \
|
||||
append-string 00DB120AR9344-RT-101214-00 | check-size $$$$(IMAGE_SIZE)
|
||||
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
|
||||
endef
|
||||
TARGET_DEVICES += dlink_dir-835-a1
|
||||
|
|
Loading…
Reference in New Issue