summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Thomson2022-10-27 10:56:05 +0000
committerDaniel Golle2025-09-29 16:34:51 +0000
commit502e6253a1f2cf85727941126413ff6a927f49dc (patch)
treec091c8ee330f9e0245d9aadd99de1e4c49835c52
parent7276e28e4779d9582a9a42d3ce217407471a2a79 (diff)
downloadopenwrt-502e6253a1f2cf85727941126413ff6a927f49dc.tar.gz
ath79: mikrotik: generate a RouterBOOT v7 NOR compatible sysupgrade
RouterBOOT v7 for NOR devices does not support the historic yaffs "kernel" ELF boot method. Generate a compatible kernel Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
-rw-r--r--target/linux/ath79/image/common-mikrotik.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/image/common-mikrotik.mk b/target/linux/ath79/image/common-mikrotik.mk
index 94c29d8cb6..1dfd515d25 100644
--- a/target/linux/ath79/image/common-mikrotik.mk
+++ b/target/linux/ath79/image/common-mikrotik.mk
@@ -13,6 +13,10 @@ define Device/mikrotik_nor
IMAGE/sysupgrade.bin := append-kernel | yaffs-filesystem -M | \
pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | \
check-size | append-metadata
+ IMAGES += sysupgrade-v7.bin
+ IMAGE/sysupgrade-v7.bin := append-kernel | kernel-pack-npk | \
+ yaffs-filesystem -M | pad-to $$$$(BLOCKSIZE) | \
+ append-rootfs | pad-rootfs | check-size | append-metadata
endef
define Device/mikrotik_nand