I would like some further understanding as to what precisely is meant by "model-specific header".The *.bin images are identical to the generic *.trx image, except they have a model-specific header that allows for easy installation.
Difference between .trx and .bin files?
Moderator: Moderators
Difference between .trx and .bin files?
I read the installation Wiki and there is a brief description of the difference between a .trx file and .bin files. It says
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
Re: Difference between .trx and .bin files?
The .bin files are identical to the .trx files, except that there is some extra data at the beginning of the file:
The extra header bytes contain data used by particular models of router to validate that the firmware is appropriate for the router. Once installed this extra header is discarded.
Code: Select all
brcm-2.4 .bin contents:
[extra header bytes] [TRX file data]
-
- Posts: 108
- Joined: Sun Apr 08, 2012 6:54 am
Re: Difference between .trx and .bin files?
firstly We go to linux (ubuntu) and use that command to convert bin to trx
then copy output file to router tmp directory through SCP or Telnet or FTP and put command
remember on the end is 'firmware' ,,,,,, not 'linux'
remember it does not preserve your settings
Code: Select all
dd if=openwrt-E2500-v1-squashfs.bin of=openwrt-E2500-v1-squashfs.trx bs=32 skip=1
Code: Select all
mtd -r write /tmp/openwrt-E2500-v1-squashfs.trx firmware
remember it does not preserve your settings