The signature for the TRX header is still incomplete for v1. According to http://wiki.openwrt.org/doc/techref/header, offset[0] = lzma-loader, offset[1] = Linux-Kernel and offset[2] = rootfs. Before the fix: bernardomr@splinter ~/openwrt $ binwalk openwrt-wrtsl54gs-squashfs.bin DECIMAL HEXADECIMAL DESCRIPTION 32 0x20 TRX firmware header, little endian, header size: 32 bytes, image size: 1323008 bytes, CRC32: 0x6CAC483, flags: 0x0, version: 1, kernel offset: 0x1C, rootfs offset: 0x8D8 60 0x3C gzip compressed data, maximum compression, from Unix, NULL date: 2296 0x8F8 LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: -1 bytes 517152 0x7E420 Squashfs filesystem, little endian, version 2.1, size: 805671 bytes, 269 inodes, blocksize: 65536 bytes, created: 2014-10-29 18:53:25 After the fix: bernardomr@splinter ~/openwrt $ binwalk openwrt-wrtsl54gs-squashfs.bin DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 32 0x20 TRX firmware header, little endian, header size: 32 bytes, image size: 1323008 bytes, CRC32: 0x6CAC483, flags: 0x0, version: 1, loader offset: 0x1C, linux kernel offset: 0x8D8, rootfs offset: 0x7E400, 60 0x3C gzip compressed data, maximum compression, from Unix, NULL date: 2296 0x8F8 LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: -1 bytes 517152 0x7E420 Squashfs filesystem, little endian, version 2.1, size: 805671 bytes, 269 inodes, blocksize: 65536 bytes, created: 2014-10-29 18:53:25 - Loader: 0x20 + 0x1C = 0x3C - Kernel: 0x20 + 0x8D8 = 0x8F8 - RootFS: 0x20 + 0x7E400 = 0x7E420
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
archives | Loading commit data... | |
binarch | Loading commit data... | |
bincast | Loading commit data... | |
binwalk | Loading commit data... | |
bootloaders | Loading commit data... | |
code | Loading commit data... | |
compressed | Loading commit data... | |
console | Loading commit data... | |
crypto | Loading commit data... | |
ecos | Loading commit data... | |
encoding | Loading commit data... | |
executables | Loading commit data... | |
filesystems | Loading commit data... | |
firmware | Loading commit data... | |
hashing | Loading commit data... | |
images | Loading commit data... | |
linux | Loading commit data... | |
lzma | Loading commit data... | |
misc | Loading commit data... | |
network | Loading commit data... | |
sql | Loading commit data... | |
vxworks | Loading commit data... |