It lets you use the same card (with the same autoexec.bin) on more
cameras (ie. you can swap cards if you have two different cameras,
both with ML).
At the same time, it will simplify the install process (i.e. which
version should I download?) and the release process (only one zip to
be uploaded).
I've tested it on 550D/1.0.9 and 60D/1.1.0. It should also work on
600D/1.0.1. Other cameras may be included, even if they are not in the
unified branch yet, so if there is any interest in having a single
binary for all cameras, please let me know.
Technical (how it works):
In reboot.c (which is pretty much the same on all cameras), the old
autoexec.bin was copying magiclantern.bin at RESTARTSTART and then
jumping to it. RESTARTSTART is camera specific.
So, I've created a new reboot-all.c which includes magiclantern.bin
for all supported cameras, detects firmware version by computing a
checksum and comparing it with known values, and copies the right
magiclantern.bin at the right RESTARTSTART. If the firmware version is
not recognized, it shouldn't boot (it tries to blink a LED, but fails,
not sure why).
https://bitbucket.org/hudson/magic-lantern/changeset/d9d25ded2d01
The old method is still available (if you compile ML as before, you
won't notice any change).
What should be tested:
- does it run on 600D?
- does it fail to load on other cameras or on wrong firmware versions?
- does it have any side effects? (like slower boot, or memory issues)
In theory, the only side effect should be a bigger autoexec.bin, which
may result in slower boot (but even on my class2 card, I did not
notice any slowdown).
The issues reported by Scrax are also present in the small
autoexec.bin, so neither of them is a side effect of including ML for
all cameras in a single binary.
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ml-devel?hl=en
For me, it hangs on 550D, but works well on 60D.
Vincent
This version shows some debug info. Please tell me:
1) if the bottom bar is still missing: the numbers from "bottom bar debug"
2) if the free space is incorrect, tell me the raw free space and
cluster size, and also the correct free space
3) if there are more crashes or redraw issues with the LCD remote icon
(my battery is empty on 550D right now, so this binary was tested only
on 60D).
Since here is the code which shows the bottom bar, and it uses some
camera-specific constants, it only worked on 60D. Whenever I was
building only the 550D ML, after changing lens.c (i.e. after adding
debug info), it was also working.
When I said that, I meant that I can include any autoexec.bin here
(for now, available autoexec.bins are for 500D and 5D2). Including the
5D2 autoexec doesn't make much sense, since it uses different cards
(CF, not SD), so you can't swap cards between a 5D2 and a 550D.
For 5D2, there's no autoexec.bin available right now. I have Pelican's
code on my dropbox, in the 50D thread, but I don't know what works and
what not (and I want to review the code myself before making an
autoexec.bin public).