From: Alexander Couzens Date: Mon, 9 Oct 2017 11:51:21 +0000 (+0200) Subject: ramips/mt76x8: add initramfs support for tplink 841n v13 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fdedeckeh.git;a=commitdiff_plain;h=b73986a8264016883a8a7d666687a340cb810934 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 --- diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk index db32684f7d..56da7b1049 100644 --- a/target/linux/ramips/image/mt76x8.mk +++ b/target/linux/ramips/image/mt76x8.mk @@ -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)