Author Topic: Canon 1200D  (Read 379307 times)

olivierrobespierre

  • New to the forum
  • *
  • Posts: 3
Re: Canon 1200D
« Reply #125 on: May 21, 2016, 05:32:08 PM »
Well, isn't it easy to compile some kind of "nightly build" for the 1200D and share that?
A+

mk11174

  • Contributor
  • Hero Member
  • *****
  • Posts: 809
Re: Canon 1200D
« Reply #126 on: May 22, 2016, 04:38:40 AM »
No, cant make a build for the camera until it is configured for the model and firmware,  I have the first stage ready, but it needs someone with the camera to do the rest and test it. Long way from that, my tutorial was to help get a new user going with qemu to make things go quicker, but it may never be finished if you dont have someone with experience with coding and actually has the camera. Every camera has uses different adddresses for everything,  so only a build for that camera and that firmware will work on that camera.
500D/T1i  550D/T2i  600D/T3i  700D/T5i

mathias

  • New to the forum
  • *
  • Posts: 29
Re: Canon 1200D
« Reply #127 on: May 23, 2016, 05:28:22 AM »
Thanks a lot Mathew!

I could build ml and also qemu, dumped my 1200D firmware, downloaded fjriosp fork and tryed to load it with qemu but i'm getting this error:

./qemu-1.6.0/arm-softmmu/qemu-system-arm -M ML-1200D
00000000 - 00000FFF: eos.tcm_code
40000000 - 40000FFF: eos.tcm_data
Failed to allocate 1073737728 B: Cannot allocate memory

I am sending you my firmware by pm if you can helpme.

Thanks again!

mk11174

  • Contributor
  • Hero Member
  • *****
  • Posts: 809
Re: Canon 1200D
« Reply #128 on: May 23, 2016, 01:02:13 PM »
No problem Mathias,  if u use my 1200d repo, you wont get the error,  it will get you into qemu so u can see magic lantern menu. I dont know how much he did or didnt do on his version, but on mine, its enough to get magic lantern going, so maybe its best to start there.  Then you can start  double checking stubs between both of ours, and your finds and double checking everything else. Its going to be lots of work you will need to do to get it going no matter what, but at least on my version, it gets you started in magic lantern.
500D/T1i  550D/T2i  600D/T3i  700D/T5i

mathias

  • New to the forum
  • *
  • Posts: 29
Re: Canon 1200D
« Reply #129 on: May 23, 2016, 03:16:31 PM »
Thank you Matt! You are amazing!
I could run in qemu your branch and also fjriosp branch. So as you recommended I'll continue with this one.

Alex as far as I know you were helping fjriosp with 1200D porting, looks like he gave up, i've tried to contact him (facebook, twitter, etc) but no luck. Can you helpme on what's next step?


nikfreak

  • Developer
  • Hero Member
  • *****
  • Posts: 1197
Re: Canon 1200D
« Reply #130 on: May 23, 2016, 04:11:28 PM »
where's the bitbucket repo for this work? Next steps could be:

  • create a hello world fir and if it succeeds:
  • create the firmware installer to make porting life easier

a1ex might assist otherwise I can do if the ID for 1200D is added to the signer and you share your repo.
70D.112 & 100D.101

mk11174

  • Contributor
  • Hero Member
  • *****
  • Posts: 809
Re: Canon 1200D
« Reply #131 on: May 23, 2016, 04:16:26 PM »
No problem, if you want it to look correctly in qemu, just go get a nightly from say 700D and unzip its contents into the sdcard folder you should of created during one of the steps in the tutorial I made for you. You can tell your missing them cause its not finding them when qemu loads. Bascially you mainly need the ML folder in the sdcard folder you created.
500D/T1i  550D/T2i  600D/T3i  700D/T5i

mk11174

  • Contributor
  • Hero Member
  • *****
  • Posts: 809
Re: Canon 1200D
« Reply #132 on: May 24, 2016, 10:19:41 PM »
Guess I should add my repo here for 1200D https://bitbucket.org/mk11174/1200d for anyone that wants to start working on it, it is from fjriosp repo, but up to date with ML unified. Better starting point. It loads in QEMU at Hello World and is ready to move on. Sorry I can't help out anymore since I don't have that camera.
500D/T1i  550D/T2i  600D/T3i  700D/T5i

Axel Esteban

  • New to the forum
  • *
  • Posts: 2
Re: Canon 1200D
« Reply #133 on: May 29, 2016, 02:43:40 PM »
Good morning, any news from ML for 1200? I have one and would like to use it with ML for my videos. Just don´t know how to program but if I can be of some help please let me know. I´m from Argentina and use the camera mostly for photographic jobs, but if I would have ML could make use of HDR that is what interest me the most. Sorry about my spanish. Thanks a lot!

mathias

  • New to the forum
  • *
  • Posts: 29
Re: Canon 1200D
« Reply #134 on: June 05, 2016, 03:24:04 AM »
Soon I will be running hello world in my T5, already requested a fir file to alex, this is the First step to run ml in this camera

I verifyed stubs and are ok, so I am very exited to move foward.


How can I run ml without having a fir file (wich seems to need encryption)?

Is posible to make sd card bootable with EOScard.exe and add ml files inside? I am wondering about this in order not to keep asking other developers to get a .fir file for me.

Thanks

ToXiCRising

  • New to the forum
  • *
  • Posts: 7
Re: Canon 1200D
« Reply #135 on: June 19, 2016, 11:38:01 AM »
i would also like to help but sadly i cant code
so if there is anything i can do to help i will

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Canon 1200D
« Reply #136 on: June 20, 2016, 11:37:00 AM »
Progress: QEMU is now able to boot Canon GUI :)

You will need the qemu branch to try it.

http://www.magiclantern.fm/forum/index.php?topic=2864.msg168603#msg168603



Unfortunately, mathias' autoexec doesn't boot yet.

mathias

  • New to the forum
  • *
  • Posts: 29
Re: Canon 1200D
« Reply #137 on: June 28, 2016, 02:03:55 AM »
Well, new little step, hello world working in my camera.




nikfreak

  • Developer
  • Hero Member
  • *****
  • Posts: 1197
Re: Canon 1200D
« Reply #138 on: June 28, 2016, 02:09:22 PM »
congrats. Keep up your work. I know exactly how it feels like  ;D
70D.112 & 100D.101

marcotonet

  • New to the forum
  • *
  • Posts: 3
Re: Canon 1200D
« Reply #139 on: June 28, 2016, 02:42:32 PM »
Hi guys, i'm totally new in Canon and i'm looking everywhere for any news about ML for 1200D. Are you working on it? I've tried it on a 600d and it's amazing!

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 8603
Re: Canon 1200D
« Reply #140 on: June 29, 2016, 07:59:33 AM »
See messages above yours.
But do not expect to see ML for 1200D anytime soon. My advice: If your cam is not supported by ML now act like there will be no ML port ever.

mathias

  • New to the forum
  • *
  • Posts: 29
Re: Canon 1200D
« Reply #141 on: July 03, 2016, 05:46:40 AM »
I was able to run boot loader in my camera, but can't open ML menu, looks like delete button is not mapped so not handled to open ML Menu. How can I check/debug button press? or where to look?

Thanks!

nikfreak

  • Developer
  • Hero Member
  • *****
  • Posts: 1197
Re: Canon 1200D
« Reply #142 on: July 03, 2016, 09:30:49 AM »
Where's your source repository located? I think if you cloned magic-lantern\platform\1100D.105\gui.h then it should work in terms of button mapping. It's also a good idea to clone magic-lantern\platform\1100D.105\internals.h but herein you want to uncomment "#define CONFIG_PROP_REQUEST_CHANGE" to be rest assured that you don't brick your cam on early porting stage. Better create a bitbucket repo now. You can't get merged into nightlies if you don't do so,

Normally you can visually check the button codes within debug ML menu with a delay set to 300ms.

If the menu doesn't come up it might be something else (especially in stubs.S and consts.h).

You can disable most of the features or internals and uncomment the lines within code which then would cause a few compile errors and start with a minimal autoexec.bin just to see if you can then bring up ML menu. Guess it would be also a good idea to merge your source into dmspy-experiments branch to be able to create log files. Within them you can trace some useful adresses for vram and such.
70D.112 & 100D.101

mathias

  • New to the forum
  • *
  • Posts: 29
Re: Canon 1200D
« Reply #143 on: July 03, 2016, 05:54:35 PM »
Hi nikfreak,

I already cloned into   https://bitbucket.org/matias82/magic-lantern/

Also cloned all 1100D stuff in 1200D platform, fjriosp has added almost all stubs ( I verified them based in my dump) and alex added/modified son const and internals.

I also removed everything in features to strat testing one by one.

About what you said

uncomment "#define CONFIG_PROP_REQUEST_CHANGE"

You mean to undefine? I got confused cause the commentary above this line says opposite, undef this line in early ports...

I am learning magic lantern code every day but still very new... patience needed here!!!

Actually I think I need to know is where to look and how to test my buttons

Thans you all, as far as I keep learning I cant believe how far did this project grow.

nikfreak

  • Developer
  • Hero Member
  • *****
  • Posts: 1197
Re: Canon 1200D
« Reply #144 on: July 03, 2016, 06:25:55 PM »
Yes i meant undefine it
70D.112 & 100D.101

mathias

  • New to the forum
  • *
  • Posts: 29
Re: Canon 1200D
« Reply #145 on: July 04, 2016, 06:26:58 PM »
with almost no features I run it in qemu 1.6 (can not run in 2.5 file missing error is still showing) and i get this error:

tcc: error: invalid option -nostdlib


what do i am missing, i gues is a problem compileing

--- edit ---
well, diggin deeper, I found that this could the cause of file not found error.

nikfreak

  • Developer
  • Hero Member
  • *****
  • Posts: 1197
Re: Canon 1200D
« Reply #146 on: July 04, 2016, 07:55:49 PM »
70D.112 & 100D.101

mathias

  • New to the forum
  • *
  • Posts: 29
Re: Canon 1200D
« Reply #147 on: July 04, 2016, 11:14:13 PM »
That just renamed the sym file, but problem persist
Error loading 'ML/MODULES/x70_100.sym': File does not exist


I am still having this error

tcc: error: invalid option -nostdlib

maybe my compile is kinda broken? I am missing a file? some wrong config for tiny c complier?

nikfreak

  • Developer
  • Hero Member
  • *****
  • Posts: 1197
Re: Canon 1200D
« Reply #148 on: July 05, 2016, 06:34:01 AM »
Tried it only in qemu? Give it a go in your cam
70D.112 & 100D.101

mathias

  • New to the forum
  • *
  • Posts: 29
Re: Canon 1200D
« Reply #149 on: July 05, 2016, 01:59:32 PM »
In my cam I don t have error but neither ml menu opens, no log files...