EOS M ** Alpha 1 ** [FIXED][DOWNLOAD]

Started by coutts, November 23, 2012, 12:36:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

coutts

The EOS M port starts now! g3gg0 successfully dumped the firmware and set the bootflag, so we're all set to begin porting :)


--> More updates coming soon

Update 11/25/2012:


:)




Update 12/10/2012:
Alpha1 release! Let me know what bugs you notice. Almost everything that is going to work on the M is enabled now, minus audio stuff (need more work on that). Some features won't ever work though. ie: Trap Focus - because the M doesn't send focus confirmation when in manual focus.

Update 12/10/2012 #2:
- Fixed installer (thanks Alex), no more unsafe operations (ie: try to set bootflag while in live view).



Install Procedure
Refer to Unified install page:
http://magiclantern.wikia.com/wiki/Unified/Install


Warning: I'm not responsible for anything that might happen. This is an EXPERIMENTAL build. Please report bugs in this thread.
Download Alpha 1: Here

g3gg0

let the games begin ;)
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

jplxpto

Coutts & g3gg0, Congratulations ...

I never doubted that thou wert get ... You are one of my heroes :)

The party will start and I do not want to be outside ... here we go ...

jplxpto


My first contribution :)

BL address start at 0xFFFF0000

ROM address start 0xFF800000

ROM entry point at 0xF80C0000

feureau


nanomad

EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

Jockerl

Didn´t know that there is a firmware update out already.

scrax

Quote from: Jockerl on November 24, 2012, 04:26:23 PM
Didn´t know that there is a firmware update out already.
Reread the bold part  :)
Quote from: coutts on November 23, 2012, 12:36:28 AM
The EOS M port starts now! g3gg0 successfully dumped the firmware and set the bootflag, so we're all set to begin porting :)


--> More updates coming soon
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX, PS, LR, RawTherapee, LightZone -no video experience-

Jockerl

Quote from: scrax on November 24, 2012, 04:30:51 PM
Reread the bold part  :)

ohh ok :D
Will this work on the 650D, too? Or is the firmware too different?

scrax

Quote from: Jockerl on November 24, 2012, 04:33:45 PM
ohh ok :D
Will this work on the 650D, too? Or is the firmware too different?
I think it depends on the boot process maybe rather than on the firmware, a part from that, like you, I hope for it to work on other model too.
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX, PS, LR, RawTherapee, LightZone -no video experience-

coutts

The dump method we used should work on the 650D as well :) thanks A1ex!

We now have a full firmware dump so I'm expecting by tonight (EST) we should be printing "Hello World!" :)

Indy

stubs.s
// ROMBASEADDR 0xff0c0000

NSTUB( ROMBASEADDR, firmware_entry )

#define RAM_OFFSET (FFA6A658-1900) // some functions are copied to RAM at around ff0c009c; they have to be called from RAM...
//FFA6A658 assert

// 0x37338, bzero32       
NSTUB(FF0C10E4, cli_save)
NSTUB(FF0C10F8, sei_restore)
NSTUB(FF0C1C10, cstart )

NSTUB(FF137768 EnableBootDisk)
NSTUB(FF137774 DisableBootDisk)

NSTUB(FF346008, FIO_OpenFile)
NSTUB(FF347560, FIO_GetDeviceName)
NSTUB(FF3465E4, FIO_GetFileSize)
NSTUB(FF3460C4, FIO_CreateFile)
NSTUB(FF3463B8, FIO_WriteFile)
NSTUB(FF346468, FIO_CloseFile)

//FF4EF6AC drive_led_on
0x2EB8 create_inittask // 2eb8-1900+assert = FFA6BC10
FF0C5488 init_task
FFA6FC70 msleep
FFA6FD24 task_create


consts.h
#define CARD_LED_ADDRESS 0xC022C188 // like 5dm3
#define LEDON 0x138800
#define LEDOFF 0x838C00

#define HIJACK_INSTR_BL_CSTART  0xFF0C0D80
#define HIJACK_INSTR_BSS_END 0xFF0C1CBC
#define HIJACK_FIXBR_BZERO32 0xFF0C1C20
#define HIJACK_FIXBR_CREATE_ITASK 0xFF0C1CAC
#define HIJACK_INSTR_MY_ITASK 0xFF0C1CC8
//#define HIJACK_TASK_ADDR 0x23E14


coutts

ML works! check the first post :)

feureau

Hooray! \o/

Also: dat dof

a1ex

From Roger Cicala's review: the EOS-M is "a firmware update and a price drop away from being a great camera".

Now we can take care of the first part :)

scrax

Quote from: coutts on November 26, 2012, 12:16:19 AM
ML works! check the first post :)
Nice pics!
Why the double text?

Quote from: a1ex on November 26, 2012, 12:27:30 AM
From Roger Cicala's review: the EOS-M is "a firmware update and a price drop away from being a great camera".

Now we can take care of the first part :)
I'm agree with Roger, and if ML can fix autofocusing speed (by the way I had bad hangs after enabling autofocus in ML on 600D) I'm really tempted, a price drop will be perfect! (canon, are you reading?)
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX, PS, LR, RawTherapee, LightZone -no video experience-

coutts

Quote from: scrax on November 26, 2012, 12:54:49 AM
Nice pics!
Why the double text?
I'm agree with Roger, and if ML can fix autofocusing speed (by the way I had bad hangs after enabling autofocus in ML on 600D) I'm really tempted, a price drop will be perfect! (canon, are you reading?)

that's how it was idk. i didn't change the CONFIG_HELLO_WORLD code at all.

coutts

BTW menu works and can be walked. Need to figure out how to work with the small amount of buttons we have (until later when we unlock how to use the touch screen). up/down/left/right can walk the menu, play/set either toggle a setting or open a sub menu. haven't enabled any features yet.


a1ex

Suggestion:
- long SET press: open ML menu
- L/R/U/D/wheel: navigate (like it's now)
- PLAY: open submenu
- REC: see thru the menu (e.g. for white balance)

What does REC do in photo mode?

Indy

good work Coutts!

do allow other developpers working on the EOS M, why not adding a dump feature and providing a .FIR that enable the bootflag ?

Indy

coutts

Quote from: a1ex on November 26, 2012, 07:39:12 AM
Suggestion:
- long SET press: open ML menu
- L/R/U/D/wheel: navigate (like it's now)
- PLAY: open submenu
- REC: see thru the menu (e.g. for white balance)

What does REC do in photo mode?
REC doesn't send an event to gui task unless in movie mode, I tried.

I'm not sure how to implement long press but could be a good idea. the center button acts like Q in shooting mode / video mode, and set button in canon menu.


Quote from: Indy on November 26, 2012, 08:35:55 AM
good work Coutts!

do allow other developpers working on the EOS M, why not adding a dump feature and providing a .FIR that enable the bootflag ?

Indy
I'll get working on the installer asap



I found the LV buffer addresses, so now ML graphics work (histogram and zebras for now to test).

bart

Wow great job!
That was fast.

Malcolm Debono

Wedding & event cinematographer
C100 & 6D shooter
New here?  Check out the FAQs here!

jplxpto

Congratulations to Coutts, and to all others who helped.

0xAF

Well, that was fast IMO, I didn't expected to see the hello world in 2-3 days ;)
Great job guys. Keep it going ;)
// AF