Skip to content

danyim/chdk-prep-osx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

CHDK Card Prep Script

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!)

WARNING!

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.

Usage

  1. Download the correct version of CHDK for your camera model and firmware
  2. Check the disk label for your SD card reader via diskutil list
  3. Run the partitioner script with the disk label, e.g. ./chdk-partitioner /dev/disk2
  4. Run the formatter script with the disk and parition label, e.g. ./chdk-formatter /dev/disk2s1
  5. Transfer DISKBOOT.BIN and PS.FI2 files to the first smaller partition (labeled by default as "Canon_DC")
  6. Transfer the CHDK folder and its contents to the second larger partition (labeled "MEDIA")

Notes

  • If your card is < 4GB, you'll only need to use the formatter script.

Resources

About

A bash script for prepping cards for CHDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages