Magic Lantern Forum

Magic Lantern Releases => Camera-specific discussion => Topic started by: g3gg0 on February 10, 2018, 01:14:29 PM

Title: Canon 5DS / 5DS R
Post by: g3gg0 on February 10, 2018, 01:14:29 PM
just for the record, i pushed some 5Ds experiments.

booting the firmware is a bit different now, but works.
the code is hardcoded right now and just meant as experiment / documentation.

i wasnt able to display something meaningful yet.
could write into some YUV buffers or modify the graphics processor's RAM.
but not really usable at all.

THIS DOES NOT MEAN 5Ds WILL GET ML SOON!

https://bitbucket.org/hudson/magic-lantern/commits/branch/5Ds_experiments
Title: Re: Canon 5DS
Post by: DrEVILish on June 11, 2018, 08:36:35 PM
There's been a youtube Experimental test of the 5Ds.

https://www.youtube.com/watch?v=Qc0JszHkpTk

I'd like to know if there is any more details on this video there is nothing in the comments or if the video is as long as it could have been or if more can be made.
Title: Re: Canon 5DS
Post by: Walter Schulz on June 12, 2018, 12:07:11 AM
https://www.magiclantern.fm/forum/index.php?topic=20516
Title: Re: Canon 5DS
Post by: DrEVILish on June 15, 2018, 11:24:33 PM
I've just ordered a 5Ds, mainly for photography, I've been a big fan of the ML RAW video output from the 550D I've been rocking for a few years now. I've been using ML for a while now and if there is anything I can do to help the effort of getting this project working onto such a device I'd love to get stuck in, with a nod in the right direction.
Title: Re: Canon 5DS
Post by: a1ex on January 19, 2019, 09:33:53 AM
To my knowledge, there wasn't a ROM dumper published for the 5DS/R yet, so here's one:

Master/Slave:  5DS (https://a1ex.magiclantern.fm/debug/portable-rom-dumper/new/DUMP_5DS.FIR)  5DSR (https://a1ex.magiclantern.fm/debug/portable-rom-dumper/new/DUMP5DSR.FIR)  7D2 (https://a1ex.magiclantern.fm/debug/portable-rom-dumper/new/DUMP_7D2.FIR) 7D (https://a1ex.magiclantern.fm/debug/portable-rom-dumper/new/DUMP__7D.FIR)

I have no way to test it, so it may not work out of the box. All I know is that an older version of this codebase worked for 7D2 after some fiddling.

Edit Feb.10: confirmed working on the 5DS R.
Title: Re: Canon 5DS / 5DS R
Post by: a1ex on February 14, 2019, 10:40:46 PM
I've merged the 5Ds_experiments branch into digic6-dumper, to use the same codebase as 80D, 5D4, 7D2 and all other recent models. It appears to work in QEMU, but could only test it to a very limited extent. Also added initial support for 5DS R (https://bitbucket.org/hudson/magic-lantern/commits/dd9a3bd02e18149d750c88f383acd8469c93663c?at=digic6-dumper); this one was confirmed to work on real hardware by @jcareaux on twitter.

Back then, g3gg0 enabled the boot flag on 5DS without any issue, so... here it goes.

Enabling the boot flag

* BFE_5DSR.FIR (http://a1ex.magiclantern.fm/bleeding-edge/5DSR/BFE_5DSR.FIR) (works on any*) firmware version; confirmed by jcareaux)
* BFE__5DS.FIR (http://a1ex.magiclantern.fm/bleeding-edge/5DS/BFE__5DS.FIR) (works on any*) firmware version; not yet confirmed, but an older version of this code was used by g3gg0)
* source code (https://bitbucket.org/hudson/magic-lantern/src/c01979311c9743f513347ef602e08ac641a06961/src/reboot.c?fileviewer=file-view-default#reboot.c-1724)

These will modify your camera.

*) The boot flag enabling procedure is firmware-agnostic (it runs from bootloader, so it's compatible with any Canon firmware version). However, what you can do afterwards may be affected by Canon firmware version; read on.

To disable the boot flag: see these notes (https://www.magiclantern.fm/forum/index.php?topic=17360.msg204717#msg204717).


Warranty

If it breaks, you get to keep both pieces. Sorry.


What to do with it?

After enabling the boot flag on your camera, you may run:

a) with any firmware version:

- the portable display test (http://www.magiclantern.fm/forum/index.php?topic=14732.0) (copy autoexec.bin and make your card bootable (https://wiki.magiclantern.fm/install#installing_magic_lantern_on_other_cards) - EosCard/MacBoot/make_bootable.sh)
- the portable ROM dumper (http://www.magiclantern.fm/forum/index.php?topic=16534.0) (you need a FAT12/16/32 SD card)
- anything compiled from the recovery (https://bitbucket.org/hudson/magic-lantern/branch/recovery) branch, platform/portable.000 (it runs from bootloader context); check Makefile.user.default for options.

b) with 5DS R firmware 1.1.2 only, OR
c) with 5DS firmware 1.1.1 only:

- the digic6-dumper (https://bitbucket.org/hudson/magic-lantern/branch/digic6-dumper) branch (5DS R will run the experiments previously tested on 80D/5D4; 5DS will run g3gg0's experiments)

- example code to get started - a simple intervalometer (not tested, previous attempts did not work on this model, but worked on 80D, 200D, M50 etc):
Code: [Select]
    /* this goes into dump_task in minimal-d6.c (digic6-dumper branch) */
    for (int i = 0; i < 10; i++)
    {
        call("Release");
        msleep(10000);
    }


Next steps

Roughly the same as 5D4 (https://www.magiclantern.fm/forum/index.php?topic=17695.msg211912#msg211912). The basic functionality should not require any kind of dual core trickery; ML can run on the master core only, similar to 7D (there, the main core is called "slave"). In particular, I don't expect any difficulties in printing Hello World; just don't reuse the 80D addresses, as they won't work.

I'm here to help, if you have questions, but I expect you to read at least the other DIGIC 6/7/8 topics first ;)

That's it for today.