Tuesday 14 June 2011

Sunburn - Firmware flashing tool for SPMP8000

One of the tools I needed before starting the kernel work is a Linux replacement for FRM Pro. I didn't want to boot Windows and pack the firmware into its image format every time for a firmware update so I coded up this utility that can write bootfiles with their PATs directly from Linux.

Alemaxx's and openschemes.com tools did help a lot in this, so a big thank you goes to them!
The Letcool device seems to be different to what they have had in at least two regards: It has a newer internal bootloader (ver 4) and a different type of flash chip. This didn't allow for correct dumps with romboy, and very slow dumps with frmorp.

The Sunburn utility overcomes this, by more precisely doing what FRM Pro does. I had to look through a lot of USB traces to come to this solution, but this seems to work the best.

I also want Sunburn to be the tool later on to flash Linux to the devices, allowing dual-booting of the original and the new firmware.

Now, a request to all those wanting to help:
To create a dual-boot loader later on, it would be useful to have more information about the flash chips, and layouts of all the SPMP8000 devices out there.
What you have to do is:
1. Donwload Sunburn
2. Compile it
3. Run it with the "-Di" flags
4. Post the output as a comment here

Note: Sunburn is now only available for linux and in source code.
If there is significant interest for a Windows binary, I'll look into it.