DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2014-10-22 13:12:39

Nassz
New member
Registered: 2014-10-22
Posts: 2

Recover DNS-320 from Serial Console

hi people. I have big trouble , NAS is going down by Kernel Panic , how restore original firmware from console ? i could PAY for help !

Offline

 

#2 2014-10-22 16:29:20

Nassz
New member
Registered: 2014-10-22
Posts: 2

Re: Recover DNS-320 from Serial Console

or who could give me working files  for boot from tftp or USB

Offline

 

#3 2014-10-22 21:25:05

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Recover DNS-320 from Serial Console

You can extract them from the firmware file:

Code:

binwalk DLINK_DNS320B.1.02b01\(3.11.0423.2014\) 
/usr/local/etc/binwalk/magic.binwalk, 125: Warning: New continuation level 2 is more than one larger than current level 0

DECIMAL       HEX           DESCRIPTION
-------------------------------------------------------------------------------------------------------
128           0x80          uImage header, header size: 64 bytes, header CRC: 0xBC493D, created: Wed Aug 22 10:55:08 2012, image size: 2630552 bytes, Data Address: 0x8000, Entry Point: 0x8000, data CRC: 0x1DD7095A, OS: Linux, CPU: ARM, image type: OS Kernel Image, compression type: none, image name: Linux-2.6.31.8
13436         0x347C        gzip compressed data, from Unix, last modified: Wed Aug 22 10:55:07 2012, max compression
2630744       0x282458      uImage header, header size: 64 bytes, header CRC: 0xBC36C948, created: Wed Apr 23 12:44:14 2014, image size: 1707842 bytes, Data Address: 0xE00000, Entry Point: 0xE00000, data CRC: 0xA4957781, OS: Linux, CPU: ARM, image type: RAMDisk Image, compression type: gzip, image name: Ramdisk
2630808       0x282498      gzip compressed data, was "aa", from Unix, last modified: Wed Apr 23 12:44:14 2014
4340700       0x423BDC      Squashfs filesystem, little endian, version 4.0, compression: lzma, size: 31098642 bytes, 1809 inodes, blocksize: 131072 bytes, created: Wed Apr 23 12:44:11 2014 
35441628      0x21CCBDC     gzip compressed data, from Unix, last modified: Wed Apr 23 12:44:14 2014

So for this file the kernel uImage starts at 128, and is 2630552 (+64) bytes, while the initrd uImage starts at 2630744, and is 1707842 (+64) bytes.

Of course I don't know if you have a revision B box.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB