SX30 IS Release - available on the autobuild server - page 24 - CHDK Releases - CHDK Forum

SX30 IS Release - available on the autobuild server

  • 282 Replies
  • 87494 Views
*

Offline philmoz

  • *****
  • 3146
    • Photos
Re: SX30 IS Release - available on the autobuild server
« Reply #230 on: 17 / August / 2011, 04:01:41 »
Advertisements
Also, does this work with 64GB cards?  I tried partitioning it, created 2 partitions, FAT16 on the first one, 2mb.  FAT32 on the second one.  I swap the partitions back and forth when going to windows and it seems to work fine in that regard.  Script boots up properly, but camera says insufficient memory.  It's like it doesn't know it should be looking on the second partition.  I tested when in windows and swapped the large partition to the first, I can copy files to/from it.  Just the cam doesn't see it (script is definitely loading). 

It should work; but I've never tested it on a card that large.
Attached is a version with an alternate method of handling the partitioned card - see if it helps.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)

*

Offline philmoz

  • *****
  • 3146
    • Photos
Re: SX30 IS Release - available on the autobuild server
« Reply #231 on: 17 / August / 2011, 04:07:02 »
Not sure I'll have time to play with it before I leave, so I may not be using CHDK on this trip (since my only other card is tiny, I definitely need the larger card). 

Enjoy your trip, post some pictures when you get back :)

I would really recommend picking up one or two 4GB cards and putting CHDK on them.
You can disable CHDK on these quickly by just unlocking the card and restarting - on the 64GB card you need to mess around with partition swapping etc (unless you reformat which can be a pain when travelling and you've already got images on the card).

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)

*

Offline woot

  • *
  • 12
Re: SX30 IS Release - available on the autobuild server
« Reply #232 on: 17 / August / 2011, 07:56:09 »
It should work; but I've never tested it on a card that large.
Attached is a version with an alternate method of handling the partitioned card - see if it helps.

Didn't work.  When I go to the file browser in CHDK, I see the directory with CHDK on it (not sure if that is normal or it should show me the new partition).  If you tell me a little about how CHDK does its partition switch, I might be able to debug a little bit.  Still new to CHDK, though.  I will dig through the wiki to make 100% sure that I didn't miss something small on the partitioning setup.  


*

Offline woot

  • *
  • 12
Re: SX30 IS Release - available on the autobuild server
« Reply #233 on: 17 / August / 2011, 08:19:45 »
Enjoy your trip, post some pictures when you get back :)

I would really recommend picking up one or two 4GB cards and putting CHDK on them.
You can disable CHDK on these quickly by just unlocking the card and restarting - on the 64GB card you need to mess around with partition swapping etc (unless you reformat which can be a pain when travelling and you've already got images on the card).

The swapping didn't seem that bad, just one extra step.  Messing with multiple partitions, messing with multiple cards. All the same to me.  I'll try to find some 4GB cards while I'm there.  This puny 512mb one will literally drive me crazy if I bother with it.

Thanks, can't wait!  Going to Tibet and places around China (couple cities and nature reserves).  I swear I'm bringing more camera gear than clothes.  Everything in a 22" roller.  Almost 3 weeks.

Oh and when I get back, I'm going to build an eq mount. I managed to scrounge together most of the parts I need, just need some time!




*

Offline philmoz

  • *****
  • 3146
    • Photos
Re: SX30 IS Release - available on the autobuild server
« Reply #234 on: 17 / August / 2011, 08:23:28 »
It should work; but I've never tested it on a card that large.
Attached is a version with an alternate method of handling the partitioned card - see if it helps.

Didn't work.  When I go to the file browser in CHDK, I see the directory with CHDK on it (not sure if that is normal or it should show me the new partition).  If you tell me a little about how CHDK does its partition switch, I might be able to debug a little bit.  Still new to CHDK, though.  I will dig through the wiki to make 100% sure that I didn't miss something small on the partitioning setup.  


The startup code hooks the firmware code that handles the SD card initialisation. It examines the partition table and if it finds a large FAT32 partition it tries to make the firmware use it instead of the default (1st) partition.

The attached version will blink the power LED 10 times when it gets to the relevant startup code - this will tell me if the code it getting called. I've also changed the partition type check in case the large partition type is somehow different on a really large card.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)

*

Offline woot

  • *
  • 12
Re: SX30 IS Release - available on the autobuild server
« Reply #235 on: 17 / August / 2011, 08:33:55 »
The attached version will blink the power LED 10 times when it gets to the relevant startup code - this will tell me if the code it getting called. I've also changed the partition type check in case the large partition type is somehow different on a really large card.

Blinks 10 times (really fast, so if there is some distinction between 9 and 10 blinks let me know).  It then chimed as usual, then crashed.  I also noticed this zip file is only 332k.  I used Cardtricks since I already had it up and did a CHDK->card with overwrite.  (Just in case this deletes anything you were expecting me to keep).


*

Offline woot

  • *
  • 12
Re: SX30 IS Release - available on the autobuild server
« Reply #236 on: 17 / August / 2011, 08:38:14 »
Give me a few mins.  Stupidly I did not check for an error msg when I originally formatted my card.  It's NTFS.  Having trouble formatting as FAT32, but I'll try to figure it out.

*

Offline woot

  • *
  • 12
Re: SX30 IS Release - available on the autobuild server
« Reply #237 on: 17 / August / 2011, 08:46:26 »
Give me a few mins.  Stupidly I did not check for an error msg when I originally formatted my card.  It's NTFS.  Having trouble formatting as FAT32, but I'll try to figure it out.

Ok it wasn't really NTFS, apparently NTFS uses the same partition type (7) as exFat.  Same result when I reformatted it as exFat (shows up as NTFS in SDM Installer Type 7(NTFS).



*

Offline philmoz

  • *****
  • 3146
    • Photos
Re: SX30 IS Release - available on the autobuild server
« Reply #238 on: 17 / August / 2011, 08:53:25 »
Give me a few mins.  Stupidly I did not check for an error msg when I originally formatted my card.  It's NTFS.  Having trouble formatting as FAT32, but I'll try to figure it out.

Ok it wasn't really NTFS, apparently NTFS uses the same partition type (7) as exFat.  Same result when I reformatted it as exFat (shows up as NTFS in SDM Installer Type 7(NTFS).



Ok, so it gets to the code (blinks) - that's good.
The crash is probably because of the partition type - I changed it to accept any partition type and swap to it. I thought the cameras could handle exFat; but perhaps they can't.

You should be able to format it as FAT32 from the command line (assuming you use Windows):
    format X: /FS:FAT32
where X: is your card drive letter when you've switched to the large partition.

If you can get the partition formatted to FAT32 then the previous version (non-blinking) should work.

Phil.

(The zip file is smaller because I only uploaded the boot files, not the full package).
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)

*

Offline woot

  • *
  • 12
Re: SX30 IS Release - available on the autobuild server
« Reply #239 on: 17 / August / 2011, 09:05:00 »
Alright.  So I can't format using windows format (says volume is too big for FAT32).  I'm pretty sure the camera does support exFat because when the camera formats the card itself, that is the format it writes. 

I just verified I am definitely using exFat, and I definitely applied the scripts right. 

I think there may be a way to force FAT32 on this card.  There are some utilities, but they didn't work for me (could not recognize my device).  I'll search for other ways of formatting it FAT32. 

 

Related Topics