These files will script the process outlined here in order to prepare your SD card for a CHDK installation.
If you have a card larger than 4 GB, the solution is to create two partitions on your card: a small FAT16 partition, and a larger FAT32 partition. (The FAT16 partition can be very small, like 2 MB, and must be the first partition on the card.) You would then install the CHDK boot files (DISKBOOT.BIN and possibly PS.FIR) on the FAT16 partition, and everything else on the FAT32 one. When using this system, CHDK will start from the FAT16 part of the card. It will then automatically detect the larger FAT32 partition, and "switch over" to use that one. All images, movies, etc. will be stored on the large partition, and all CHDK scripts and data files will be read from there. (The smaller partition cannot be accessed once CHDK is loaded, so don't put any scripts or other files on it that you want to use!)
The scripts have the potential to PERMANENTLY delete your data if you mistype the arguments. Please be cautious when using these scripts unless you understand what each command accomplishes.
- Download the correct version of CHDK for your camera model and firmware
- Check the disk label for your SD card reader via
diskutil list
- Run the partitioner script with the disk label, e.g.
./chdk-partitioner /dev/disk2
- Run the formatter script with the disk and parition label, e.g.
./chdk-formatter /dev/disk2s1
- Transfer
DISKBOOT.BIN
andPS.FI2
files to the first smaller partition (labeled by default as "Canon_DC") - Transfer the
CHDK
folder and its contents to the second larger partition (labeled "MEDIA")
- If your card is < 4GB, you'll only need to use the formatter script.
- If you're on Windows, maybe this will work for you: http://www.zenoshrdlu.com/macboot/macboot.html