Clean Canon overlays (M10, M3, also M6, M100 via script) - page 5 - General Discussion and Assistance - CHDK Forum  

Clean Canon overlays (M10, M3, also M6, M100 via script)

  • 46 Replies
  • 7466 Views
Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #40 on: 12 / October / 2019, 04:36:49 »
Advertisements
So it's not all cameras with palette_buffer_ptr, but more than those with CAM_CLEAN_OVERLAY.

1. Why not define CAM_CLEAN_OVERLAY in all D6 cameras?
2. Otherwise, how do I determine if a camera is a D6 one?
3. I understand that g7x2 is the only D7 one. Did anyone bother looking for its palette_buffer_ptr?
Author of CHIMP, Canon Hack Installation and Management Platform

*

Offline srsa_4c

  • ******
  • 4007
Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #41 on: 12 / October / 2019, 05:34:01 »
1. Why not define CAM_CLEAN_OVERLAY in all D6 cameras?
Most D6 cams do not output HDMI signal while in rec mode. Cleaning analog output makes very little sense.
Plus, CAM_CLEAN_OVERLAY requires someone finding the required addresses (manually) and someone checking the result on an actual camera.
Quote
2. Otherwise, how do I determine if a camera is a D6 one?
It's probably best to look for ROMBASEADDR being defined 0xfc000000. platform/camera/makefile.inc or platform/camera/sub/fw/makefile.inc
If it's ported, that is. But, you also need to look up the camera's documentation for clues about HDMI output.
Quote
3. I understand that g7x2 is the only D7 one. Did anyone bother looking for its palette_buffer_ptr?
As soon as someone comes here, asks for this feature and is willing to test on their g7x2.

Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #42 on: 12 / October / 2019, 07:45:16 »
It's probably best to look for ROMBASEADDR being defined 0xfc000000. platform/camera/makefile.inc or platform/camera/sub/fw/makefile.inc

That leaves out D7, which has 0xe0000000. I think I found a better way - check for THUMB_FW. That produces a nice list of D6 and D7 cameras as in the screenshot.

However, intersecting those with the ones that have palette_buffer_ptr leaves us back at square one (M3 and M10).
« Last Edit: 12 / October / 2019, 08:03:58 by dmitrys »
Author of CHIMP, Canon Hack Installation and Management Platform

Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #43 on: 12 / October / 2019, 08:27:10 »
Here's the latest build featuring a new revision display format (see screenshot).

Edit: Binary removed; see below.
« Last Edit: 15 / October / 2019, 06:03:27 by dmitrys »
Author of CHIMP, Canon Hack Installation and Management Platform


Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #44 on: 12 / October / 2019, 10:46:43 »
Here's the latest build featuring a new revision display format (see screenshot).
Sorry - I've not really followed the purpose for all of this.  Once CHIMP determines a camera or firmware version is not supported, does it give you the option to install a test build?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #45 on: 12 / October / 2019, 14:07:28 »
Sorry - I've not really followed the purpose for all of this.  Once CHIMP determines a camera or firmware version is not supported, does it give you the option to install a test build?
No, test builds are an entirely separate scenario. The supported version list is for informational purposes (so the user may upgrade/downgrade to a supported version). The supported model list is there simply because it's easy to implement once a list of supported items is in place.

Now, I didn't forget about your request. The way CHIMP is designed doesn't make that an easy task, to say the least. I did make some progress in the 'platforms' branch. Now, adding the script installation feature ('overlays' branch) actually helped me make a better sense of the mess I made two years ago, so hopefully this isn't a completely wasted effort :)
Author of CHIMP, Canon Hack Installation and Management Platform

Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #46 on: 15 / October / 2019, 06:02:53 »
Updated build with some fixes:

  • Generate script.req
  • Handle exFAT-formatted cards
  • Handle switched partitions

It also has the nice bonus of actually working when extracted into an empty directory.
Author of CHIMP, Canon Hack Installation and Management Platform

 

Related Topics