[source] lantiq: use img file extension for DGN3500 factory images
LEDE Commits
lede-commits at lists.infradead.org
Tue Jul 4 11:59:17 PDT 2017
mkresin pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/52617669c2467ba9964a153827aad1acad99f890
commit 52617669c2467ba9964a153827aad1acad99f890
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Wed Jun 28 23:36:37 2017 +0200
lantiq: use img file extension for DGN3500 factory images
The Netgear UI in basic mode refuses the upgrade file if the the
fileextension is not img. The expert/advanced mode accepts any
fileextension. Use img to make it work in any case.
Signed-off-by: Mathias Kresin <dev at kresin.me>
---
target/linux/lantiq/image/Makefile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile
index 582091b..a96e528 100644
--- a/target/linux/lantiq/image/Makefile
+++ b/target/linux/lantiq/image/Makefile
@@ -341,18 +341,18 @@ define Device/DGN3500
IMAGE_SIZE := 16000k
IMAGES := \
sysupgrade-NA.bin sysupgrade-WW.bin \
- factory-NA.bin factory-WW.bin
+ factory-NA.img factory-WW.img
IMAGE/sysupgrade-NA.bin := \
append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "NA" | \
pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
IMAGE/sysupgrade-WW.bin := \
append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "WW" | \
pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
- IMAGE/factory-NA.bin := \
+ IMAGE/factory-NA.img := \
pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "NA" | pad-rootfs | \
check-size 16320k | pad-to 16384k
- IMAGE/factory-WW.bin := \
+ IMAGE/factory-WW.img := \
pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "WW" | pad-rootfs | \
check-size 16320k | pad-to 16384k
@@ -368,11 +368,11 @@ TARGET_DEVICES += DGN3500
define Device/DGN3500B
IMAGE_SIZE := 16000k
- IMAGES += factory.bin
+ IMAGES += factory.img
IMAGE/sysupgrade.bin := \
append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "DE" | \
pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
- IMAGE/factory.bin := \
+ IMAGE/factory.img := \
pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "DE" | pad-rootfs | \
check-size 16320k | pad-to 16384k
More information about the lede-commits
mailing list