![]() |
Warning!! This document describes an advanced procedure! If you are trying to recover from a bad upgrade and are new to the NSLU2, please try the RecoverFromABadFlash procedures first.The procedure below carries a strong risk of damaging your NSLU2!!
It is especially useful if you can't get the Ethernet Port to work on the NSLU2 in redboot. Connect the serial cable as indicated here at the redboot> prompt it is possible to enter various commands. I've done the upgrade at 115200 baud using xmodem you can adjust the baudrate if required using the baudrate -b 9600 command for instance to set 9600 baud , it will ask for confirmation in the new speed. If you fail to answer 'y' at the new speed prompt it reverts back to the original speed. Not sure which legal values are available for baudrate, admittedly you're not likely to want to go at a slower speed Enter the command: And using your terminal emulator start an upload using xmodem protocol. In Windows Hyperterminal, Click Transfer - Send File - select xmodem and browse for your file. You haven't much time before the command will time out, so don't take too long browsing for your file. When it completes, it will take roughly 50mins at 115200 baud hyper terminal claims 2916cps. When the download is completed, statistics are output like: Raw file loaded 0x01000000-0x017fffff, assumed entry at 0x01000000 You can use ymodem if required command is load -r -v -b 0x01000000 -m ymodem (use ymodem-g within hyperterminal - at 115200 upload takes 20mins) Verify the firmware. RedBoot> cksumComputing cksum for area 0x01000000-0x01800000POSIX cksum = 4056400472 8388608 (0xf1c7c258 0x00800000)
RedBoot> cksumComputing cksum for area 0x01000000-0x01800000POSIX cksum = 1505985901 8388608 (0x59c3856d 0x00800000)
Write the firmware to the flash. It should just be the following command, but recheck here in case it has changed recently fis erase -f 0x50040000 -l 0x20000 Make sure you type it in exactly as you may damage other parts if you make a mistake. Restart the slug. |