CHDK/porting the CHDK

Q. What are the necessary steps to port the CHDK firmware on a DIGIC II cam which is currently not supported?
A. This is not easy, but here is a basic description of the procedure to give you a general idea:
 * First you need either the original firmware or a firmware dump of your camera.
 * The firmware dump can be obtained with a special firmware dumper which has to be adjusted for your camera.
 * It is a firmware update file where one of the files inside (WriterInFIR.bin) has been patched in a way that it will make a memory dump onto the SD card. Usually this is possible if another platform-dependant code is disabled (this includes but is not limited to: LCD, LEDs, sound).


 * Create a platform subdirectory for a new camera model/fw version (you can just copy an existing one).


 * Find the adresses of the RAW-, video- and frame-buffers.


 * Modify a couple of addresses and constants.


 * Check the keyboard "driver" (button constants and behaviour).


 * Check the addresses of autofound functions. Manually correct/find the right addresses for some of them with a disassembler like IDA Pro.

Links:

Vitaly's FAQ Compiling CHDK under Linux