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
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to