[OpenWrt-Devel] adding tp-link wr740n v5.0 support

Daniel Petre daniel.petre at posteo.net
Sat Jun 6 21:38:01 EDT 2015


Hello,
so i just got the v5.0 version of tp-link wr740n and it seems its not a
2 mb flash and 16 mb ram chinese version like stated in the wiki.

Took a look at the download page for the firmware at www.tp-link.ro and
the firmware looks like a 4 mb flash variant. Here is binwalk of it:

[dani at x220 Downloads]$ binwalk
wr740nv5_wr741ndv5_en_3_16_9_up_boot\(150312\).bin

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
4             0x4             TP-Link firmware header, firmware version:
3.16.9, image version: "ver. 1.0", product ID: 0x7400005, product
version: 1, kernel load address: 0x80002000, kernel entry point:
0x801D74B0, kernel offset: 512, kernel length: 895122, rootfs offset:
1048576, rootfs length: 2883584, bootloader offset: 0, bootloader
length: 48518
14224         0x3790          U-Boot version string, "U-Boot 1.1.4 (Mar
12 2015 - 16:40:24)"
15568         0x3CD0          uImage header, header size: 64 bytes,
header CRC: 0xA334F831, created: Thu Mar 12 10:40:25 2015, image size:
33398 bytes, Data Address: 0x80010000, Entry Point: 0x80010000, data
CRC: 0xC9CFC8E6, OS: Linux, CPU: MIPS, image type: Firmware Image,
compression type: lzma, image name: "u-boot image"
15632         0x3D10          LZMA compressed data, properties: 0x5D,
dictionary size: 33554432 bytes, uncompressed size: 95708 bytes
131588        0x20204         TP-Link firmware header, firmware version:
3.16.9, image version: "ver. 1.0", product ID: 0x7400005, product
version: 1, kernel load address: 0x80002000, kernel entry point:
0x801D74B0, kernel offset: 512, kernel length: 895122, rootfs offset:
1048576, rootfs length: 2883584, bootloader offset: 0, bootloader length: 0
132096        0x20400         LZMA compressed data, properties: 0x5D,
dictionary size: 33554432 bytes, uncompressed size: 2589532 bytes
1180160       0x120200        Squashfs filesystem, little endian,
version 4.0, compression:lzma, size: 2344073 bytes,  566 inodes,
blocksize: 131072 bytes, created: Thu Mar 12 10:48:34 2015

uncompressing the root shows the following 2.6.31 specific atheros
kernel modules: ag7240_mod.ko, ath_rate_atheros.ko

My question to the list is: would i manage to produce a valid firmware
if i just replicate the patches from
https://dev.openwrt.org/attachment/ticket/10492/tl-wr740n-v4.support.final.patch
but with v5 related details added?

Thanks!
_______________________________________________
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