Author Topic: Porting ML to XSi (450D)  (Read 32887 times)

LTG2004

  • Just arrived
  • *
  • Posts: 1
Re: Porting ML to XSi (450D)
« Reply #25 on: November 16, 2016, 05:34:06 PM »
Hey Ant123, could you please update those download links as i would like to test this build.. They seem to be broken :( :(

gunny2k6

  • Just arrived
  • *
  • Posts: 1
Re: Porting ML to XSi (450D)
« Reply #26 on: March 08, 2017, 10:59:53 PM »
was lucky enough to be given a 450d .. started doing google found this an updated 450d from 1.04 to 1.09 (arg when u can find it lol) then 1.10 (had to flash from eos util on pc) and gave your test files ago and it works! OK not much you can do but loads magic lantern menus !! .. I know this camera is so old now and be awesome to have more features but I guess like the most of magic lantern seems to be dead or lack of devs 😔

removed it from my sd card via format option and just stock canon again as lack of being able to do really anything with this so no point leaving it running.




botenredwolf

  • Just arrived
  • *
  • Posts: 1
Re: Porting ML to XSi (450D)
« Reply #27 on: March 24, 2017, 08:49:33 PM »
I'm also behind porting this, as I'm also running the 450D/XSi and don't mind experimenting. Also can help by dumping and building if need be, although I don't know my way around too much code, I can at least be a guinea pig.

armedchanger

  • Just arrived
  • *
  • Posts: 2
Re: Porting ML to XSi (450D)
« Reply #28 on: June 24, 2017, 08:31:51 PM »
Tried using your files but camera only flashes LED when ML450D110.fir is the only .fir file on the card.

Also tried to put original 1.1.0 firmware on the card with your fir. I can select ML450D110.fir and confirm the update and get the error message.

I'm I missing something?

Thanks

Ant123

  • Freshman
  • **
  • Posts: 69
Re: Porting ML to XSi (450D)
« Reply #29 on: June 24, 2017, 10:12:29 PM »
I'm I missing something?
Read the FAQ first...

armedchanger

  • Just arrived
  • *
  • Posts: 2
Re: Porting ML to XSi (450D)
« Reply #30 on: June 25, 2017, 09:46:41 AM »
Read the FAQ first...
Couldn't get it to work but managed to get it to work with EOScard software.

I think that there is huge potential for porting ML to XSi/450d because a lot of people use it as a 2nd camera. The intervalometer works as you said.

This thread needs more exposure and more devs joining in.

mikeuk

  • Just arrived
  • *
  • Posts: 1
Re: Porting ML to XSi (450D)
« Reply #31 on: August 26, 2017, 11:55:02 AM »
I have tried it on my 450D and it doesn't seem to work. It is installed but I can't seem to be able to load the ML menu up, Also it messes up the live mode, it flashes strange text.

When I press bin buttom this is what show up, then it crash and have to remove the battery to restart. I pressed Set and nothing happened.




I do have 1.1.0 firmware installed. Is there a different region of 1.1.0 firmware?? My camera is UK Version.

Many Thanks

Mike

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10342
  • 5D Mark Free
Re: Porting ML to XSi (450D)
« Reply #32 on: September 22, 2017, 09:31:17 PM »
Managed to emulate the 450D GUI in QEMU, and also ran some tests on Ant's build:



Animation (click to zoom):



Emulation log

Canon menu screenshots (without ML loaded):


Besides the not-so-impressive feature set, I have a few questions:

- On the actual hardware, do the fonts look as bad as in the following screenshot?



- Do the colors in the menu customization mode really look as radioactive as these?



- Does the "ETTR ETTR ETTR ETTR" message show up on actual hardware as in the above screenshot?

Another surprise: if I compile ML from the vxworks branch (here), it doesn't boot correctly. When trying to compile from Ant's repository, changeset b05d7ea7f486 does not exist (did I misread the screenshot?) and his vxworks branch doesn't work either (emulation log - it gets stuck on initial screen). Compiling from latest changeset from Ant (c700f92) gives the same result (stuck on initial screen, with LED turned on).

Unfortunately, I did not have this commit when Ant posted his build - that would have embedded his local (uncommitted) changes in the executable file - so I'm unable to re-create his binaries from the current sources.

In any case, continuing the ML port on VxWorks models just got easier by an order of magnitude - or maybe two :)

Ant123

  • Freshman
  • **
  • Posts: 69
Re: Porting ML to XSi (450D)
« Reply #33 on: September 24, 2017, 01:39:54 PM »
Does the "ETTR ETTR ETTR ETTR" message show up on actual hardware as in the above screenshot?
Yes, if you are talking about ML Prefs menu.

Quote
Compiling from latest changeset from Ant (c700f92) gives the same result (stuck on initial screen, with LED turned on).
Try this patch:
Code: [Select]
diff -r 18ac6b0f9929 platform/450D.110/init.c
--- a/platform/450D.110/init.c Sun Oct 30 14:43:33 2016 +0200
+++ b/platform/450D.110/init.c Sun Sep 24 14:27:14 2017 +0300
@@ -89,7 +89,9 @@
  // _mem_init();
  bmp_vram_idle_ptr = malloc(360*240);
  // _find_ml_card();
- msleep(550);
+ // msleep(550);
+ uint32_t size;
+    while((FIO_GetFileSize("AUTOEXEC.BIN", &size ) != 0) || (size == 0))  msleep(10);
  _load_fonts();
        // msleep(300);
  call("DisablePowerSave");
Note: I'm using gcc-arm-none-eabi-4_7-2012q4. With GCC 4.8 it stuks.