From 2b00e499751cbe48a625bb4d41a209a91be3a76b Mon Sep 17 00:00:00 2001 From: Alex Maclean Date: Wed, 20 Jun 2018 14:56:21 +0100 Subject: [PATCH] ramips: RE350: add rootfs offset to header Have mktplinkfw fill in the rootfs offset so the firmware splitter can find it without aligning to erase blocks. Signed-off-by: Alex Maclean (backported from 2f23a0583a3092d9076ceecca16be0f8ccdce217) --- target/linux/ramips/image/mt7621.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index c8de8bd5ff..597be295a9 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -257,7 +257,7 @@ define Device/re350-v1 TPLINK_HWREV := 0 TPLINK_HEADER_VERSION := 1 IMAGE_SIZE := 6016k - KERNEL := $(KERNEL_DTB) | tplink-v1-header -e + KERNEL := $(KERNEL_DTB) | tplink-v1-header -e -O IMAGES := sysupgrade.bin factory.bin IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | append-metadata | check-size $$$$(IMAGE_SIZE) IMAGE/factory.bin := append-rootfs | tplink-safeloader factory -- 2.30.2