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>
master
Alex Maclean 7 years ago committed by John Crispin
parent 408c54b02f
commit 2f23a0583a
  1. 2
      target/linux/ramips/image/mt7621.mk

@ -256,7 +256,7 @@ define Device/re350-v1
TPLINK_HWREV := 0 TPLINK_HWREV := 0
TPLINK_HEADER_VERSION := 1 TPLINK_HEADER_VERSION := 1
IMAGE_SIZE := 6016k IMAGE_SIZE := 6016k
KERNEL := $(KERNEL_DTB) | tplink-v1-header -e KERNEL := $(KERNEL_DTB) | tplink-v1-header -e -O
IMAGES := sysupgrade.bin factory.bin IMAGES := sysupgrade.bin factory.bin
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | append-metadata | check-size $$$$(IMAGE_SIZE) IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | append-metadata | check-size $$$$(IMAGE_SIZE)
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory IMAGE/factory.bin := append-rootfs | tplink-safeloader factory

Loading…
Cancel
Save