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.

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.

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
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 (  5DSR (  7D2 ( 7D (

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 (; 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 ( (works on any*) firmware version; confirmed by jcareaux)
* BFE__5DS.FIR ( (works on any*) firmware version; not yet confirmed, but an older version of this code was used by g3gg0)
* source code (

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 (


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 ( (copy autoexec.bin and make your card bootable ( - EosCard/MacBoot/
- the portable ROM dumper ( (you need a FAT12/16/32 SD card)
- anything compiled from the 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 ( 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++)

Next steps

Roughly the same as 5D4 ( 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.
Title: Re: Canon 5DS / 5DS R
Post by: martin.nieuwoudt on April 08, 2019, 02:40:41 PM
Hi A1ex,

Has there been any further development on ML support for the 5DSr?

I've used ML extensively with other cameras, just not this one.

I am a little confused about the installation procedure you proposed:

1. Install Boot flag .fir file
2. Install Digix 6 dumper.

Is that correct?