SX100 and 8/16G SDHCs and DG's FAT32 code... - General Help and Assistance on using CHDK stable releases - CHDK Forum  

SX100 and 8/16G SDHCs and DG's FAT32 code...

  • 3 Replies
  • 1888 Views
*

Offline Anaglyphic

  • ***
  • 129
  • Anaglyphic lives!
SX100 and 8/16G SDHCs and DG's FAT32 code...
« on: 20 / July / 2008, 11:03:29 »
Advertisements
Hey kids, wow what a difference a few months make... cheap little thing has already been RMA'd once for the dreaded lens error, but apparently CHDK is working on the SX100... aaaanyway....

So, the dual partition thing. Is it confirmed working on this unit? From reading the various other units that utilize this trick, I've made the first partition primary 1, active, 32M, FAT16, with the partition type descriptor set to Empty (0x0)... I've also tried leaving it as FAT16 (0x6) but as DG says, it's unimportant, "it even boots from FAT16 with 0x83". Right. So, then I the partition remainder of the card as primary 2, W95 FAT32 (0xb) and mkfs.msdos /dev/mmcblk2p1 & mkfs.vfat -F32 /dev/mmcblk2p2...
Code: [Select]
[root@cameramad ~]# fdisk -l /dev/mmcblk2

Disk /dev/mmcblk2: 8219 MB, 8219262976 bytes
69 heads, 29 sectors/track, 8022 cylinders
Units = cylinders of 2001 * 512 = 1024512 bytes
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk2p1   *           1          32       32001+   0  Empty
/dev/mmcblk2p2              33        8022     7993995    b  W95 FAT32
[root@cameramad ~]#

So I lock it, boot up CHDK, and it still wants to write to the tiny 32M partition. :(

Looking in ~/chdk/svn/trunk/platform/sx100is/sub/100c/boot.c I verified that DG's code is indeed there, but I have no way of checking the address validity other than telling you guys "it don't work for me." (slightly off topic: I thought the standard was to not include the "IS" on platform? Shouldn't this just be /sx100/)

Could it be something simple? Does CHDK expect some specific offset or something?
« Last Edit: 20 / July / 2008, 11:05:22 by Anaglyphic »
Since we cannot know all that there is to be known about anything,
 we ought to know a little about everything.
-- Blaise Pascal

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: SX100 and 8/16G SDHCs and DG's FAT32 code...
« Reply #1 on: 21 / July / 2008, 10:03:21 »
No, dual partition boot not works on SX100IS - http://chdk.setepontos.com/index.php/topic,237.msg17415.html#msg17415.
This problem not solved yet  :(

*

Offline Anaglyphic

  • ***
  • 129
  • Anaglyphic lives!
Re: SX100 and 8/16G SDHCs and DG's FAT32 code...
« Reply #2 on: 21 / July / 2008, 19:15:00 »
Ah, thanks for reply. How can I help? From the thread you linked:

Not working on my 1.00C cam - The blue printer light flashes once, then the cam remains 'dead'.

Confirmed. Build 51. Made the change and recompiled... upon power on, one flash, and 'dead'.
How much guesswork is involved in getting the hook in the right place?

This is off-topic also, but more than a couple things aren't correctly working or working at all (higher Tv in some modes but not others, regardless of setting or script loaded, etc.) I guess as time goes by each camera gets more "dialed in", I'm just glad it works at all! I have no problem running 8G cards at 4G for the time being. Not at all. Whoohoo!
:P



Since we cannot know all that there is to be known about anything,
 we ought to know a little about everything.
-- Blaise Pascal

Re: SX100 and 8/16G SDHCs and DG's FAT32 code...
« Reply #3 on: 24 / July / 2008, 10:25:12 »
I am in the same boat... have an 8GB card for my SX100 and would love to use more than half of it  :)

Wind posted an improvement to the FAT32 autodetection code that apparently makes multipartitioning work on at least IXUS860/SD870:
http://chdk.setepontos.com/index.php/topic,1950.msg17832.html#msg17832

Might this work for the SX100 as well?
SX100, S3


 

Related Topics