mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 11:16:32 +00:00
ramips: tplink,mr600v2: fix image generation for sysupgrade image
The MR600v2 does not find its rootfs if it is neither directly after the kernel or aligned to an erase block boundary (64k). This aligns the rootfs to 0x10000 allowing the device to boot again. Based on investigation by forum user relghuar. Signed-off-by: Andreas Böhler <dev@aboehler.at>
This commit is contained in:
parent
21f713d5ab
commit
46b51e9e99
@ -2158,6 +2158,9 @@ define Device/tplink_mr600-v2-eu
|
||||
TPLINK_FLASHLAYOUT := 16Mltq
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
|
||||
kmod-usb-net-qmi-wwan uqmi kmod-usb3 -uboot-envtools
|
||||
IMAGE/factory.bin := tplink-v2-image -e -a 0x10000
|
||||
IMAGE/sysupgrade.bin := tplink-v2-image -s -e -a 0x10000 | check-size | \
|
||||
append-metadata
|
||||
KERNEL := $(KERNEL_DTB) | uImage lzma
|
||||
KERNEL_INITRAMFS := $$(KERNEL) | tplink-v2-header
|
||||
TPLINK_BOARD_ID := MR600-V2-EU
|
||||
|
Loading…
Reference in New Issue
Block a user