Utilities to make FAT16, FAT32 and exFAT CF cards bootable - page 5 - DSLR Hack development - CHDK Forum

Utilities to make FAT16, FAT32 and exFAT CF cards bootable

  • 70 Replies
  • 136283 Views
*

Offline zeno

  • *****
  • 891
Re: Utilities to make FAT16 and FAT32 CF cards bootable
« Reply #40 on: 06 / January / 2011, 05:38:51 »
Advertisements
Thanks to a couple of testers, I've found the (very stupid) mistake in MacBoot that was preventing it making cards bootable for Magic Lantern. I'd completely forgotten to write the BOOTDISK string on FAT32 cards (and only wrote it on FAT16 cards if the "make CHDK-bootable" option was selected). Version 1.02 fixes this - see http://www.zenoshrdlu.com/macboot/macboot.html

(apologies for bad link earlier = thanks Pelican)

I am hoping to do something about exFAT soon (but don't hold your breath!)
« Last Edit: 08 / January / 2011, 03:56:36 by zeno »
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

Re: Utilities to make FAT16 and FAT32 CF cards bootable
« Reply #41 on: 08 / January / 2011, 00:43:55 »
- see file:///Users/dave/Java/MacBoot/MacBoot.html
It seems like a local file...
http://www.zenoshrdlu.com/zips/macboot.zip

Will you implement the exFAT also?

« Last Edit: 08 / January / 2011, 12:37:50 by arm.indiana »

*

Offline zeno

  • *****
  • 891
Re: Utilities to make FAT16 and FAT32 CF cards bootable
« Reply #43 on: 08 / January / 2011, 18:17:27 »
@arm.indiana

nicely done, though I think the comment "# write VBR checksum (from sector 0 to sector 11) at offset 5632 (sector 12) and sector 24 (sector 24, for backup VBR)" near the end of the bash script is wrong. You are actually computing the checksum of sectors 0 to 10 and writing it in sector 11 (which is the right thing to do according to the wiki at http://magiclantern.wikia.com/wiki/EXFAT_rerated_stuf)
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit


*

Offline zeno

  • *****
  • 891
Re: Utilities to make FAT16 and FAT32 CF cards bootable
« Reply #44 on: 12 / January / 2011, 06:24:31 »
Thanks to Pelican and arm.indiana I've modified MacBoot to deal with ExFAT cards. Testing shows the strings are written in all the right places and the sector checksum properly recomputed and written back (twice). I'd appreciate a Mac user of Magic Lantern testing it - see http://www.zenoshrdlu.com/macboot/macboot.html
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Utilities to make FAT16, FAT32 and exFAT CF cards bootable
« Reply #45 on: 12 / January / 2011, 11:01:35 »
Thanks guys,

updated thread title & first post comments to reflect the changes

wim

*

Offline zeno

  • *****
  • 891
Re: Utilities to make FAT16, FAT32 and exFAT CF cards bootable
« Reply #46 on: 26 / January / 2011, 12:10:14 »
Turns out that the code I added to deal with ExFAT cards (which worked) had the side effect of screwing things up for FA16/FAT32 (which worked before). Version 1.05, now on the website, should work properly for all cards!

Thanks to Yannick  Hagmann for reporting the latest problem.
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

Re: Utilities to make FAT16, FAT32 and exFAT CF cards bootable
« Reply #47 on: 06 / March / 2011, 18:08:12 »
A new version of EOScard is available.
« Last Edit: 06 / March / 2011, 18:16:29 by Pelican »


Re: Utilities to make FAT16, FAT32 and exFAT CF cards bootable
« Reply #48 on: 05 / July / 2011, 05:33:02 »
hi

i am use the Canon PowerShort s90 and toshiba SDHC 8G class Memory Card
The card can't  format to FAT or FAT16...what step i have to follow to make the card bootable to auto load CHDK... ...

Thanks All of you> <

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Utilities to make FAT16, FAT32 and exFAT CF cards bootable
« Reply #49 on: 05 / July / 2011, 05:58:21 »
@gravegrave

Cards  > 4 GB can not be directly made CHDK bootable - they need to be partitioned.

Skywalker9 wrote a nice tutorial, which is linked here

hope that helps,

wim

PS Note that this thread is in  "DSLR CHDK Development" which is confusingly named - what runs on
    DSLR's is NOT CHDK ! THe DSLR hacks (unlike CHDK) CAN boot from FAT32 cards.
« Last Edit: 05 / July / 2011, 06:29:06 by whim »

 

Related Topics