Author Topic: Asus dsl-ac68u image  (Read 2837 times)

Offline benb

  • New
  • *
  • Posts: 1
Asus dsl-ac68u image
« on: August 14, 2015, 11:45:17 AM »
Hi,

Many thanks for the extract firmware utility which I've already found very useful.

I wonder if I could make a feature request? In the case of my new router, the trx actually contains 2 squashfs images - one for the DSL processor (MIPS LE based), one for everything else - wifi, etherswitch, usb, etc., which is ARM based.

Here's my binwalk.log for the current image:
Scan Time:     2015-08-13 18:19:31
Signatures:    193
Target File:   DSL-AC68U_3.0.0.4_378_6986-g2437e87_DSL_1.0.2.9.trx
MD5 Checksum:  66bd4a0829d18224c09232167a37ddcb

DECIMAL         HEX             DESCRIPTION
-------------------------------------------------------------------------------------------------------
0               0x0             TRX firmware header, little endian, header size: 28 bytes,  image size: 32333824 bytes, CRC32: 0x9348104 flags/version: 0x10000
28              0x1C            LZMA compressed data, properties: 0x5D, dictionary size: 65536 bytes, uncompressed size: 4075648 bytes
1704764         0x1A033C        Squashfs filesystem, little endian, version 4.0, compression:  size: 30622249 bytes,  2420 inodes, blocksize: 131072 bytes, created: Wed Jul 15 10:01:47 2015
32334080        0x1ED6100       LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: 3652608 bytes
33553066        0x1FFFAAA       Squashfs filesystem, little endian, version 4.0, compression: lzma, size: 2897343 bytes,  547 inodes, blocksize: 131072 bytes, created: Tue Jul 14 05:03:49 201

Looking at the extract script, I figured out how to dd & unsquashfs the other fs. Creating an image is probably more challenging.

I'm useless at scripting - would it be possible to figure this out - ie extract the 2 filesystems and put them back together.

Thanks again