[RFC 0/5] JUST-FOR-FUN: run barebox on Canon digital camera
antonynpavlov at gmail.com
Tue Aug 6 05:42:08 EDT 2013
On Tue, 6 Aug 2013 09:13:53 +0200
Sascha Hauer <s.hauer at pengutronix.de> wrote:
> On Mon, Aug 05, 2013 at 12:25:22AM +0400, Antony Pavlov wrote:
> > Please don't commit the patches!
> > This patch series introduce minimal support
> > for Canon DIGIC4-based cameras.
> > Supported cameras:
> > * Canon PowerShot A1100;
> > * Canon EOS 600D;
> > * Canon EOS Magic Lantern qemu-based emulator.
> > After booting barebox starts compiled-in script
> > that use 'mw' command to blink camera's LED.
> > Just now barebox for Canon cameras is a demo
> > but after some improvements it can become very
> > handy tool for CHDK and Magic Lantern development.
> Very cool stuff.
> I'll have to have a look what model my wifes camera is ;)
To tell the truth there is no big difference in Canon cameras
for barebox developer. You can see, that there are no differences
in a1100 and 600d code in barebox (just memory size, but it can
be moved into device tree file). Moreover AFAIR there are no significant
software model differences between the chips in the DIGIC family.
To blink the LED of your PowerShot camera you only need to know
the led-related GPIO address and canon binary file encode algorithm.
Both of this things can be obtained in the CHDK sources.
For DSRL cameras the situation is even less difficult.
> I'd be amazed if barebox could be used to help the magic lantern
If you want to help the Magic Lantern project please briefly describe
your mode of operation with incoming patches. AFAIR you have some
scripts to check all boards build after every single commit.
The Magic Lantern developers have some problems as they use
very different mode of operation:
1. commit the change to the repo;
2. fix build or functional error some time later.
I have adapted MAKEALL script from barebox for Magic Lantern,
but I have not not yet finished the script to check every new
mercurial commit (as Magic Lantern developers use mercurial).
More information about the barebox