Convert firmware images from .bin to .trx
You may on occasion have a need to convert .bin firmware images such as those used to flash linksys based devices into .trx formatted images that can be accepted by OpenWRT. Its actually quite easy to do:
dd if=image.bin of=image.trx bs=32 skip=1
That will strip the first 32 bytes off the image, thus making it a valid .trx formatted firmware image file. Neat, huh?
Im totaly new to linux. How do I go about making this change? what software is required?
Garret,
You just need the ‘dd’ command as noted above. Most any Linux distribution should have it included already.
How do you covert TRX to BIN?
Scott,
Good question I dont think I’ve ever needed to do that. If you have another .trx image that works on that router you could strip the first 32 bytes off it and put them on the .bin… I would assume that would work fine.