Hello,
some days ago i want to update firmware of my "Freifunk" TP-LINK router. In
update instruction a warning was written to choose the right firmware
version to avoid damage of router when updating. So i run trid command on
dozens of TP-LINK router firmware (*.bin) to identify correct version, but
most are only described as "Unknown!" (see appended output/trid-old.txt).
For comparison reason i run other utilities.
The newest file(1) command does classify most examples correctly as firmware
(see appended output/file-5.28.txt).
On 15 December 15 2017 i send 3 trid definitions (bin-tplink-v1.trid.xml,
bin-tplink_gz_lzma-v1.trid.xml, bin-tplink_gz-v1.trid.xml) to identify such
router firmware, See
https://mark0.net/forum/index.php?topic=679.0But nothing has happened. So i send these 3 definitions again.
The described format is not only used for original tp-link firmware but it is
also used for OpenWrt firmware (See
https://en.wikipedia.org/wiki/OpenWrt).
And also some other projects are build on OpenWrt. One example is
"Freifunk". That is a non-commercial WLAN hotspot project ( See
https://en.wikipedia.org/wiki/Freifunk) . The recommended or standard
routers for Freifunk are models of tp-link.
More annoying is the fact that the router model like WR1043ND are sold with
same model name, but in reality there exist more versions with different
chips inside. So also different file format are used. So we see that for
version 5 U-Boot uImage format is now used and that for version 4
another not known format is used.
So it is important to get the correct firmware version for flashing.
So would be nice when trid would identify such tp-link firmware.
Nearly most firmware file are now identified by additional trid definitions
(see appended output/trid-new.txt). TrID definitions, and output are stored
in archive tplink-new.zip. I hope that my XML files can be used in future
version of triddefs.
With best wishes
Jörg Jenderek