[openwrt/openwrt] ramips: mikrotik: generate a RouterBOOT v7 NOR compatible sysupgrade
LEDE Commits
lede-commits at lists.infradead.org
Mon Sep 29 10:49:34 PDT 2025
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7276e28e4779d9582a9a42d3ce217407471a2a79
commit 7276e28e4779d9582a9a42d3ce217407471a2a79
Author: John Thomson <git at johnthomson.fastmail.com.au>
AuthorDate: Mon Jan 23 07:16:04 2023 +1000
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 at johnthomson.fastmail.com.au>
---
target/linux/ramips/image/mt7621.mk | 4 ++++
1 file changed, 4 insertions(+)
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
More information about the lede-commits
mailing list