Share Pastebin
Guest
Public paste!

fosk

By: a guest | May 18th, 2008 | Syntax: None | Size: 1.23 KB | Hits: 650 | Expires: Never
Copy text to clipboard
  1. 1.
  2. mount a serial adapter to the fonera device
  3. (the serial adapter documentation can be found at http://wiki.openwrt.org/OpenWrtDocs/Hardware/Fon/Fonera)
  4.  
  5. 2.
  6. set your terminal client to 9600-8-N-1
  7.  
  8. 3.
  9. enter the RedBoot console by pressing CTRL+C
  10.  
  11. 4.
  12. copy linux.bin to your tftp server directory
  13.  
  14. 5.
  15. configure the RedBoot bootloader IP and TFTP server settings using
  16. ip_address -l [local ip address] -h [remote server address]
  17.  
  18. 6.
  19. flash the unit by entering the following commands
  20.  
  21. RedBoot> fis init
  22. About to initialize [format] FLASH image system - continue (y/n)? y
  23. *** Initialize FLASH Image System
  24. ... Erase from 0xa83e0000-0xa83f0000: .
  25. ... Program from 0x80ff0000-0x81000000 at 0xa83e0000: .
  26.  
  27. load -r -v -b 0x80041000 linux.bin
  28. Using default protocol (TFTP)
  29. Raw file loaded 0x80041000-0x802e3fff, assumed entry at 0x80041000
  30. RedBoot> fis create linux
  31. ... Erase from 0xa8030000-0xa82f0000: ............................................
  32. ... Program from 0x80041000-0x80301000 at 0xa8030000: ............................................
  33. ... Erase from 0xa83e0000-0xa83f0000: .
  34. ... Program from 0x80ff0000-0x81000000 at 0xa83e0000: .
  35.  
  36. fconfig
  37. enter the bootscript:
  38. fis load -l linux
  39. exec
  40.  
  41. save the config and do
  42.  
  43. reset