Large SD cards with CHDK - General Help and Assistance on using CHDK stable releases - CHDK Forum supplierdeeply

Large SD cards with CHDK

  • 13 Replies
  • 5601 Views
Large SD cards with CHDK
« on: 29 / March / 2013, 12:15:03 »
Advertisements
So, I saw this comment on the setup page with interest for cards greater than 4GB...
Select and resize the first partition to 4 MB if you only intend to mainly use the CHDK partition. On the other hand, if you have a large card, like 16 GB, you can make this first partition any size up to 4GB, and allocate the rest (12GB) to the second (CHDK) partition. So, in case you don't want to load CHDK at all, you can run from the first partition (put the switch on the card in the UNLOCKED position), and still have a 4GB card. Or, you can run CHDK (put the switch on the card in the LOCKED position), and have a 12 GB card. Just remember that 4GB is the maximum size for the first partition, as eventually it will be converted to a FAT 16 format. Format this first partition as MS-DOS.

And I thought fantastic!!! So I patiently setup my 32GB SD card as 4GB, and 28GB (roughly), and followed the painful instructions for doing this on a mac... Got done, and thought "yes" lets try it. Well I was surprised to see that when the card is in CHDK, it writes to the small 4GB area. When it is not in CHDK, and running normally (card unlocked) it still writes to the small 4GB area. So the statement above that says CHDK will detect the larger area and use it, isn't correct.

I really liked the idea of dual use of the card. Did I do something wrong in the setup? Or was this expected. I really wanted to use CHDK for time-lapse, and that would mean 28GB would be where to store the files, not in the small 4GB bootable area.

I am using a Canon S100 with the 102a firmware. Did I misinterpret how the two partitions would be used?

Thanks
Colin.

Re: Large SD cards with CHDK
« Reply #1 on: 29 / March / 2013, 12:17:34 »
What instructions were you following? 

The only up-to-date information is here :  http://chdk.wikia.com/wiki/Prepare_your_SD_card

You don't need two paritions.  The S100 was released after 2010 which means you can format the whole card with a single FAT32 paritition and CHDK will boot and run using the whole card.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Large SD cards with CHDK
« Reply #2 on: 29 / March / 2013, 12:32:40 »
I thought that I wasn't going to be able to find those instructions again, but I just stumbled across them again. They are here: http://chdk.wikia.com/wiki/FAQ/Mac

Scroll down to the SD Card >4GB

That's where it talked about partitioning the SD Card. But you say I can just have one big partition. I think that would be preferable. If I can unlock the card to be normal camera mode, and lock the card for CHDK. Then it will always have the full 32 GB available. Or even a 128GB SDXC card that I have lying around... Sweet!

Now, I have to follow those Mac instructions again to format and make bootable... Wish there was a simple method on a mac for that.

Thx for the info.

Re: Large SD cards with CHDK
« Reply #3 on: 29 / March / 2013, 12:38:18 »
Ported :   A1200    SD940   G10    Powershot N    G16


Re: Large SD cards with CHDK
« Reply #4 on: 29 / March / 2013, 12:49:09 »
you got me really excited... I downloaded stick, and ran it, it doesn't recognise my 128GB SDXC Lexar Professional card.

NNNOOOOOO!!!!!!!!

It downloaded CHDK and everything, but didn't find a card....    :'(

Re: Large SD cards with CHDK
« Reply #5 on: 29 / March / 2013, 12:59:44 »
Follow the instructions here.  Dave usually gets back to people right away.

http://chdk.setepontos.com/index.php?topic=6956.msg96794#msg96794
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Large SD cards with CHDK
« Reply #6 on: 29 / March / 2013, 13:03:11 »
I tried it on my 32GB card and it worked a treat. It just doesn't like the 128GB card. I'll take a look at your link, and see if Dave has any ideas on the big card.

Thanks.

*

Offline srsa_4c

  • ******
  • 4451
Re: Large SD cards with CHDK
« Reply #7 on: 29 / March / 2013, 13:09:01 »
http://zenoshrdlu.com/stick/stick.html
The above page has a section named "Extra Features". By changing the app's properties file, the default size limit (64GB) can be adjusted to for example 128GB:
maxsize=128000


Re: Large SD cards with CHDK
« Reply #8 on: 29 / March / 2013, 13:28:44 »
I did see the properties file, and tried to make it 128000, even 130000. Didn't make any difference. But if I made it 256000 then it crashed with an array out of bounds error. So my changes were making a difference. Originally I was thinking it wasn't picking up my changes. But it is. There's something else about the SDXC 128GB that is not being recognised.

Looked at the log... Here's the interesting thing. It doesn't recognise the SDXC card as a card....
Scanning for suitable cards (128GB or less) ...  - please wait ...
Skipping 0 - too big - size = 480GB
Skipping 1 - too big - size = 750GB
Skipping 2 - not a card
No cards found

Yes, I have three drives. One SSD, one Hard Drive, and the SDXC... It doesn't recognise the SDXC for some reason.

Re: Large SD cards with CHDK
« Reply #9 on: 29 / March / 2013, 13:39:26 »
Don't know if Zeno (Dave) will see this, but I managed to get it going further by using Disk Utility and unmounting it, then mounting the drive again. Then Stick saw the drive, but when it tried to load I got the following errors:

awaiting permission to install
Preparing Device disk4 128.1 GB - please wait ...
Formatting ' /dev/disk4 as FAT32
Command 'diskutil unmountDisk disk4' = 'Unmount of all volumes on disk4 was successful'
   return code was 0
Command 'newfs_msdos -F 32 -v 'CANON_DC' /dev/disk4s1' = '512 bytes per physical sector
/dev/disk4s1: 250022208 sectors in 3906597 FAT32 clusters (32768 bytes/cluster)
bps=512 spc=64 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=32768 drv=0x80 bsec=250083328 bspf=30521 rdcl=2 infs=1 bkbs=6'
   return code was 0
Making card bootable  as FAT32
Command 'printf "BOOTDISK" | dd bs=1 count=8 seek=0x1e0 conv=notrunc of=/dev/disk4s1' = '
8+0 records in
8+0 records out
8 bytes transferred in 0.002049 secs (3904 bytes/sec)'
   return code was 0
Command 'diskutil mountDisk disk4' = '!Error
One or more volume(s) failed to mount'
   return code was 1
Installation failed - see log for details


 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal