forked from mirror/openwrt
ipq40xx: 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:
parent
31b3a8f0a1
commit
25677ef7ec
1 changed files with 4 additions and 0 deletions
|
|
@ -5,9 +5,13 @@ define Device/mikrotik_nor
|
|||
KERNEL_NAME := vmlinux
|
||||
KERNEL := kernel-bin | append-dtb-elf
|
||||
IMAGES = sysupgrade.bin
|
||||
IMAGES += sysupgrade-v7.bin
|
||||
IMAGE/sysupgrade.bin := append-kernel | yaffs-filesystem -L | \
|
||||
pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | \
|
||||
check-size | append-metadata
|
||||
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_nand
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue