ramips/mt76x8: add initramfs support for tplink 841n v13

The tplink 841n v13 requires an tplink v2 image header in
front of an initramfs image.

To boot an initramfs image:
- break the uboot by holding the '4' key
- setup your tftp server 192.168.0.255
- tftp 81000000 lede-ramips-mt76x8-tl-wr841n-v13-initramfs-kernel.bin
- bootm

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
Alexander Couzens 2017-10-09 13:51:21 +02:00
parent 49b84624eb
commit b73986a826
No known key found for this signature in database
GPG Key ID: C29E9DA6A0DF8604

View File

@ -91,6 +91,7 @@ define Device/tl-wr840n-v4
TPLINK_HWREVADD := 0x4
TPLINK_HVERSION := 3
KERNEL := $(KERNEL_DTB)
KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-v2-header -e
IMAGES += tftp-recovery.bin
IMAGE/factory.bin := tplink-v2-image -e
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)