aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorAlex Maclean <monkeh@monkeh.net>2018-06-20 14:56:21 +0100
committerJohn Crispin <john@phrozen.org>2018-06-26 07:04:43 +0200
commit2f23a0583a3092d9076ceecca16be0f8ccdce217 (patch)
tree5e9fee4d8332f9d3f087d9efebb6a2099d77efbf /target/linux
parent408c54b02f6a6dd2c0ae30a7885a37c9ac4c1b53 (diff)
downloadupstream-2f23a0583a3092d9076ceecca16be0f8ccdce217.tar.gz
upstream-2f23a0583a3092d9076ceecca16be0f8ccdce217.tar.bz2
upstream-2f23a0583a3092d9076ceecca16be0f8ccdce217.zip
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 <monkeh@monkeh.net>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/image/mt7621.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index e9e2d3ecef..778f3d6bf8 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -256,7 +256,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