adding dual partition support for >2012 camera's and exFAT for all - page 2 - Feature Requests - CHDK Forum  

adding dual partition support for >2012 camera's and exFAT for all

  • 35 Replies
  • 8899 Views
*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: adding dual partition support for >2012 camera's and exFAT for all
« Reply #10 on: 13 / September / 2022, 08:12:16 »
Advertisements
alas, this 6131 build you posted did not boot on my 121a cam with a dual partition fat/exfat card.


Thanks for testing. Not completely surprising - I'll check all the code and see if I can spot the problem.

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)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: adding dual partition support for >2012 camera's and exFAT for all
« Reply #11 on: 13 / September / 2022, 09:23:41 »
@mlapse


Just to make sure I'm working from a known base can you please try this version.
This is the base SVN code build (Ximr display version) for M3.


Single partition card only.

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)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline Mlapse

  • *****
  • 584
  • S95 S110
Re: adding dual partition support for >2012 camera's and exFAT for all
« Reply #12 on: 13 / September / 2022, 09:44:37 »
very fresh osd this version :)
so, yes this works.
frustration is a key ingredient in progress

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: adding dual partition support for >2012 camera's and exFAT for all
« Reply #13 on: 13 / September / 2022, 19:46:39 »
@mlapse - attempt 2 attached.
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)
  g7x2 (1.01a, 1.01b, 1.10b)


*

Offline Mlapse

  • *****
  • 584
  • S95 S110
Re: adding dual partition support for >2012 camera's and exFAT for all
« Reply #14 on: 14 / September / 2022, 03:37:39 »
i thought 3rd was a charm, but this is only the second try.

great, this version boots.
haven't tested everything yet, that takes some more time.
but i wanted you to know that this works.
« Last Edit: 14 / September / 2022, 03:45:44 by Mlapse »
frustration is a key ingredient in progress

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: adding dual partition support for >2012 camera's and exFAT for all
« Reply #15 on: 14 / September / 2022, 18:02:30 »
i thought 3rd was a charm, but this is only the second try.

great, this version boots.
haven't tested everything yet, that takes some more time.
but i wanted you to know that this works.


Thanks. Let me know how the dual partition goes on the M3.

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)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: adding dual partition support for >2012 camera's and exFAT for all
« Reply #16 on: 14 / September / 2022, 18:24:19 »
@Mlapse @Mlapse

As an M3 owner I’ve been following your developments and testing with interest.

Once things are validated, will you be updating the ‘prep your card’ page, ie with guidance and advice: https://chdk.fandom.com/wiki/Prepare_your_SD_card

Will the dual partition ‘just’ appear in the XIMR download area?


Cheers


Garry

*

Offline Mlapse

  • *****
  • 584
  • S95 S110
Re: adding dual partition support for >2012 camera's and exFAT for all
« Reply #17 on: 15 / September / 2022, 02:12:29 »

Once things are validated, will you be updating the ‘prep your card’ page, ie with guidance and advice: https://chdk.fandom.com/wiki/Prepare_your_SD_card

never gave that any thought....except for the bold text question in the beginning of this thread
since for me it is virtually the same as creating a dual boot card for pre 2012 cams. with one exception, you do not need a fat32 formatting tool.
but i'll mull over it and if i have something, propose an addition to that page in this thread here. that way you can comment on it before i change the wiki page.

Quote
Will the dual partition ‘just’ appear in the XIMR download area?

that is actually a question best answered by philmoz who makes the changes needed to make this work.
however seeing that ximr resolves a few issues. i think the future of digic 6/7 cams is ximr and expect it to become the only build at some point.

it's a small world after all, i've been looking at your bracketing script with interest.
sadly since i have a lot of prior things to solve before i can use the m3 in my setup i haven't come around to test it yet.
it's still on my 'to do' pile.
« Last Edit: 15 / September / 2022, 02:37:22 by Mlapse »
frustration is a key ingredient in progress


*

Offline Mlapse

  • *****
  • 584
  • S95 S110
Re: adding dual partition support for >2012 camera's and exFAT for all
« Reply #18 on: 15 / September / 2022, 03:01:22 »
making a dual partition card for >2011 cam.
@philmoz creating a dual partition seems not yet is included in the M3 build. sorry my bad, looking at the wrong build

@pigeonhill, does this work for you or is this unclear at any point?

this method is only suitable for large sd cards (SDXC) on >2011 cams that use the card lock boot method.
although it will give minor speed gains on cards sized 64GB, consider if you want the trouble a dual partition card can give.
if your card is 256GB or bigger you might encounter missing CHDK modules at boot with a FAT32 formatted card.
in that case this is your only solution to make it work.

needed: 64Gb or larger sdxc card, pc with Chimp, >2011 chdk capable cam, chdk build that supports dual partition (available at this moment for: S100, S110, G1X and M3-121a)

-if you have a single partition card, unpack the build to your sd card.
-place the card in your cam. card locked or with firmware update.
-go to chdk menu>miscellaneous stuff>Sd card> create dual partition
-place the card back in your pc, quick format the second partition to exFAT
-place the correct build without the CHDK folder on the first, small FAT partition
-place the correct build with the CHDK folder on the second exFAT partition
-use Chimp to make the card bootable
-lock the card and place it in your camera

if you want to make the card single partition again:

-use Chimp to remove the bootflag. if you don't the dual partition bootflag will be there even after formats and you'll be unable to remove it with Chimp unless you reformat to dual partition.
-delete the files on the FAT partition
-place the card in your cam and do a quick format
-quick format the card on your pc in your favorite file format


added as method 4: Using Chimp   https://chdk.fandom.com/wiki/Prepare_your_SD_card
« Last Edit: 15 / September / 2022, 11:01:01 by Mlapse »
frustration is a key ingredient in progress

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: adding dual partition support for >2012 camera's and exFAT for all
« Reply #19 on: 15 / September / 2022, 19:32:01 »
The dual partition changes for M3 1.21a have been checked into SVN for both trunk (1.6) and ximr branch.


Ximr builds updated on Google drive.

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)
  g7x2 (1.01a, 1.01b, 1.10b)

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal