CHDK install on ubuntu linux

NB! everything you do is done on your own risk and I don’t  bear any responsibility on possible damage

CHDK (Canon Hack Development Kit) is a neat way to extend functionality of your pocket digital Canon camera. You can read more on the project wiki. This guide is done for personal reference and should be treated as such. Based on CHDK FAQ and bootable card manual.

Steps:

  1. insert memory card into the reader
  2. open terminal and execute
    sudo dmesg
  3. in the output you’ll see
    [82219.970240] mmc0: new high speed SDHC card at address 97b6
    [82219.975070] mmcblk0: mmc0:97b6 SD08G 7.42 GiB
    [82219.975167]  mmcblk0: p1

    Where mmcblk0 is the device name for MeMoryCard

  4. run GParted in the terminal:
    sudo gparted /dev/mmcblk0
  5. in GParted unmount the memory card: select partition, right click -> unmount
  6. delete the partition from the card
  7. create new FAT16 partition with size of 16Mb and label it as chdk
  8. create new FAT32 partition on free space and label it canon
  9. apply changes
  10. Close GParted when
  11. unmount the card (if needed), This time from desktop icons
  12. remove and insert the card into the card reader
  13. Determine partitions’ devices, run sudo dmesg command again
    you’ll see

    20593.542629]  mmcblk0: p1 p2

    where p1 and p2 are ids of new partitions. So the device of chdk partition is /dev/mmcblk0p1

  14. Unmount the partitions (from the desktop)
  15. make card’s first, chdk, partition bootable: open terminal and run following command combination
    echo -n BOOTDISK | sudo dd bs=1 count=8 seek=64 of=/dev/mmcblk0p1
  16. mount the partitions again by removing and inserting the card into the card reader
  17. find out the version of you firmaware
  18. find the firmware you need, download and unpack it
  19. copy Diskboot.bin to chdk partition and CHDK folder to the FAT32 canon partition
  20. unmount the card, make it write protected by pulling the trigger on the card itself
  21. insert the card in the camera and enjoy CHDK

So thats about it, you can find more info on the project wiki. Feel free to comment and share you experience

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s