From b73986a8264016883a8a7d666687a340cb810934 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Mon, 9 Oct 2017 13:51:21 +0200 Subject: [PATCH] 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 --- target/linux/ramips/image/mt76x8.mk | 1 + 1 file changed, 1 insertion(+) 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) -- 2.25.1