Reflashing (and When Things Go Wrong™)
This article pertains to:
Reflashing the Device
SlugOS, of course, doesn't come with a web-based GUI with an "upgrade firmware" screen. But fear not - instead it has the easy-to-use "reflash" command. The reflash command can be used to reflash the entire image, or just the kernel or rootfs, if you wish. It also offers you the ability to preserve settings and customizations you may have done - a useful option for upgrading.
An important caveat - you cannot reflash if you running from flash. That's sort of like trying to replace the turbine in a jet's engine while in-flight -- not a process that's very likely to be successfully completed once started. Reflash will not let you do so, and will suggest that you reboot into a ram-disk based boot (turnup ramdisk) in order to reflash. Of course if you have turned up to disk or flash memory stick, you can reflash at will.
The following example shows how to revert back to the original firmware:
But I Can't Boot SlugOS to do a Reflash, Now What?
You did install a serial port, didn't you? If you didn't, well, now would be really good time to do that.
You'll have to find a terminal emulation utility that can do the xmodem file transfer protocol.
I Can't Boot OpenSlug, and I Can't Make My Serial Port Work Either, Now What?
Oh dear. You didn't test your serial port first? Or you didn't install one to begin with and now you find you can't make it work -- after you already reflashed? Did you not read DSMG600.SerialConsole?
Sigh. Ah well, here's what to do:
Seriously - there's little to be done unless you can either get the serial console working, or you can get the JTAG port working. Either will require some hardware expertise.