Differences

This shows you the differences between the selected revision and the current version of the page.

dns-321 2013/01/27 09:26 dns-321 2017/09/06 18:38 current
Line 16: Line 16:
===== Pictures ===== ===== Pictures =====
{{hardware:dns321-flashchip.jpg?w=120&h=90|Flash}} {{hardware:dns321-processor.jpg?w=120&h=90|CPU}} {{hardware:dns321-ram.jpg?w=120&h=90|RAM Module}} {{hardware:dns321-flashchip.jpg?w=120&h=90|Flash}} {{hardware:dns321-processor.jpg?w=120&h=90|CPU}} {{hardware:dns321-ram.jpg?w=120&h=90|RAM Module}}
 +
===== Serial Console ===== ===== Serial Console =====
{{ hardware:dns321-serial.jpg?w=120&h=90|Flash}} {{ hardware:dns321-serial.jpg?w=120&h=90|Flash}}
-A serial port is available for advanced troubleshooting and flash recovery. A simple cable can be made using a nokia ca-42 cable as discribed [[http://buffalo.nas-central.org/wiki/Use_a_Nokia_Serial_Cable_on_an_ARM9_Linkstation|here]]. The cables can be purchased on eBay quite cheap. Other options for building a serial cable are available [[http://dns323.kood.org/hardware%3Aserial|here]].+A serial port is available for advanced troubleshooting and flash recovery. A simple cable can be made using a nokia ca-42 cable as described [[http://buffalo.nas-central.org/wiki/Use_a_Nokia_Serial_Cable_on_an_ARM9_Linkstation|here]]. The cables can be purchased on eBay quite cheap. Other options for building a serial cable are available [[http://dns323.kood.org/hardware%3Aserial|here]].
Pinout: Pinout:
Line 28: Line 29:
Serial breakout code: 5784468 \\ Serial breakout code: 5784468 \\
U-boot autoboot stop: <Space> + <1>\\ U-boot autoboot stop: <Space> + <1>\\
 +
 +
 +
 +
 +
 +
Line 37: Line 44:
==== Recovery via serial ==== ==== Recovery via serial ====
-Pulled from [[http://www.cyrius.com/debian/orion/d-link/dns-323/recovery.html|here]].+Some info was taken from [[http://www.cyrius.com/debian/orion/d-link/dns-323/recovery.html|here]]:
The following is done with Ubuntu 12.04 The following is done with Ubuntu 12.04
Line 47: Line 54:
  ftp://ftp.dlink.com/Multimedia/dns321/Firmware/   ftp://ftp.dlink.com/Multimedia/dns321/Firmware/
-3. Split the firmware (in the directory you used in step 2):+3. Unzip it. Then split the firmware (in the directory you unzipped it):
  $ splitdns323fw -k 103kernel -i 103initrd -d 103defaults dns321_fw_103   $ splitdns323fw -k 103kernel -i 103initrd -d 103defaults dns321_fw_103
Line 65: Line 72:
  set parity none   set parity none
-6. Run kermit, start this initally with the dns-321 box already running:+6. Run kermit, start this initally with the dns-321 box already running and your cable connected:
  $sudo kermit   $sudo kermit
Line 82: Line 89:
  Net:  egiga0 [PRIME]   Net:  egiga0 [PRIME]
  Hit any key to stop autoboot:   Hit any key to stop autoboot:
-press <space> + <1> - this will exit the boot sequence.+press <space> + <1> this will exit the autoboot sequence.
11. At this point you should be at a boot prompt similar to the following: 11. At this point you should be at a boot prompt similar to the following:
  Marvell>>   Marvell>>
-12. Now you can enter a multitude of commands here but we will on need two right now (? shows all commands available). For recovery purposes we only need two commands, see #13 and #15. +12. Now you can enter a multitude of commands here (? shows all commands available). For recovery purposes we only need three commands, see #13, #15 and #17.
13. Flash the kernel image via uboot: 13. Flash the kernel image via uboot:
-  #loadb k+  Marvell>> loadb k
you will get this in response: you will get this in response:
Line 109: Line 116:
hit <c> to go to the console and make sure the image in 13 was accepted ok. You should see    hit <c> to go to the console and make sure the image in 13 was accepted ok. You should see   
  Kernel Size = 1554936   Kernel Size = 1554936
-  Copy to Flash... done +  Copy to Flash... done   
-    +note: Size might be different!
-   note: Kernel size might be different!+
15. Flash the ramdisk image via uboot: 15. Flash the ramdisk image via uboot:
-  # loadb r+  Marvell>> loadb r
you will get this in response: you will get this in response:
Line 125: Line 131:
  <ctrl>+<\> then <c>   <ctrl>+<\> then <c>
-then you will need to upload the kernel file+then you will need to upload the ramdisk file
  send 103initrd   send 103initrd
you should now see a screen showing transfer status. Once it completes (it will take a good 15 minutes or so) move on to #16 . you should now see a screen showing transfer status. Once it completes (it will take a good 15 minutes or so) move on to #16 .
-16. Verify that the kernel was sent successfully:+16. Verify that the ramdisk was sent successfully:
hit <c> to go to the console and make sure the image in 15 was accepted ok. You should see: hit <c> to go to the console and make sure the image in 15 was accepted ok. You should see:
    Ramdisk Size = 8935844     Ramdisk Size = 8935844
    Copy to Flash... done     Copy to Flash... done
 +note: Size might be different!
 +
 +17. Congrats your now back to stock! To start booting you new flash image type:
-17. At this point you will need to pull power from the unit and plug it back in.+    Marvell>> boot
===== Alternative Firmware ===== ===== Alternative Firmware =====

Navigation

Personal Tools