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>
This commit is contained in:
John Thomson 2022-10-27 20:56:05 +10:00 committed by Daniel Golle
parent 7276e28e47
commit 502e6253a1

View File

@ -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