====== CHDK Installation ====== The full guide is here: [[http://chdk.wikia.com/wiki/Compiling_CHDK_under_Linux|Compiling_CHDK_under_Linux]]. This is a summary of what I have done. ===== Install the toolchain ===== * execute the script given here: [[http://chdk.wikia.com/wiki/Gcc452|Gcc452]] * copy the directory ''build-dir/arm/toolchain'' to ''/usr/local/arm-elf/'' * add ''/usr/local/arm-elf/bin'' to your PATH ===== Compile the source ===== * get the source code with ''svn co https://tools.assembla.com/svn/chdk/trunk chdk'' * create a file localbuildconf.inc: PLATFORM=ixus70_sd1000 PLATFORMSUB=101b * apply get_shoot_state.patch FIXME * apply set_shutter_state.patch FIXME * compile with ''make fir'' ===== Install CHDK on the card ===== * format the card in FAT16 with a single partition (for cards > 4GB, create one FAT16 partition of 16MB and another big FAT32 partition) * make the card bootable with "''echo -n BOOTDISK | dd bs=1 count=8 seek=64 of=/dev/mmcblk0p1''" (see [[http://chdk.wikia.com/wiki/Bootable_SD_card|Bootable_SD_card]]) * Copy ''bin/DISKBOOT.BIN'' and ''bin/PS.FIR'' to the root of the SD card (the first partition for cards > 4GB) * Copy the ''CHDK'' directory to the root of the SD card (the second partition for cards > 4GB) * Unmount the card, switch it to write protect mode, and put it in the camera (or for testing purposes to avoid keeping switching the write protect switch, start the camera in play mode and do firmware update in menu). ===== Use CHDK ===== * There are some scripts here: [[chdk-scripts]]