Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIR-615 firmware failed to extract #14

Closed
GoogleCodeExporter opened this issue Nov 1, 2015 · 8 comments
Closed

DIR-615 firmware failed to extract #14

GoogleCodeExporter opened this issue Nov 1, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
# ./extract_firmware.sh dd-wrt-dlink-dir615d-factory-webflash.bin dlink-dir615/

What is the expected output? What do you see instead?

 Firmware Mod Kit (extract) v0.64 beta, (c)2010 Jeremy Collake
 http://www.bitsum.com
 Checking for updates ...
  !!! There is a newer version available: 0.63
     You are currently using 0.64
 LINUX system detected. Compatibility ok.
 Testing file system of dlink-dir615/ ...
 Building tools ...
 Build seems successful.
 Preparing working directory ...
 Removing any previous files ...
 Creating directories ...
 Extracting firmware
! untrx failed, trying splitter3
 Attempting squashfs 3.0 lzma ...
 Trying 'damn small' variant - used by DD-WRT v24 ...
 Firmware appears extracted correctly!
 Now make changes and run build_firmware.sh.



What version of the product are you using? On what operating system?
Ubuntu 8.04 Server


Please provide any additional information below.

# cat extract.log 
make: Entering directory `/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src'
make -C ./uncramfs/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/uncramfs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/uncramfs'
make -C ./cramfs-2.x/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/cramfs-2.x'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/cramfs-2.x'
make -C ./squashfs-2.1-r2/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-2.1-r2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-2.1-r2'
make -C ./squashfs-3.0/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-3.0'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-3.0'
make -C ./squashfs-3.0-lzma-damn-small-variant/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-3.0-lzma-damn-small-v
ariant'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-3.0-lzma-damn-small-v
ariant'
make -C ./wrt_vx_imgtool/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/wrt_vx_imgtool'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/wrt_vx_imgtool'
make: Leaving directory `/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src'
 untrx 0.54 beta - (c)2006-2010 Jeremy Collake
 Opening dd-wrt-dlink-dir615d-factory-webflash.bin
 read 3536811 bytes
 ERROR trx header not found
 splitter3 0.10 beta - (c)2010 Jeremy Collake
 Opening dd-wrt-dlink-dir615d-factory-webflash.bin
 read 3536811 bytes
 SQUASHFS magic: 0x74717368
 SQUASHFS version: 3.0
 Found segment type 0x4 Kernel length is c0060
 File system length is 29efa0
 Trailer is 7ab bytes
  Writing dlink-dir615//image_parts/vmlinuz
    size 786528 from offset 0 ...
 SQUASHFS magic: 0x74717368
 SQUASHFS version: 3.0
  SQUASHFS v3.0 image detected
  Writing dlink-dir615//image_parts/squashfs_magic
  Writing dlink-dir615//image_parts/squashfs-lzma-image-3_0
    size 2748320 from offset 786528 ...
  Writing dlink-dir615//image_parts/hwid.txt
    size 1963 from offset 3534848 ...
  Done!

created 0 files
created 1 directories
created 0 symlinks
created 0 devices
created 0 fifos


Original issue reported on code.google.com by checho.i...@gmail.com on 6 Dec 2010 at 2:55

@GoogleCodeExporter
Copy link
Author

The other BIN file on www.dd-wrt.com

# ./extract_firmware.sh dd-wrt-dlink-dir615d-revb-ddwrt-webflash.bin 
dlink-dir615/

 Firmware Mod Kit (extract) v0.64 beta, (c)2010 Jeremy Collake
 http://www.bitsum.com
 Checking for updates ...
  !!! There is a newer version available: 0.63
     You are currently using 0.64
 LINUX system detected. Compatibility ok.
 Testing file system of dlink-dir615/ ...
 Building tools ...
 Build seems successful.
 Preparing working directory ...
 Removing any previous files ...
 Creating directories ...
 Extracting firmware
 Attempting raw linux style firmware package (i.e. TEW-632BRP) ...
 Extracting dd-wrt-dlink-dir615d-revb-ddwrt-webflash.bin to dlink-dir615/ ...
 Error: filesystem not extracted properly.
  firmware image format not compatible?


# cat extract.log 
make: Entering directory `/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src'
make -C ./uncramfs/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/uncramfs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/uncramfs'
make -C ./cramfs-2.x/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/cramfs-2.x'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/cramfs-2.x'
make -C ./squashfs-2.1-r2/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-2.1-r2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-2.1-r2'
make -C ./squashfs-3.0/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-3.0'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-3.0'
make -C ./squashfs-3.0-lzma-damn-small-variant/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-3.0-lzma-damn-small-v
ariant'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/squashfs-3.0-lzma-damn-small-v
ariant'
make -C ./wrt_vx_imgtool/
make[1]: Entering directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/wrt_vx_imgtool'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src/wrt_vx_imgtool'
make: Leaving directory `/home/wifi/fw-mod-kit/dlink-fw-mod-kit/trunk/src'
 untrx 0.54 beta - (c)2006-2010 Jeremy Collake
 Opening dd-wrt-dlink-dir615d-revb-ddwrt-webflash.bin
 read 3538972 bytes
  Writing dlink-dir615//image_parts/segment1
    size 3538944 from offset 28 ...
  Done!

Original comment by checho.i...@gmail.com on 6 Dec 2010 at 2:58

@GoogleCodeExporter
Copy link
Author

The key is here:
" !!! There is a newer version available: 0.63
     You are currently using 0.64"
Please try the latest version. It should work, but if it doesn't then that 
format target firmware format is not supported.

Original comment by jeremy.collake@gmail.com on 7 Dec 2010 at 3:10

  • Changed state: Done

@GoogleCodeExporter
Copy link
Author

0.64 is newer than 0.63. I did svn checkout today.
How can I help you to support that firmware? 

Original comment by checho.i...@gmail.com on 7 Dec 2010 at 7:28

@GoogleCodeExporter
Copy link
Author

Oops, yes there is a discrepancy with the lame version checking hacked in. I am 
not interesting in adding support for this format, I am sorry. Maybe someone 
else is. I will fix the version check at least.

Original comment by jeremy.collake@gmail.com on 7 Dec 2010 at 7:37

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

[deleted comment]

2 similar comments
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I recommend trying an older revision (months old, prior to most recent major 
mod), as it may work. Otherwise, support is not available. I am sorry, I do not 
have time to add it. I believe DD-WRT is GPL, so in a perfect would one could 
compile their code. Perhaps you can go that route. Very sorry.

Original comment by jeremy.collake@gmail.com on 7 Dec 2010 at 11:44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant