Author Topic: Canon 5D Mark III / 5D3 / Firmware 1.3.4  (Read 40934 times)

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10558
  • 5D Mark Free
Re: Canon 5D Mark III / 5D3 / Firmware 1.3.4
« Reply #75 on: November 30, 2017, 01:03:44 PM »
Downgraded to 1.3.4 and installed your build (Nov18). Camera acting like crazy after toggling FPS override on and off (from default config). Same issue after compiling from source.

Going to try the downgrade.

edit: PROP_PROHIBIT_UPDATE_VESION is not saved into ROM at shutdown - the change is temporary (in RAM). Downgraded to 1.1.3 without any trouble after changing this property to 112.

dfort

  • Hero Member
  • *****
  • Posts: 2202
Re: Canon 5D Mark III / 5D3 / Firmware 1.3.4
« Reply #76 on: November 30, 2017, 08:05:55 PM »
Camera acting like crazy after toggling FPS override on and off (from default config).

Reproduced here. Thanks.

edit: PROP_PROHIBIT_UPDATE_VESION is not saved into ROM at shutdown - the change is temporary (in RAM). Downgraded to 1.1.3 without any trouble after changing this property to 112.

Interesting, is there going to be a way for ML users to downgrade without having to use EOS Utility? That would be sweet!
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10558
  • 5D Mark Free
Re: Canon 5D Mark III / 5D3 / Firmware 1.3.4
« Reply #77 on: November 30, 2017, 08:20:53 PM »
Yes, as easy as running the upgrade from ML. Making this persistent (so one can run the 1.1.3 FIR from a fresh card, without loading ML) is probably difficult (may require ROM flashing); an item in the Debug menu (maybe "Downgrade to 1.1.3") should be fine. I've always ran the firmware updates directly from ML anyway.

Tempted to upgrade everything to 1.3.5 (maybe over the weekend) and drop 1.2.3 once the new one works reasonably well (even though most of my reverse engineering notes were on 1.2.3... oh well.)

dfort

  • Hero Member
  • *****
  • Posts: 2202
Re: Canon 5D Mark III / 5D3 / Firmware 1.3.4
« Reply #78 on: November 30, 2017, 11:37:27 PM »
Tempted to upgrade everything to 1.3.5 (maybe over the weekend)

I was thinking the same thing. I would have gotten 1.3.5 up to the point where I've got 1.3.4 is by now but I've been busy with other non-ML tasks. In any case, there are still bugs to squash and you know better than anyone where to find them.
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103

dfort

  • Hero Member
  • *****
  • Posts: 2202
Re: Canon 5D Mark III / 5D3 / Firmware 1.3.4
« Reply #79 on: December 01, 2017, 12:00:59 AM »
Camera acting like crazy after toggling FPS override on and off

Fixed.

That was a beginner's syntax error.

src/fps-engio.c
Code: [Select]
-    #elseif CONFIG_5D3_134
+    #elif CONFIG_5D3_134
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103

dfort

  • Hero Member
  • *****
  • Posts: 2202
Re: Canon 5D Mark III / 5D3 / Firmware 1.3.4
« Reply #80 on: December 03, 2017, 06:55:06 AM »
Slightly off topic -- Yay!



Well, almost. There's an error message and crash log showing up in QEMU and the camera doesn't like it yet.

Here's the error message:

ASSERT00.LOG
Code: [Select]
ML ASSERT:
streq(stateobj->type, "StateObject")
at ../../src/state-object.c:255 (stateobj_start_spy), task ml_init
lv:0 mode:3

ml_init stack: 1ac558 [1ac5a8-1a85a8]
0xUNKNOWN  @ 6d974:1ac590
0x0006DA88 @ 9ad24:1ac588
0x0006D368 @ 6dae8:1ac558

Magic Lantern version : Nightly.2017Dec02.5D3135
Mercurial changeset   : 2a59b522da79+ (update-to-5D.135-wip) tip
Built on 2017-12-03 05:07:22 UTC by [email protected]
Free Memory  : 0K + 4009K

I started a update-to-5D.135-wip branch which is a branch of the 5D.134 pull request branch. I also made a dummy pull request just to see all of the changes.

Thought I'd challenge myself and see if I could do it in a day. Things were going well until I bumped into a problem with RESTARTSTART. All of the 5D3 firmware versions were using 0x00069500 but something didn't seem right. I searched the forum and came up with this post on the ML on EOS-M2 topic (déjà vu). Here's a comparison between the 5D3.123 and 5D3.135:

Code: [Select]
# 5D3 1.2.3
sys_mem_start   0x00146c00
sys_mem_max        1064960
user_mem_start  0x000692d0
user_mem_max        878216

# 5D3 1.3.5
sys_mem_start   0x00146c00
sys_mem_max        1064960
user_mem_start  0x0006c7f0
user_mem_max        864616

I changed RESTARTSTART to 0x0006D000 - not sure if that needs to be fiddled with some more.

In any case, this is obviously not ready for testers yet.

@a1ex, I'm hopeful you'll put together a 123 to 135 update so I'm not going to make an official pull request. Hopefully you'll find something useful in the work I have already done with it.

[EDIT] Back on topic -- I did fine a few more things that needed fixing on 134 so I updated them and uploaded a new test build.
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3057
  • 5D3 / M1 / 7D / 70D / SL1
Re: Canon 5D Mark III / 5D3 / Firmware 1.3.4
« Reply #81 on: December 09, 2017, 09:33:58 AM »
Slightly off topic -- Yay!...

...Well, almost. There's an error message and crash log showing up in QEMU and the camera doesn't like it yet.

 :)

@a1ex, I'm hopeful you'll put together a 123 to 135 update so I'm not going to make an official pull request. Hopefully you'll find something useful in the work I have already done with it.

+1
5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101