Wikia

Magic Lantern Firmware Wiki

Watchlist Recent changes

Bootdisk

Previous work by Trammel: http://magiclantern.wikia.com/wiki/Autoboot

The bootrom (at 0xffff0000) allows the loading and execution of code if:

  1. the bootdisk flag is enabled in camera (required on 400D, 500D, 550D, 600D, 1100D, 50D, 60D, 7D, at least)
  2. the boot sector contains the strings "EOS_DEVELOP" and "BOOTDISK" at the right places, depending on 3 FAT versions.

Based on bootloader 0.13, these offsets (hexa/decimal) are:

FAT version Volume Label = "EOS_DEVELOP" Bootcode+2 = "BOOTDISK" comments
FAT12/16 0x2b/43 0x40/64 works
FAT32 0x47/71 0x5c/92 works
ExFAT 0x82/130 0x7a/122 works
  • for ExFAT:
    • BOOTDISK and EOS_DEVELOP have to written in sector 0 and sector 12 (Resp. main and backup VBR)
    • A checksum has to be computed for the first 11 sectors of each VBR (sectors 0-10 and sectors 12-22), with fields 'volume flags' and 'percent in use' skipped. Sector 11 and 23 must be filed with this checksum value stored in little endian byte order.
    • See working "make_bootable.sh" version 2 and "exfat_sum.c" : http://groups.google.com/group/ml-devel/browse_thread/thread/1161d4e6e93232de
  • to check if a disk is bootable for autoexec.bin, you can use HxD editor: http://mh-nexus.de/en/hxd/

References:

Pages on Magic Lantern Firmware Wiki

Add a Page
297pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
373photos on this wiki
See more >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki