Headline news

Want to help with Magic Lantern development, without having to code?

You can find our live webchat here: [email protected]

Author Topic: EOS M ** Alpha 1 ** [FIXED][DOWNLOAD]  (Read 273804 times)

coutts

  • Developer
  • Senior
  • *****
  • Posts: 400
EOS M ** Alpha 1 ** [FIXED][DOWNLOAD]
« 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

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
« Last Edit: December 10, 2012, 09:03:14 PM by coutts »

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 2319
EOS M
« Reply #1 on: November 23, 2012, 01:13:22 AM »
let the games begin ;)

jplxpto

  • Developer
  • Hero Member
  • *****
  • Posts: 506
EOS M
« Reply #2 on: November 23, 2012, 02:26:28 AM »
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

  • Developer
  • Hero Member
  • *****
  • Posts: 506
EOS M
« Reply #3 on: November 23, 2012, 03:45:21 AM »

My first contribution :)

BL address start at 0xFFFF0000

ROM address start 0xFF800000

ROM entry point at 0xF80C0000

feureau

  • Supporter
  • Hero Member
  • *****
  • Posts: 521
EOS M
« Reply #4 on: November 23, 2012, 04:25:04 AM »
Hooray! \o/

nanomad

  • Administrator
  • Hero Member
  • *****
  • Posts: 2917
  • All your websites are belong to us
EOS M
« Reply #5 on: November 23, 2012, 02:06:51 PM »
Grats team  ;D
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

  • New to the forum
  • *
  • Posts: 21
EOS M
« Reply #6 on: November 24, 2012, 04:26:23 PM »
Didn´t know that there is a firmware update out already.

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
EOS M
« Reply #7 on: November 24, 2012, 04:30:51 PM »
Didn´t know that there is a firmware update out already.
Reread the bold part  :)
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 - 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 Lion, Photoshop & Lightroom -no video experience- MLTools

Jockerl

  • New to the forum
  • *
  • Posts: 21
EOS M
« Reply #8 on: November 24, 2012, 04:33:45 PM »
Reread the bold part  :)

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

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
EOS M
« Reply #9 on: November 24, 2012, 04:53:20 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 - 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 Lion, Photoshop & Lightroom -no video experience- MLTools

coutts

  • Developer
  • Senior
  • *****
  • Posts: 400
EOS M
« Reply #10 on: November 25, 2012, 05:54:00 PM »
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

  • Developer
  • Member
  • *****
  • Posts: 105
EOS M
« Reply #11 on: November 25, 2012, 07:50:15 PM »
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

  • Developer
  • Senior
  • *****
  • Posts: 400
EOS M
« Reply #12 on: November 26, 2012, 12:16:19 AM »
ML works! check the first post :)

feureau

  • Supporter
  • Hero Member
  • *****
  • Posts: 521
EOS M
« Reply #13 on: November 26, 2012, 12:20:54 AM »
Hooray! \o/

Also: dat dof

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 7502
  • 5D Mark Free
EOS M
« Reply #14 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 :)

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
EOS M
« Reply #15 on: November 26, 2012, 12:54:49 AM »
ML works! check the first post :)
Nice pics!
Why the double text?

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?)
« Last Edit: November 26, 2012, 01:31:54 AM by scrax »
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - 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 Lion, Photoshop & Lightroom -no video experience- MLTools

coutts

  • Developer
  • Senior
  • *****
  • Posts: 400
EOS M
« Reply #16 on: November 26, 2012, 03:39:25 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

  • Developer
  • Senior
  • *****
  • Posts: 400
EOS M
« Reply #17 on: November 26, 2012, 03:41:44 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7502
  • 5D Mark Free
EOS M
« Reply #18 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?

Indy

  • Developer
  • Member
  • *****
  • Posts: 105
EOS M
« Reply #19 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

coutts

  • Developer
  • Senior
  • *****
  • Posts: 400
EOS M
« Reply #20 on: November 26, 2012, 08:54:33 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.


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

  • Senior
  • ****
  • Posts: 390
EOS M
« Reply #21 on: November 26, 2012, 09:05:32 AM »
Wow great job!
That was fast.

Malcolm Debono

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 708
  • Cinematographer
EOS M
« Reply #22 on: November 26, 2012, 09:46:07 AM »
Nice work!
Wedding & event cinematographer
C100 & 6D shooter
New here?  Check out the FAQs here!

jplxpto

  • Developer
  • Hero Member
  • *****
  • Posts: 506
EOS M
« Reply #23 on: November 26, 2012, 03:03:15 PM »
Congratulations to Coutts, and to all others who helped.

0xAF

  • Developer
  • Freshman
  • *****
  • Posts: 77
  • The devil in me...
EOS M
« Reply #24 on: November 26, 2012, 04:18:36 PM »
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

 

courtesy