Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Pelican

Pages: 1 ... 14 15 [16] 17
376
Archived porting threads / Re: First 7D alpha released!
« on: October 13, 2012, 10:14:49 PM »

The connector difference is obvious, but only two wire go to the adapter. Either there's a chip, or the connector is the key (but then I'm sure the noname brand would have figured it out).

Thank you for sharing.
I've just checked my camera and haven't seen any connector for the extra pin of the Canon dummy battery. Interesting.

377
Archived porting threads / Re: First 7D alpha released!
« on: October 13, 2012, 02:42:38 PM »
... Genuine Canon battery and an AC adaptor. (I also have one and I can test if anyone wants)
If you have the genuine Canon AC adaptor please test it.
(Mine is a cheap one (~12 bucks) and it has no chip. I wonder if the most expensive Canon has the chip or not.)

378
Archived porting threads / Re: First 7D alpha released!
« on: October 13, 2012, 10:39:29 AM »
some time ago we discussed with Alex the "cannot communicate with battery" thing
on a stable 2.3 and he found it possible to bypass. maybe this will help.
The 'normal' ML version (run from autoexec.bin) will work with your unchipped power adapter (I've just tried  ;) ).
The alpha runs from Canon's fw update procedure which checks the battery first (because battery failure during flashing can brick the camera). You cannot bypass that, because it happens BEFORE any ML code can start. It's in Canon's code. No fw update without chipped battery. Period. :-)

So, you can test the alpha with chipped battery or you can wait for the later releases.

379
General Help Q&A / Re: Magic Lantern and many cards
« on: October 12, 2012, 06:02:05 PM »
The new version of EOScard can install Magic Lantern files to the card.
The program tries to prevent that situation when you enable bootdisk on the card but not copy autoexec.bin to it.

Also it can remove unnecessary ML files when you don't need them.
 



 http://pel.hu/eoscard

380
Forum and Website / Re: I have a dream about the homepage :)
« on: October 12, 2012, 10:46:50 AM »

Good idea,

But the dimensions are fixed width="900px" height="310px"
Try to compress around 60kb. This picture is loaded a lot.
Extra slides are also welcome. As long as it's a quick introduction to ML features.


Maybe I've got it wrong but I think he wanted to change the picture on the camera display only which is approximately 378x213.
I've made a little tool which can insert any picture to the original. To avoid distortion better to crop the picture to 16:9 format.
http://pel.hu/mlpic.php

381
General Development / Re: Gettings started as developer
« on: October 07, 2012, 04:54:51 PM »
For those who want to develop under Windows:


Download cygwin http://cygwin.com/setup.exe

Install cygwin for windows
- Check the following packages:
Archive: unzip, zip
Base: Everything
Devel: automake, autoconf, binutils, bison, byacc, gcc, gcc-core, gcc-g++, libtool, make, nasm, patchutils, subversion
Libs: libbz2-devel
Perl: perl
Python: python
Utils: bzip2, cygutils, diffutils, patch, patchutils
Web: wget
- confirm to download the dependencies too

Get http://sourceforge.net/projects/yagarto/files/YAGARTO%20for%20Windows/20111119/yagarto-bu-2.21_gcc-4.6.2-c-c%2B%2B_nl-1.19.0_gdb-7.3.1_eabi_20111119.exe/download file and run it
Install it to "yourcygwindir"/home/"yourusername"/arm-toolchain462

Download http://mercurial.selenic.com/release/windows/mercurial-2.3.2-x64.msi and install it.
 (If you have a 32-bit Windows then download the 32 bit mercurial here : http://mercurial.selenic.com/release/windows/mercurial-2.3.2-x86.msi )
Start cygwin, go to your home folder ("yourcygwindir"/home/"yourusername") and get the source:

hg clone -r unified https://bitbucket.org/hudson/magic-lantern

Go to the magic-lantern folder and create Makefile.user
Edit Makefile.user:
ARM_ABI=none-eabi
ARM_LIBC_A=../../../arm-toolchain462/arm-none-eabi/lib/libc.a
PYTHON=python2.6

Run make to compile your own autoexec.bin

382
Archived porting threads / Re: Canon 7D ML
« on: October 07, 2012, 04:28:30 PM »
This latest doesn't work for me.

Without the splash bmp:
Freezing in sensor cleaning. If I skip sensor cleaning then the camera can work but no display.
With the splash:
Splash screen appears for half of the second (but the "alpha" text is plain purple) after that the display turns black but still on and remains on this stage forever (no menu, no info, no play) Camera works otherwise.
If I skip the sensor cleaning (and the splash) then the camera and ML works normally.


I want to be sure that my compiler makes the same code as others so could anyone of you send me an autoexec.bin for 7D?

383
Archived porting threads / Re: Canon 7D ML
« on: October 05, 2012, 11:16:25 PM »
Thank you! (Both of you)
It's working... :)

384
Archived porting threads / Re: Canon 7D ML
« on: October 05, 2012, 06:55:12 PM »
I was playing with ML this afternoon and found an interesting bug.
When minute changes in the camera's clock  the Date/Time/Zone menu item displays the top of the ML stuff.
It happens only when the Date/Time/Zone menu item selected in My Menu settings.
The position of the Date/Time/Zone  item on the ML screen is the same as on the My Menu screen.
It shows on ML menu only less than a second but stays on the ML info screens (because these are drawn once?).

385
General Help Q&A / Re: 50d Bricked by ML
« on: October 05, 2012, 01:03:22 PM »
Can the admin change the title of the topic?
For example 50D NOT bricked by ML
Without change it suggests bad things...


386
Archived porting threads / Re: Canon 7D ML
« on: October 03, 2012, 10:14:02 PM »
I am waiting for this moment for 3 years... 8) OMG!
Unfortunately I'm very busy with a special Nikon camera mod/remote right now, but after that I'll jump right into the 7D ML source...

387
Archived porting threads / Re: Canon 7D ML
« on: October 02, 2012, 11:54:31 PM »
Congratulations! :)
Waiting for the video...

388
Archived porting threads / Re: Canon 7D ML
« on: October 02, 2012, 10:38:58 PM »
Good to hear... :)

389
Archived porting threads / Re: Canon 7D ML
« on: October 02, 2012, 09:10:58 PM »
code from the end of dumper.c:

Code: [Select]

...
abort_firmup1();
LOG();
abort_firmup2();
LOG();
uint32_t dummy = 0;
reboot_icu( 0x80010003, dummy, 4 );
...

Maybe this is how you can finish the fw update...

390
Archived porting threads / Re: Canon 7D ML
« on: October 02, 2012, 08:59:04 PM »
This patched updater does its job and right after the camera restarts.
No hang up just restart.
It could be enough for us, isn't it?
I mean you don't have to return from updater1...
I don't remember how the dumper code ended but you can check it.

391
Archived porting threads / Re: Canon 7D ML
« on: October 02, 2012, 07:36:56 PM »
And why you cannot purify the updater fir to a very very basic one which would set the bootflag only and do nothing else?
It could contain almost none Canon code.

(That was my idea to run ML long time ago: put the whole ML to the updater and run as a fw update, but never got working.)

392
Archived porting threads / Re: Canon 7D ML
« on: October 02, 2012, 05:28:23 PM »
you enabled the flag on 7D?
Yes, I've enabled the bootflag with the original Canon 1.1.0 fw updater patched by TH (or Indy?) wich makes the ROM dumps.

393
Archived porting threads / Re: Canon 7D ML
« on: October 02, 2012, 12:41:29 PM »
I see.
I enabled the bootflag on my camera with a patched firmware update too.
Hmm. And we cannot make a magiclantern.fir file as for the other cameras...

394
Archived porting threads / Canon 7D ML
« on: October 02, 2012, 11:40:53 AM »
Thanks to g3gg0 it's coming soon now, so it's time to open this topic... :-)
I've already built 7D ML from the latest source and started to check the features.
What is the workflow of the developing?

395
General Development / Re: Gettings started as developer
« on: October 02, 2012, 10:16:49 AM »
I'm a little bit further now...

"make" cannot extract the neccessary objects from libc.a but I've extracted them manually and copy them to the specific folder.
The menuindex.py cannot open menuindex.txt but I could build an autoexec.bin for my 7D... and it's WORKING!!!
 
[/b]
Code: [Select]
$ make V=1
( echo const char build_version[] = v2.3.NEXT.2012Oct02.7D203
/bin/sh:  ; echo const: command not found
/bin/sh:  ; echo const: command not found
/bin/sh:  ; echo const: command not found
/bin/sh:  ; ) > ../../platform/7D.203/version.c: No such file or directory
~/arm-toolchain462/bin/arm-none-eabi-gcc-4.6.2 -Wp,-MMD,./.version.o.d  -Wp,-MT,version.o  -nostdlib  -fomit-frame-pointer  -fno-strict-aliasing  -DCONFIG_MAGICLANTERN=1  -DCONFIG_7D=1  -DRESTARTSTART=0xC80100  -DROMBASEADDR=0xFF010000  -DVERSION=\"v2.3.NEXT.2012Oct02.7D203\"  -DCONFIG_DEBUGMSG=0    -Os  -Wall  -W  -mstructure-size-boundary=32  -Wno-unused-parameter  -Wno-implicit-function-declaration  -Wno-unused-function  -Wno-missing-field-initializers  -Wno-format  -std=gnu99  -D__ARM__  -I.  -I../../src    -c -o version.o ../../platform/7D.203/version.c
cd ../../doc; python2 menuindex.py
Could not open menuindex.txt
mkdir: cannot create directory `cam': File exists
~/arm-toolchain462/bin/arm-none-eabi-gcc-4.6.2 -Wp,-MMD,./.menuindex.o.d  -Wp,-MT,menuindex.o  -nostdlib  -fomit-frame-pointer  -fno-strict-aliasing  -DCONFIG_MAGICLANTERN=1  -DCONFIG_7D=1  -DRESTARTSTART=0xC80100  -DROMBASEADDR=0xFF010000  -DVERSION=\"v2.3.NEXT.2012Oct02.7D203\"  -DCONFIG_DEBUGMSG=0    -Os  -Wall  -W  -mstructure-size-boundary=32  -Wno-unused-parameter  -Wno-implicit-function-declaration  -Wno-unused-function  -Wno-missing-field-initializers  -Wno-format  -std=gnu99  -D__ARM__  -I.  -I../../src    -c -o menuindex.o ../../src/menuindex.c
~/arm-toolchain462/bin/arm-none-eabi-gcc-4.6.2 -o magiclantern -N -nostdlib -mthumb-interwork -march=armv5te -T magiclantern.lds ../../src/entry.o boot-hack.o stubs.o version.o bmp.o font-dyn.o config.o menu.o debug.o stdio.o audio.o bitrate.o property.o propvalues.o gui.o gui-common.o misc.o tweaks.o lens.o picstyle.o cfn.o zebra.o shoot.o chdk-gui_draw.o movtweaks.o my_memset.o menuhelp.o menuindex.o af_patterns.o focus.o notify_box.o bootflags.o dialog_test.o vram.o morse.o aj_port.o fps-engio.o hdr.o lv-img-engio.o state-object.o tasks.o beep.o ptp.o ptp-ml.o ptp-chdk.o libstdio.a -lm -lgcc -Xlinker -Map=location.map
~/arm-toolchain462/bin/arm-none-eabi-objcopy -O binary magiclantern magiclantern.bin
~/arm-toolchain462/bin/arm-none-eabi-gcc-4.6.2 -Wp,-MMD,./.reboot.o.d  -Wp,-MT,reboot.o  -nostdlib  -fomit-frame-pointer  -fno-strict-aliasing  -DCONFIG_MAGICLANTERN=1  -DCONFIG_7D=1  -DRESTARTSTART=0xC80100  -DROMBASEADDR=0xFF010000  -DVERSION=\"v2.3.NEXT.2012Oct02.7D203\"  -DCONFIG_DEBUGMSG=0    -Os  -Wall  -W  -mstructure-size-boundary=32  -Wno-unused-parameter  -Wno-implicit-function-declaration  -Wno-unused-function  -Wno-missing-field-initializers  -Wno-format  -std=gnu99  -D__ARM__  -I.  -I../../src    -c -o reboot.o ../../src/reboot.c
~/arm-toolchain462/bin/arm-none-eabi-gcc-4.6.2 -o autoexec -nostdlib -march=armv5te -e _start -Ttext 0x40800000 reboot.o -Xlinker --cref -Xlinker -Map=autoexec.map
autoexec.bin: 315392 bytes

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000060 0x00c80100 0x00c80100 0x4a8bd 0x55d8b RWE 0x10

~/arm-toolchain462/bin/arm-none-eabi-objcopy -O binary autoexec autoexec.bin

Edit:

Code: [Select]
$ ~/arm-toolchain462/bin/arm-none-eabi-ar x /home/Pel/arm-toolchain462/arm-none-eabi/lib/libc.a lib_a-setjmp.o
/home/Pel/arm-toolchain462/arm-none-eabi/lib/libc.a: No such file or directory
D:\util\cygwin\home\Pel\arm-toolchain462\bin\arm-none-eabi-ar.exe:

$ ls /home/Pel/arm-toolchain462/arm-none-eabi/lib/libc.a                           
/home/Pel/arm-toolchain462/arm-none-eabi/lib/libc.a

396
General Development / Re: Gettings started as developer
« on: October 01, 2012, 07:44:52 PM »
Paste the output of make V=1 in a code bbtag here and I'll see what I can do

Code: [Select]
$ make V=1
make -C /home/Pel/magic-lantern/platform/60D.111
make[1]: Entering directory `/home/Pel/magic-lantern/platform/60D.111'
~/arm-toolchain462/bin/arm-none-eabi-gcc-4.6.2 -Wp,-MMD,../../src/.entry.o.d  -Wp,-MT,../../src/entry.o  -nostdlib  -fomit-frame-pointer  -fno-strict-aliasing -DCONFIG_MAGICLANTERN=1  -DCONFIG_60D=1  -DRESTARTSTART=0x0005f000  -DROMBASEADDR=0xFF010000  -DVERSION=\"v2.3.NEXT.2012Oct01.60D111\"  -DCONFIG_DEBUGMSG=0 -c -o ../../src/entry.o ../../src/entry.S
../../Makefile.inc:159: recipe for target `../../src/entry.o' failed
make[1]: *** [../../src/entry.o] Error 1
make[1]: Leaving directory `/home/Pel/magic-lantern/platform/60D.111'
Makefile:30: recipe for target `60D' failed
make: *** [60D] Error 2
Thanks in advance!

What is the recommended developing tool under Windows 7 x64?

397
General Development / Re: Gettings started as developer
« on: October 01, 2012, 04:01:50 PM »
I'm trying to setup my computer to compile ML source again.
Once it worked fine I was able to compile ML code before but now I cannot.

I installed cygwin 1.7.16-1 with the setup.exe.
Installed yagarto-bu-2.21_gcc-4.6.2-c-c++_nl-1.19.0_gdb-7.3.1_eabi_20111119
Downloaded latest source code from bitbucket.
I changed Makefile.user.default ARM_ABI=none-eabi

$ make
make -C /home/Pel/magic-lantern/platform/60D.111
make[1]: Entering directory `/home/Pel/magic-lantern/platform/60D.111'
[ CPP      ]   magiclantern.lds
[ AS       ]   ../../src/entry.o
../../Makefile.inc:159: recipe for target `../../src/entry.o' failed
make[1]: *** [../../src/entry.o] Error 1
make[1]: Leaving directory `/home/Pel/magic-lantern/platform/60D.111'
Makefile:30: recipe for target `60D' failed
make: *** [60D] Error 2

What's wrong? Did I forget something?

398
Forum and Website / Re: Contact info on the site
« on: July 06, 2012, 03:47:47 PM »
Meanwhile I was looking at your site at HidePhotography and remember seeing that before. I wanted to build a hide around my neighborhood. Still haven't done that but it's a great idea. And what you guys have accomplished is just amazing. I also love the photo's taken. The leaf cutter ants series is stunning to name one of the many.
Thanks.
Now I see you've got a 7D. Can ML still be of use to you?
Unfortunately I've never use ML. I have 7D since it was come out. I had a 50D for a few days so I helped with testing of the first version. But I'm interested in ML developing...

399
Forum and Website / Re: Contact info on the site
« on: July 06, 2012, 03:09:05 PM »
I'll have a look
You can login but not edit pages, right ?

I can't login. Here my login name is 'Pelican' but there it converts it to 'pelican'. Maybe that is not good.

400
Forum and Website / Re: Contact info on the site
« on: July 06, 2012, 08:00:13 AM »
Still not active.

Pages: 1 ... 14 15 [16] 17