Hi @all,
i was nearly getting mad with the GPL-code from TP-Link for WA860RE v2 (EU) until it flashed over webinterface.
Compile after using lubuntu 32Bit environment.
Changed linux/kernels/mips-linux-2.6.31/kernel/timeconst.pl:
# if (!defined(@val)) {
if (!(@val)) {
@val = compute_values($hz);
}
and changed images/860rev2/FlashMaker/860rev2_eu/supportlist.bin into:
SupportList:
{product_name:TL-WA860RE,product_ver:2.0.0,special_id:00000000}
{product_name:TL-WA860RE,product_ver:2.0.0,special_id:55530000}
{product_name:TL-WA860RE,product_ver:2.0.0,special_id:45550000}
{product_name:TL-WA860RE,product_ver:2.0.0,special_id:4B520000}
{product_name:TL-WA860RE,product_ver:2.0.0,special_id:42520000}
{product_name:TL-WA860RE,product_ver:2.0.0,special_id:4A500000}
{product_name:TL-WA860RE,product_ver:2.0.0,special_id:43410000}
Firmware-Check in webif expects :
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
22148 0x5684 U-Boot version string, "U-Boot 1.1.4 (Apr 22 2017 - 15:57:06)"
22196 0x56B4 CRC32 polynomial table, big endian
23500 0x5BCC uImage header, header size: 64 bytes, header CRC: 0x9666173D, created: 2017-04-22 13:57:08, image size: 33758 bytes, Data Address: 0x80010000, Entry Point: 0x80010000, data CRC: 0x347EB005, OS: Linux, CPU: MIPS, image type: Firmware Image, compression type: lzma, image name: "u-boot image"
23564 0x5C0C LZMA compressed data, properties: 0x5D, dictionary size: 33554432 bytes, uncompressed size: 87356 bytes
57323 0xDFEB TP-Link firmware header, firmware version: 0.0.0, image version: "", product ID: 0x0, product version: 0, kernel load address: 0x0, kernel entry point: 0x80002000, kernel offset: 0, kernel length: 512, rootfs offset: 733076, rootfs length: 0, bootloader offset: 0, bootloader length: 0
57835 0xE1EB LZMA compressed data, properties: 0x5D, dictionary size: 33554432 bytes, uncompressed size: 2093448 bytes
790912 0xC1180 Squashfs filesystem, little endian, version 4.0, compression:lzma, size: 2737777 bytes, 581 inodes, blocksize: 1048576 bytes, created: 2017-04-22 14:17:16
with partition:
support-list, 0x003c3000, 0x00001000, 0, 2, 2, 0, /usr/src/tp-link/860rev2_gpl_code/images/860rev2/FlashMaker/860rev2_eu/supportlist.bin