[OpenWrt-Devel] [PATCH 3/7] ar71xx/image: migrate tl-wdr6500-v2 to new image build steps

Felix Fietkau nbd at openwrt.org
Sat Oct 31 10:20:27 EDT 2015


On 2015-10-31 15:02, Weijie Gao wrote:
> HI,
> 
> I have this router and I submitted this router's mach.
> 
> Have you noticed that the TPLINK-64K generates a U-Boot image for the
> kernel at first?
> The normal routine does not do that.
> 
> So this firmware has two headers, first the tp-link header then the
> u-boot header.
> 
> If the u-boot header disappear, the bootloader won't boot the firmware.
Does this fix the issue?
---
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -334,6 +334,8 @@ TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl-
 
 define Device/tl-wdr6500-v2
 $(Device/tplink-8mlzma)
+  KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
+  KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | uImage lzma | mktplinkfw-initramfs
   BOARDNAME = TL-WDR6500-v2
   DEVICE_PROFILE = TLWDR6500V2
   TPLINK_HWID := 0x65000002
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list