[OpenWrt-Devel] [PATCH 3/7] ar71xx/image: migrate tl-wdr6500-v2 to new image build steps
Weijie Gao
hackpascal at gmail.com
Sat Oct 31 10:33:18 EDT 2015
I'll have a try.
But there's another issue.
The firmware uses a version 2 magic, specified by "-m 2" cmdline passed to
mktplinkfw.
Directly call mktplinkfw-initramfs or mktplinkfw will create a version 1
firmware.
2015-10-31 22:20 GMT+08:00 Felix Fietkau <nbd at openwrt.org>:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20151031/40171ca5/attachment.htm>
-------------- next part --------------
_______________________________________________
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