supplierdeeply

DryOS R47 cameras can boot from SD card > 4GB without partitioning !!!!!!

  • 26 Replies
  • 8101 Views
*

Offline philmoz

  • *****
  • 2936
    • Photos
Advertisements
At least the IXUS 310 HS can and from the look of the firmware dump the SX220 & SX230 will be able to as well.

The new firmware will autoboot from a FAT32 formatted card if the 'BOOTDISK' signature string is found at offset 0x1E0.
For FAT12 or FAT16 it still requires the 'BOOTDISK' string at offset 0x40.

All I can say is thank you Canon !!!!!!!

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)

*

Offline msl

  • *****
  • 1187
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
That are great news!  

Many thanks for these important finding.

@whim: We need a CardTricks update  :D

msl
German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!

*

Offline funnel

  • ****
  • 349
Good find.

Confirmed, works on sx220 with an 8GB card. I can have it on both 0x40 and 0x1E0 or just 0x1E0 without 0x40.

*

Offline philmoz

  • *****
  • 2936
    • Photos
Good find.

Confirmed, works on sx220 with an 8GB card. I can have it on both 0x40 and 0x1E0 or just 0x1E0 without 0x40.

You shouldn't put the BOOTDISK signature at 0x40 on a FAT32 formatted card - this will overwrite other information and may cause problems.

I've found a new function in the firmware for R47 that writes the BOOTDISK signature to the card correctly based on the formatting type. I will add this to my new signature finder and we can use it to replace the current call to UpdateMBROnFlash. This will allow CHDK to make any SD card bootable on these cameras directly within CHDK (assuming you can boot manually with the firmware update method).

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)


*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
@philmoz
You're quite right, almost seems like a wink from Canon to CHDK

@msl
Yeah, CT really needs updating ... I'm in France again though, there's lots of distractions,
such as mushroom hunting & Tour de France ...

later,

wim

I'm in France again though, there's lots of distractions,
such as mushroom hunting

In July ?

Summer truffles, early Cep's or Chanterelles ?

Just a word of caution - in platform_camera.h having 

    #define CAM_DRYOS_2_3_R39 1

for camera's older than R39 causes immediate failures on boot as the structure used by stat() changes and causes a malloc to blow up.  Whatever #defines added for R47 should probably be well commented as to what they do.

*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
@microfunguy

Mostly chanterelles (Cantharellus cibarius, called 'giroles' here) and I've just found this
year's first 'trompettes de la mort' (Craterellus cornucopioides)
First 'giroles' were found the day before I arrived. It is true that these mushrooms used to only
appear much later in the year in the Pyrenees, usually August as far as I can remember.
According to whom you want to believe it could be random variation or climate change.
We don't get truffles here, but plenty of cepes (Boletus edulis/aureus), although those
have not been spotted this year so far.

cheers,

wim


As a final off-topic comment, I cannot resist posting this photo of a single days collection in the Spring :-





Hi phil.

Wow, what a finding! Would this work on my sx130?

Maybe "BOOTDISK" should be at a different offset ?!?

Thanx!

Jeff
La parcimonie, c'est bien beau, mais faut pas trop en mettre.

 

Related Topics