NSLU2-Linux
view · edit · print · history

HowTo.RevertToRedBootUsingApex History

Hide minor edits - Show changes to markup

January 08, 2008, at 12:33 PM by fcarolo -- fixed false wikilinks
Changed line 10 from:
  1. Use an original Linksys image file or an official SlugOSBE? (aka OpenSlug) image file for flashing.\\
to:
  1. Use an original Linksys image file or an official SlugOSBE (aka OpenSlug) image file for flashing.\\
Changed line 19 from:

If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x040000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.\\

to:

If you wish to copy the existing SysConf info (mtdblock1) into the image, the command would be 'copy nor:0x040000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.\\

December 30, 2007, at 08:57 AM by sdm485 --
Deleted lines 19-20:
  1. Erase flash\\
Added lines 21-22:
  1. Erase flash
    \\
December 30, 2007, at 08:57 AM by sdm485 --
Changed lines 17-22 from:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that at the end of the process APEX tells you that 8388608 bytes were transfered.\\

Edit the image by adding the unit's MAC address (printed on the bottom) at offset 0x03ffb0 of the image. It should occupy 6 bytes. An alternative is 'copy nor:0x03ffb0+0x06 mem:0x103ffb0'. It is very important that the MAC address in the image is correct.\\

If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x040000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.\\

to:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that at the end of the process APEX tells you that 8388608 bytes were transfered.
Edit the image by adding the unit's MAC address (printed on the bottom) at offset 0x03ffb0 of the image. It should occupy 6 bytes. An alternative is 'copy nor:0x03ffb0+0x06 mem:0x103ffb0'. It is very important that the MAC address in the image is correct.
If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x040000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.

December 30, 2007, at 08:54 AM by sdm485 --
Changed lines 17-22 from:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that at the end of the process APEX tells you that 8388608 bytes were transfered.

Edit the image by adding the unit's MAC address (printed on the bottom) at offset 0x03ffb0 of the image. It should occupy 6 bytes. An alternative is 'copy nor:0x03ffb0+0x06 mem:0x103ffb0'. It is very important that the MAC address in the image is correct.

If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x040000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.

to:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that at the end of the process APEX tells you that 8388608 bytes were transfered.\\

Edit the image by adding the unit's MAC address (printed on the bottom) at offset 0x03ffb0 of the image. It should occupy 6 bytes. An alternative is 'copy nor:0x03ffb0+0x06 mem:0x103ffb0'. It is very important that the MAC address in the image is correct.\\

If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x040000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.\\

December 30, 2007, at 08:53 AM by sdm485 --
Changed lines 17-18 from:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that at the end of the process APEX tells you that 8388608 bytes were transfered. Edit the image by adding the unit's MAC address (printed on the bottom) at offset 0x03ffb0 of the image. It should occupy 6 bytes. If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x040000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.

to:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that at the end of the process APEX tells you that 8388608 bytes were transfered.

Edit the image by adding the unit's MAC address (printed on the bottom) at offset 0x03ffb0 of the image. It should occupy 6 bytes. An alternative is 'copy nor:0x03ffb0+0x06 mem:0x103ffb0'. It is very important that the MAC address in the image is correct.

If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x040000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.

December 30, 2007, at 08:48 AM by sdm485 --
Changed lines 17-18 from:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that at the end of the process APEX tells you that 8388608 bytes were transfered. Edit the image by adding the unit's MAC address (printed on the bottom) at offset 0x03ffb0 of the image. It should occupy 6 bytes. If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x0540000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.

to:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that at the end of the process APEX tells you that 8388608 bytes were transfered. Edit the image by adding the unit's MAC address (printed on the bottom) at offset 0x03ffb0 of the image. It should occupy 6 bytes. If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x040000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.

December 30, 2007, at 08:48 AM by sdm485 --
Changed lines 17-18 from:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that end the end of the process APEX tell you that 8388608 bytes were transfered. Edit the image by adding the unit's MAC address (printed on the bottom) at offset 0x03ffb0 of the image. It should occupy 6 bytes. If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x0540000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.

to:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that at the end of the process APEX tells you that 8388608 bytes were transfered. Edit the image by adding the unit's MAC address (printed on the bottom) at offset 0x03ffb0 of the image. It should occupy 6 bytes. If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x0540000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.

December 30, 2007, at 08:47 AM by sdm485 -- added details about editing the MAC address
Changed lines 17-18 from:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that end the end of the process APEX tell you that 8388608 bytes were transfered.

to:

Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that end the end of the process APEX tell you that 8388608 bytes were transfered. Edit the image by adding the unit's MAC address (printed on the bottom) at offset 0x03ffb0 of the image. It should occupy 6 bytes. If you wish to copy the existing SysConf? info (mtdblock1) into the image, the command would be 'copy nor:0x0540000+0x20000 mem:0x1040000' This assumes you loaded the image starting at 0x1000000 as described above.

April 18, 2007, at 06:10 PM by mathieu_xwave --
Changed lines 1-3 from:

This page describes how to revert to RedBoot bootloader if you have flashed Apex to flah.
Beware that if you make a mistake you could corrupt your bootloader, requiring JTAG hardware to fix it.'

to:

This page describes how to revert to RedBoot bootloader if you have flashed Apex to flash.
Beware that if you make a mistake you could corrupt your bootloader, requiring JTAG hardware to fix it.

Added line 25:

\\

Added line 29:

\\

April 18, 2007, at 06:08 PM by mathieu_xwave -- Initial edit
Added lines 1-31:

This page describes how to revert to RedBoot bootloader if you have flashed Apex to flah.
Beware that if you make a mistake you could corrupt your bootloader, requiring JTAG hardware to fix it.'

  1. Serial Console

    If you have APEX installed, then you probably already have a serial console.
  2. Boot up to the APEX command line by hitting ctrl-c
  3. Use an original Linksys image file or an official SlugOSBE? (aka OpenSlug) image file for flashing.
    Be sure to get a local copy to avoid transfer problem
  4. Transfer over the image using the serial console

    xreceive 0x1000000

    Send over the flash image from your terminal using xmodem protocol. This will take around 17 minutes to transfer over the 8M image. Please be sure that end the end of the process APEX tell you that 8388608 bytes were transfered.
  5. Erase flash

    erase nor:0x00+0x800000
  6. Copy RAM content to flash (don't unplug the power and cross your fingers)
    copy 0x1000000+0x800000 nor:0x00000
  7. Reset the device
    reset

    Now, it should have RedBoot running and your slug booting like before. If not, take your JTAG interface and reflash your slug properly !
view · edit · print · history · Last edited by fcarolo.
Based on work by sdm485 and mathieu_xwave.
Originally by mathieu_xwave.
Page last modified on January 08, 2008, at 12:33 PM