summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Thomson2023-01-22 21:16:04 +0000
committerDaniel Golle2025-09-29 16:34:51 +0000
commit7276e28e4779d9582a9a42d3ce217407471a2a79 (patch)
tree7d8b36390ae220190aff8b2079fbf7b12d591bf8
parent99cfba0721fca4bc006e1965f3d59d3f31d1fe22 (diff)
downloadopenwrt-7276e28e4779d9582a9a42d3ce217407471a2a79.tar.gz
ramips: 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/ramips/image/mt7621.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 720b90cc50..744d8c6279 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -2105,6 +2105,10 @@ define Device/MikroTik
IMAGE/sysupgrade.bin := append-kernel | yaffs-filesystem -L | \
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 -L | pad-to $$$$(BLOCKSIZE) | \
+ append-rootfs | pad-rootfs | check-size | append-metadata
endef
define Device/mikrotik_ltap-2hnd