Differences

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

dns-321 2013/01/28 07:35 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 68: 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 85: 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 113: Line 117:
  Kernel Size = 1554936   Kernel Size = 1554936
  Copy to Flash... done    Copy to Flash... done 
-note: Kernel size might be different!+note: 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 127: 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. Congrats your now back to stock! To start booting you new flash image type:
    Marvell>> boot     Marvell>> boot
- 
-18. Move on to the Alt-f firmware because the stock d-link firmware sucks! :) 
- 
-If you manage to get this far than you have all the tools you need to get a lot done with your 321. If you flash a bad firmware or just want to flash your own kernel/ramdisk this will help you out a lot. 
===== Alternative Firmware ===== ===== Alternative Firmware =====

Navigation

Personal Tools