How to reflash a Slauson
From CSL Wiki
From the bootloader using serial and tftp
1. Reboot or reset and hold 'ctrl-c' on the serial console to stop the boot sequence. This should stop the bootup in the bootloader and you'll get a console "Redboot>". If you have problems, make sure the flow control on the serial port is off. 2. Make sure an Ethernet cable is attached and start the networking driver.
net start
3. If there is no DHCP server this will timeout without getting an IP address. You'll need to configure it manually. 'help ipaddr' will give you the correct syntax for setting this. Then set your tftp server:
ip_address -h 131.179.144.13
4. Setup a TFTP server somewhere and add the slauson_jffs2.img file from the upgrade files to this directory.
5. Erase the entire jffs2 image from flash.
fis erase -f 0x001c0000 -l 0x1e00000
6. Load the file into RAM. (we are using 1.11, so if tftpboot on bluejay...)
load -r -m tftp -b 0xa0100000 slauson-1.11/1.11/slauson_jffs2.img
7. Write the JFFS2 fs to flash... you need to add the length with a -l (could be a different value)
length of slauson-1.11/1.11/slauson_jffs2.img should be 0xb00000
fis write -f 0x1c0000 -b 0xa0100000 -l 0xb00000
8. Reboot. (command is "reset" and it takes a long time to boot the first time!)
Using nfs
- Bring up Ethernet.
- Mount the firmware upgrade directory somewhere on your node.
- Run 'upgrade.sh 1.11' and wait for reboot
- Now go and update with your kernel + modules + any binaries you've been using.
- All done.
The image is available here ftp://sensorguest:sensoria@ftp.sensoria.com/slauson/slauson-1.11.tar.gz
