NSLU2-Linux
view · edit · print · history

HowTo.ReflashUsingApexAndXmodem History

Hide minor edits - Show changes to markup

December 30, 2007, at 08:36 AM by sdm485 --
Changed lines 1-2 from:

This page describes how to reflash your slug using Apex and Xmodem. Why you would want to do this I do not know. Unless you are really sure that this is what you want to do, do investigate more conventional re-flashing procedures.

to:

This page describes how to reflash your slug using Apex and Xmodem. You would need to do this if you have Apex as the only bootloader and you wanted to update the image. Apex does not support any network based file transfer methods at this time.

July 14, 2007, at 02:34 PM by Rob Lockhart -- added link to RecoverFromABadFlashUsingJTAG
Changed lines 1-4 from:

This page describes how to reflash your slug using Apex and Xmodem. Why you would want to do this I do not know. Unless you are really sure that this is what you want to do, do investigate more conventional re-flashig procedures.

The precise instructions below will replace all of the firmware except the bootloader; APEX will be still your bootloader after reset. However, beware that if you make a mistake (such as mistyping an address) you could corrupt your bootloader, requiring JTAG hardware to fix it.

to:

This page describes how to reflash your slug using Apex and Xmodem. Why you would want to do this I do not know. Unless you are really sure that this is what you want to do, do investigate more conventional re-flashing procedures.

The precise instructions below will replace all of the firmware except the bootloader; APEX will be still your bootloader after reset. However, beware that if you make a mistake (such as mistyping an address) you could corrupt your bootloader, requiring JTAG hardware to fix it.

April 19, 2007, at 10:30 PM by Phil Endecott -- Re-emphasise danger of getting it wrong.
Changed lines 1-3 from:

This page describes how to reflash your slug using Apex and Xmodem. Why you would want to do this I do not know. Beware that if you make a mistake you could corrupt your bootloader, requiring JTAG hardware to fix it. Important note: These instructions can be used to reflash a firmware into the slug. It will *not* modify the bootloader. Thus, APEX will be still your bootloader after reset.

to:

This page describes how to reflash your slug using Apex and Xmodem. Why you would want to do this I do not know. Unless you are really sure that this is what you want to do, do investigate more conventional re-flashig procedures.

The precise instructions below will replace all of the firmware except the bootloader; APEX will be still your bootloader after reset. However, beware that if you make a mistake (such as mistyping an address) you could corrupt your bootloader, requiring JTAG hardware to fix it.

April 17, 2007, at 08:45 PM by mathieu_xwave -- Adding important note
Changed lines 2-3 from:
to:

Important note: These instructions can be used to reflash a firmware into the slug. It will *not* modify the bootloader. Thus, APEX will be still your bootloader after reset.

April 17, 2007, at 04:11 PM by mathieu_xwave -- Change the transfer time (longer !)
Changed lines 14-15 from:

Send over the flash image from your terminal. APEX doesn't support tftp or http for the slug yet as I know of (please correct me if not). This will take around 10 minutes to transfer over the 8M image.

to:

Send over the flash image from your terminal. APEX doesn't support tftp or http for the slug yet as I know of (please correct me if not). This will take around 17 minutes to transfer over the 8M image.

March 03, 2007, at 03:20 PM by Phil Endecott -- Create this page with material from Howto.Recoverfromabadflash
Added lines 1-22:

This page describes how to reflash your slug using Apex and Xmodem. Why you would want to do this I do not know. 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. Transfer over the image using the serial console

    xreceive 0x1000000

    Send over the flash image from your terminal. APEX doesn't support tftp or http for the slug yet as I know of (please correct me if not). This will take around 10 minutes to transfer over the 8M image.
  4. Erase and write the image into flash

    erase nor:0x60000+0x7a0000
    copy 0x1060000+0x7a0000 nor:0x60000

    Now, type "reset" in APEX, and it should be good. -Ming
view · edit · print · history · Last edited by sdm485.
Based on work by Rob Lockhart, Phil Endecott, and mathieu_xwave.
Originally by Phil Endecott.
Page last modified on December 30, 2007, at 08:36 AM