Canon EOS M100 firmware dump - page 2 - Firmware Dumping - CHDK Forum

Canon EOS M100 firmware dump

  • 17 Replies
  • 6071 Views
Re: Canon EOS M100 firmware dump
« Reply #10 on: 24 / February / 2019, 08:54:41 »
Advertisements
In theory, it would likely be possible to port CHDK to it (and other DIGIC 7 PowerShots), but it appears that no-one is interested enough to start such an effort.

I'm not lacking in interest ...

Lack of knowledge and the time factor deter me. I always wanted to download the development environment and build a version for the M3.
M100 100a, M3 101a, 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline srsa_4c

  • ******
  • 4229
Re: Canon EOS M100 firmware dump
« Reply #11 on: 24 / February / 2019, 10:26:57 »
I'm not lacking in interest ...
I know, the remark was not directed toward you (or any other forum member). It's about the hypothetical person(s) who could do it but don't find it worth their time. Unlike ~ ten years ago.

*

Online Ant

  • ****
  • 440
Re: Canon EOS M100 firmware dump
« Reply #12 on: 24 / February / 2019, 10:35:13 »
who could do it but don't find it worth their time. Unlike ~ ten years ago.


Nine in my case...  :)

*

Offline fe50

  • ******
  • 3115
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Canon EOS M100 firmware dump
« Reply #13 on: 09 / March / 2019, 03:45:22 »
Added the
  • EOS M100 1.00A
full 32MB dump by c_joerg from this forum post to the CHDK DSLR FW dumps repository.


Re: Canon EOS M100 firmware dump
« Reply #14 on: 14 / March / 2020, 09:52:58 »
Hi all,
I own a Canon EOS M100 and M6, and am thinking I'd take a stab at porting CHDK to these. I'm pretty new to all this though, so for my first day, I just figured out how to write and run Canon BASIC scripts, and I've also executed the "Improved Universal Dumper" (https://chdk.fandom.com/wiki/Canon_Basic/Scripts/Dumper#Improved_universal_dumper) on both my cameras and got the dumps out of both.

The "Improved Universal Dumper" ran flawlessly for me, but I do have some questions:
1. When I compared the checksum of the dump from my camera, vs the copy posted here, they are not the same. Is this to be expected? Both firmwares are the same version "100a", and so I was expecting the dumps to be identical. The first 20mb or so are identical, but after that it's different:
Code: [Select]
head -c 21000000 PRIMARY.BIN | shasumProduces the same shasum for both copies, but this does not:
Code: [Select]
head -c 22000000 PRIMARY.BIN | shasum
2. I see in the uploaded 7z file a Strings.txt with what appears to be strings in the dump. Could you point me to how that file is generated? I tried something like:
Code: [Select]
strings -10 -t x PRIMARY.BINBut the output appears different:
Code: [Select]
5272 !!!!Mount SD-Card ERROR
5292 0@DISKBOOT.BIN
52a7 @--- DISKBOOT.BIN start ABORT!!! ---
52d0 DISKBOOT.BIN is started.
52ec ROMWRITE.BIN
(I'm on a Mac, which may be the problem).


Finally, I'm going to try and figure out what my next steps should be, based on this:
https://chdk.fandom.com/wiki/Adding_support_for_a_new_camera

But please let me know if you have any pointers.

Thanks!
« Last Edit: 14 / March / 2020, 09:56:03 by jackgene »

*

Offline srsa_4c

  • ******
  • 4229
Re: Canon EOS M100 firmware dump
« Reply #15 on: 14 / March / 2020, 10:15:24 »
Hi,
1. When I compared the checksum of the dump from my camera, vs the copy posted here, they are not the same. Is this to be expected? Both firmwares are the same version "100a", and so I was expecting the dumps to be identical. The first 20mb or so are identical, but after that it's different:
Code: [Select]
head -c 21000000 PRIMARY.BIN | shasumProduces the same shasum for both copies, but this does not:
Code: [Select]
head -c 22000000 PRIMARY.BIN | shasum
The differences are due to camera specific things. Either calibration related (sensor defects, etc), or camera specific settings (set in Canon menus and elsewhere).

Quote
Finally, I'm going to try and figure out what my next steps should be, based on this:
https://chdk.fandom.com/wiki/Adding_support_for_a_new_camera
Well. There already is an unfinished port for the M100, see here. That patch will no longer apply cleanly because parts of that code have already been committed. My development efforts are currently put on hold due to the corruption issue I mentioned in that thread.

For development, see these threads:
https://chdk.setepontos.com/index.php?topic=13718.0
https://chdk.setepontos.com/index.php?topic=11316.0
https://chdk.fandom.com/wiki/Digic_6_Porting

I skipped answering the strings question because I don't know how that list is made and GHidra creates a list of strings anyway.

Re: Canon EOS M100 firmware dump
« Reply #16 on: 14 / March / 2020, 11:45:41 »
Hi,
1. When I compared the checksum of the dump from my camera, vs the copy posted here, they are not the same. Is this to be expected? Both firmwares are the same version "100a", and so I was expecting the dumps to be identical. The first 20mb or so are identical, but after that it's different:
Code: [Select]
head -c 21000000 PRIMARY.BIN | shasumProduces the same shasum for both copies, but this does not:
Code: [Select]
head -c 22000000 PRIMARY.BIN | shasum
The differences are due to camera specific things. Either calibration related (sensor defects, etc), or camera specific settings (set in Canon menus and elsewhere).

Quote
Finally, I'm going to try and figure out what my next steps should be, based on this:
https://chdk.fandom.com/wiki/Adding_support_for_a_new_camera
Well. There already is an unfinished port for the M100, see here. That patch will no longer apply cleanly because parts of that code have already been committed. My development efforts are currently put on hold due to the corruption issue I mentioned in that thread.

For development, see these threads:
https://chdk.setepontos.com/index.php?topic=13718.0
https://chdk.setepontos.com/index.php?topic=11316.0
https://chdk.fandom.com/wiki/Digic_6_Porting

I skipped answering the strings question because I don't know how that list is made and GHidra creates a list of strings anyway.

Thanks for the quick response. The dump differences makes sense now.

I'm going to have a look at the existing M100 efforts, and go from there!

*

Offline fe50

  • ******
  • 3115
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Canon EOS M100 firmware dump
« Reply #17 on: 22 / March / 2020, 04:37:37 »
...
2. I see in the uploaded 7z file a Strings.txt with what appears to be strings in the dump. Could you point me to how that file is generated?

I included the "Strings.txt" file in the archiv files just for convenience for developers, they are not needed for development.

The file is generated with the "BinText file text scanner" by Foundstone Inc, now McAfee.
This (free) tool is only available for MS Windows, but there are many other similar tools to extract strings from any given file.

The BinText tool is still available for download from the McAfee site, the download link with a short description can be found here:

https://www.aldeid.com/wiki/BinText


 

Related Topics