4GB SHDC Card FAT16 Autoboot (linux) - General Help and Assistance on using CHDK stable releases - CHDK Forum  

4GB SHDC Card FAT16 Autoboot (linux)

  • 3 Replies
  • 4357 Views
4GB SHDC Card FAT16 Autoboot (linux)
« on: 19 / August / 2008, 15:14:02 »
Advertisements
Hi!

I spent some time to figure out how to create a 4GB fat16
partition using linux. I didn't find it here so i just post it.
might be useful for somebody ;)

1.) do the fdisk: create 1 partition, full size, fat 16 (0x06)
for my card it looks like this:
Disk /dev/sdb: 3942 MB, 3942645760 bytes
128 heads, 63 sectors/track, 954 cylinders
Units = cylinders of 8064 * 512 = 4128768 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         954     3846496+   6  FAT16

2.) call mkfs:
mkfs.vfat -v -F 16 -s 128 /dev/sdb1   
-F 16 -> FAT16
-s 128 -> 128*512bytes=65k sectorsize

3.) copy chdk stuff on it

4.) switch on cam in playback mode, do firmware upgrade

5.) goto chdk menu -> debug -> toggle bootable

6.) remove card an switch it to locked

7.) put it back into the cam and switch it on -> it should autoboot now ;)

have fun ;)

Re: 4GB SHDC Card FAT16 Autoboot (linux)
« Reply #1 on: 05 / September / 2008, 00:10:43 »
Hi,
I have an A720is which is dryos and so it can't run CHDK unless the card has been made bootable outside of the camera.  Does anyone know how to do this on Linux?  I have tried cardtricks.exe and bootable.exe with wine, but they didn't work on my linux.

Jon

*

Offline whim

  • ******
  • 2041
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: 4GB SHDC Card FAT16 Autoboot (linux)
« Reply #2 on: 05 / September / 2008, 01:29:42 »
Read this (recently posted in the CardTricks thread)

Card Tricks - a small utility to help manage SD cards [currently v. 1.37]

wim

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: 4GB SHDC Card FAT16 Autoboot (linux)
« Reply #3 on: 05 / September / 2008, 01:52:50 »
I have an A720is which is dryos and so it can't run CHDK unless the card has been made bootable outside of the camera.  Does anyone know how to do this on Linux?  I have tried cardtricks.exe and bootable.exe with wine, but they didn't work on my linux.

Bootable SD card - CHDK Wiki:


 

Related Topics