Author Topic: Display access from bootloader / Portable binary test  (Read 80095 times)

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12258
  • Emergencies only
Re: Display access from bootloader / Portable binary test
« Reply #75 on: July 16, 2016, 10:38:25 AM »


(thanks atonal)

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3192
  • 5D3 / M1 / 7D / 70D / SL1 / M2
Re: Display access from bootloader / Portable binary test
« Reply #76 on: July 26, 2016, 11:41:30 AM »

Quote from: g3gg0
@DeafEyeJedi:
can you try the one from my last post too?

Sorry didn't realize I missed out on this one. My bad!



Thanks @a1ex for the reminder.
5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101 • EOSM2.*

Bens8806

  • Just arrived
  • *
  • Posts: 1
Re: Display access from bootloader / Portable binary test
« Reply #77 on: July 29, 2016, 10:30:41 PM »
Not sure if this thread is still active but my 70D recently stopped working on me. The top screen works with all button functionality but the rear LCD does not come on, and the shutter button doesn't work. The SD card is also not recognized when one is inserted, with magic lantern or not. So when I heard about this, I tried it and got it to pop up. Here is my screenshot. PLEASE HELP! I do not want to send my camera to canon only for them to backdoor into it and reset the firmware or something easy and charge hundreds of dollars for that to happen.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12258
  • Emergencies only
Re: Display access from bootloader / Portable binary test
« Reply #78 on: July 30, 2016, 04:00:28 AM »
Try this ROM dumper and send me the resulting files. Also please send me your old ROM files, which you should have saved during ML installation (or any older copy you can find on your card, under ML/LOGS).

Do you have access to a second camera that runs ML, or to a phototransistor that you can connect to your soundcard input like this? We may need it to see Canon's debug messages during startup.

(I'll move your post to the emergency section)

rpt

  • Freshman
  • **
  • Posts: 83
  • 5DIII, 24-105, 40 2.8, 100-400, 600EX
Re: Display access from bootloader / Portable binary test
« Reply #79 on: July 30, 2016, 08:40:53 AM »
Here is my image for the 5D3 firmware 123



20160730_115241 by Rustom Taraporevala, on Flickr


Is there a test for the 7D2 that I can do?

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12258
  • Emergencies only
Re: Display access from bootloader / Portable binary test
« Reply #80 on: September 29, 2016, 12:13:52 AM »
Managed to emulate the 1000D and the old 5D in QEMU, so I could debug the VxWorks display test as well. There were many mistakes, regarding load address, caching bit, FIR signing... probably impossible to figure out blindly.

Portable autoexec: autoexec.bin (works on any EOS camera with the bootflag enabled, from DIGIC 2 to DIGIC 6)
For 1000D: DISP1000.FIR (tested in QEMU)
For 450D: DISP450D.FIR (tested in QEMU)
For 40D: DISP_40D.FIR (tested in QEMU)
For 30D: DISP_30D.FIR (not tested)
For 5D: DISP__5D.FIR (tested in QEMU)

FIR files for other models (any DIGIC) available on request.

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3192
  • 5D3 / M1 / 7D / 70D / SL1 / M2
Re: Display access from bootloader / Portable binary test
« Reply #81 on: September 29, 2016, 06:16:17 PM »
Excellent progress @a1ex!
5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101 • EOSM2.*

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1474
  • 6d - Nightly build user
Re: Display access from bootloader / Portable binary test
« Reply #82 on: September 30, 2016, 09:56:44 AM »
Hi Alex, I'm interested in the 1000d file, but the links to the fir files seems dead ?

Are these FIR files to be used to enable the bootflag on these camera models ? Seems like a yes

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12258
  • Emergencies only
Re: Display access from bootloader / Portable binary test
« Reply #83 on: September 30, 2016, 10:11:15 AM »
Fixed the links (and also added the 450D).

The portable autoexec was confirmed to work on 400D by eduperez:


Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1474
  • 6d - Nightly build user
Re: Display access from bootloader / Portable binary test
« Reply #84 on: September 30, 2016, 12:54:05 PM »
I can't update the firmware with the FIR on the 1000d with current firmware version 1.0.7.

I put the FIR file on a SD card.
Run firmware update from Canon menu.
It asks me if I want to update, I press OK.
After that A screen appears,
----------------------------------
Firmware update program

          Loading...

----------------------------------
After a second or so, the color of the letters and the background color changes.
After another second, the background starts flickering/flashing and this goes on forever...waited for more then 5 minutes...
The camera doesn't react to the on/off switch.
So I pulled the battery out and restart the cam, still works like before  :D

Is there something wrong with the FIR file ?





a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12258
  • Emergencies only
Re: Display access from bootloader / Portable binary test
« Reply #85 on: September 30, 2016, 01:18:32 PM »
Yes, forgot to include this fix, should be fine now.

These FIRs contain only the display test; they won't modify anything in the camera.



BTW, the 40D, the 450D and the 1000D can do:

- in-camera MJPEG ( 40D PoC )
- RAW video ( lv_save_raw )
- full-res silent pictures ( FA_CaptureTestImage )
- most other ML stuff ( 40D only needs minor tweaks apparently )

If there is interest, I can help with the boot process (the hard part) and let you figure out the rest.

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1474
  • 6d - Nightly build user
Re: Display access from bootloader / Portable binary test
« Reply #86 on: September 30, 2016, 03:26:53 PM »
Yeah, LIVEVIEW can give the good ML features  :D

Downloaded the updated FIR file for 1000d, still got the flickering display.
Only this time the colors are different, and the text below disappears (in the other FIR file, the text was visible during flickering)
----------------------------------
Firmware update program

          Loading...

----------------------------------

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1474
  • 6d - Nightly build user
Re: Display access from bootloader / Portable binary test
« Reply #87 on: September 30, 2016, 03:59:40 PM »
I'm interested in a 1000d Port.
Full-res silent pictures would make it a great time-lapse camera  8)

I've got time, so if I can be guided trough the so called easy part  :P I can give it a try.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12258
  • Emergencies only
Re: Display access from bootloader / Portable binary test
« Reply #88 on: September 30, 2016, 04:16:08 PM »

I've got time, so if I can be guided trough the so called easy part  :P I can give it a try.

Cool, the first - very easy - task is to blink the LED. You only need some google-fu skills (hint: use coutts' 1000d_dev repostitory).

I'll ask Edu to run a 400D FIR tonight. Not sure what's wrong - maybe the 1000D has only 64MB RAM, but the bootloader configures it as 128MB?!

(I'm placing the image buffer at 0x4000000 = 64MB, so this may explain the issue)

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1474
  • 6d - Nightly build user
Re: Display access from bootloader / Portable binary test
« Reply #89 on: September 30, 2016, 04:35:46 PM »
'(I'm placing the image buffer at 0x4000000 = 64MB, so this may explain the issue)'
Does this mean you updated the FIR file and can I give a new try ?

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1474
  • 6d - Nightly build user
Re: Display access from bootloader / Portable binary test
« Reply #90 on: September 30, 2016, 04:45:36 PM »
I've found coutts' 1000d_dev repostitory

Did run the 1000d.FIR that comes with it, and now I have a 1000d with blinking blue led.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12258
  • Emergencies only
Re: Display access from bootloader / Portable binary test
« Reply #91 on: September 30, 2016, 09:06:55 PM »
Alright, now make both LEDs blink, in alternating sequence.

Updated the 1000D FIR too.

Ant123

  • Contributor
  • Member
  • *****
  • Posts: 121
Re: Display access from bootloader / Portable binary test
« Reply #92 on: October 01, 2016, 12:17:31 AM »


Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1474
  • 6d - Nightly build user

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12258
  • Emergencies only
Re: Display access from bootloader / Portable binary test
« Reply #94 on: October 01, 2016, 04:53:46 PM »
Hm, so it most likely has only 64MB...

In this case, you can replace raw video with a handful of LiveView silent pictures :P

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1474
  • 6d - Nightly build user
Re: Display access from bootloader / Portable binary test
« Reply #95 on: October 01, 2016, 04:56:39 PM »
I can live with that  ;)
My interest is in the full res silent picture function of ML in combination with the timer options  :D

mir66

  • New to the forum
  • *
  • Posts: 4
Re: Display access from bootloader / Portable binary test
« Reply #96 on: November 03, 2016, 08:44:53 PM »
For 5D: DISP__5D.FIR (tested in QEMU)
Is there something wrong with the FIR file ?
1. Firmware Ver. 1.1.1
2. Current version is 1.1.1 Update?
3. OK
4.Firmware update program
Update file cannot be found.
Please check the memory card and reload the battery and try again.
5.After reset:
Firmware update program Loading... and black screen.

regards

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12258
  • Emergencies only
Re: Display access from bootloader / Portable binary test
« Reply #97 on: November 03, 2016, 09:04:15 PM »
Probably. Can you send me a ROM dump so I can try to debug it?

mir66

  • New to the forum
  • *
  • Posts: 4

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12258
  • Emergencies only
Re: Display access from bootloader / Portable binary test
« Reply #99 on: November 04, 2016, 09:33:12 AM »
Alright, so the problem is only with the FIR; the autoexec method works fine.

The portable ROM dumper doesn't work on very old models (5D2/500D generation and earlier) because their bootloaders don't have file writing functions (or at least I wasn't able to find them).

You can get the ROM dump from ML (Debug menu).