Author Topic: Canon EOS 4000D / 3000D / Rebel T100  (Read 5001 times)

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12290
  • Emergencies only
Canon EOS 4000D / 3000D / Rebel T100
« on: January 26, 2019, 11:37:54 PM »
Just received a firmware dump from this model.

ROM dumper (requires an SD card formatted as FAT32):
4000D

Code: [Select]
  Magic Lantern Rescue
 ----------------------------
 - Model ID: 0x422 4000D
 - Camera model: Canon EOS 4000D / Rebel T100
 - Firmware version: 1.0.0 / 1.9.2 1B(13)
 - IMG naming: 100CANON/IMG_0213.JPG
 - Boot flags: FIR=0 BOOT=0 RAM=-1 UPD=-1
 - ROMBASEADDR: 0xFF0C0000
 - card_bootflags 106744
 - boot_read/write_sector 106f38 107030
 - 101DE4 Card init => 2
 - Dumping ROM0... 100%
 - MD5: (yours will be different)
 - Dumping ROM1... 100%
 - MD5: (yours will be different)
 - No serial flash.
 - Saving RESCUE.LOG ...

To emulate (Canon GUI working out of the box):
- pretend it's a 1300D
- apply the following ROM patch:
Code: [Select]
dd if=ROM1.BIN of=BOOT.BIN bs=64k skip=1 count=1
dd if=BOOT.BIN of=ROM1.BIN bs=64k seek=511
- throw away ROM0 (it's not connected)
- change flash model ID to 0x003825C2 (1300D has 0x003925C2)
- CURRENT_TASK 0x2F53C
- 0xFE1171B4 DebugMsg
- 0x3888 task_create



TODO:
- commit the emulation sources (my job)
- start porting ML (your job; follow the 1300D thread)

Have fun!

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 6871
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #1 on: January 26, 2019, 11:46:57 PM »
Wait a moment! They called it Rebel T100? Really?
The pre-Arnold edition?

SCNR!
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

critix

  • Contributor
  • Member
  • *****
  • Posts: 113
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #2 on: January 29, 2019, 07:11:54 AM »
You can give me the files ROM0 and ROM1?
Thanks
Canon 1300D, 500D, EOS M, EOS M2

byteturtle

  • Just arrived
  • *
  • Posts: 1
  • EOS 4000D
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #3 on: January 29, 2019, 10:05:30 AM »
I sent it to you in PM.

best regards,
byteturtle

critix

  • Contributor
  • Member
  • *****
  • Posts: 113
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #4 on: January 29, 2019, 10:27:41 AM »
Thank you.
Is there a 4000D branch?
Now I'm working on the values in the stubs.S file
Canon 1300D, 500D, EOS M, EOS M2

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 3736
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #5 on: January 29, 2019, 04:34:25 PM »
Got it working in QEMU following a1ex's instructions:



A few notes:
  • Couldn't just add a 4000D directory because it is not supported yet
  • I put the dumps in the 1300D directory and edited debugmsg.gdb
  • "change flash model ID to 0x003825C2 (1300D has 0x003925C2)" that's in qemu-eos/qemu-2.5.0/hw/eos/eos.c
  • ROM0.BIN is still needed with this hack

Saw the tweet on this:



Quote
Porting Magic Lantern is expected to be very easy...

ROFLMAO!
5D3.* 7D.206 700D.115 EOSM.203 EOSM2.103 M50.102

critix

  • Contributor
  • Member
  • *****
  • Posts: 113
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #6 on: January 29, 2019, 06:50:23 PM »
Quote
Couldn't just add a 4000D directory because it is not supported yet
It's work... I add a 4000D directory and run it... it's work
A step forward: D
Canon 1300D, 500D, EOS M, EOS M2

micheleq65

  • New to the forum
  • *
  • Posts: 2
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #7 on: February 25, 2019, 08:37:29 PM »
Hello, I just got a 4000D ... can someone share the ROMs ?

Thank you so much.

Michele

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 6871
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #8 on: February 26, 2019, 07:32:18 AM »
Forum rules: https://www.magiclantern.fm/forum/index.php?topic=934.msg1141#msg1141
"-Illegal content publishing and linking is prohibited. Under no circumstances may you post copyrighted material to which you do not own the right, especially proprietary Canon firmware code."

ROM files are considered to fall into this category.
And you are - no offense - a newcomer ...

Why not just running the dumper as the people did you are asking?
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

micheleq65

  • New to the forum
  • *
  • Posts: 2
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #9 on: March 02, 2019, 11:24:14 PM »
Point taken ... thanks for the notice.

Michele

beropolis

  • New to the forum
  • *
  • Posts: 3
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #10 on: August 11, 2019, 11:32:35 AM »
Hi, I was able to install ML on eos 4000d, I just don't know which key starts ML on my camera
after loading I have such a screen
https://photos.app.goo.gl/uBBgxHQtpbqR2fEG8

critix

  • Contributor
  • Member
  • *****
  • Posts: 113
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #11 on: August 11, 2019, 02:49:51 PM »
You run ROM dumper, not ML install...
for this device, you cannot run ML yet
Canon 1300D, 500D, EOS M, EOS M2

beropolis

  • New to the forum
  • *
  • Posts: 3
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #12 on: August 11, 2019, 03:56:11 PM »
thanks for the info. it is a pity that you can not do anything on this camera model

critix

  • Contributor
  • Member
  • *****
  • Posts: 113
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #13 on: August 11, 2019, 04:02:48 PM »
unfortunately, we cannot run ML on this device, at least not now ...
Canon 1300D, 500D, EOS M, EOS M2

cdrivex4

  • New to the forum
  • *
  • Posts: 2
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #14 on: September 01, 2019, 12:57:15 AM »
very interested in 1. Assisting development to be able to 2. getting this on my newly purchased 4000D and working.
Any assistance in gaining traction would be great.

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 6871
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #15 on: September 01, 2019, 03:23:03 PM »
It may help telling what skills you have. Unicorn level:
- C and Assembler for embedded systems (preferable ARM architecture) and lots of time.

For starters: Making QEMU run in your environment. See sticky tweet.
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

cdrivex4

  • New to the forum
  • *
  • Posts: 2
Re: Canon EOS 4000D / 3000D / Rebel T100
« Reply #16 on: September 02, 2019, 03:02:49 PM »
Er skills... yeah.. have flashed lineageOs on my phone before, reasonably good at following instructions.
The main gravitation to this thread and to help out was i saw "dfort" has got it working to a degree.
If i can get there or further an help get it working on camera ill be a happy camper. Probably best to assume am an idiot, an as i go along ill post back what am doing and/or understanding of things.

See sticky tweet.
 --yeah have read through "The sticky to end all stickies" "https://www.magiclantern.fm/forum/index.php?topic=11108.0 "
Have also startedreading through thread "Canon EOS 1300D / Rebel T6" as looks to be mirroring what may happen here.

Will be working from windows8.1, have never used qemu(got it installed now) before, but have worked with VMwware, virtualbox.

So far from what ive understood.
you guys provide various forms of "autoexec.bin", this works during the boot proc an tell the camera to either "dump" rom or load "ML" from memory card an would then save some settings to memory card, so in the event of a glitch during boot format memory card and start again.

Would i be creating a ROM dump then patch or something else?