G7 X mark ii questions

  • 5 Replies
  • 1387 Views
G7 X mark ii questions
« on: 28 / August / 2018, 18:30:06 »
Advertisements
I picked up a G7 X mark II recently and then found out it didn't have a CHDK port!  So, as I need an intervalometer that provides actual shots (the built-in one only creates a video), I'm willing to get the port started. Or at least try.

There doesn't seem to be a G7 X mark II porting thread yet, and there's no g7xm2 platform directory in the source trunk. 

Since the G7 X mark II uses the DIGIC 7 and the G7X uses the DIGIC 6, I assume there's a fair difference between the two. 

However, I still wonder if the G7X mark II is collapsed in with the G7X? Should they have the same porting thread and platform?  Or should I be creating a new thread and a new platform directory? If new, I noticed the uploaded firmware, which matches the one I dumped from my camera, is labeled 'g7xm2', so that would be the best name for a platform directory? 

Other thoughts/input? 

FYI, I've been using CHDK for a while on a few other models, but haven't done a port. Unix sys admin by day, so I can handle a rough compile. :)   

Thanks! 
Bob


search fodder: 
G7Xmk2 
G7X mark 2 
G7 X mark 2 
G7 X mk 2 
G7Xmkii 
G7Xmarkii 
G7X markii 

Re: G7 X mark ii questions
« Reply #1 on: 28 / August / 2018, 22:38:28 »
I'm willing to get the port started. Or at least try.
Deciding to start is always the first step. Good to see you taking this on.

Quote
Since the G7 X mark II uses the DIGIC 7 and the G7X uses the DIGIC 6, I assume there's a fair difference between the two. 
A fair and almost certainly correct assumption.

Quote
However, I still wonder if the G7X mark II is collapsed in with the G7X?
No.

Quote
Should they have the same porting thread and platform?
No.

Quote
Or should I be creating new thread and a new platform directory?
Yes.

Quote
If new, I noticed the uploaded firmware, which matches the one I dumped from my camera, is labeled 'g7xm2', so that would be the best name for a platform directory? 
Pretty much your call - you do the port, you get some say on the naming.  Within limits of course.

Quote
Unix sys admin by day, so I can handle a rough compile.
Filed under the category "famous last words" ...   ;)
Ported :   A1200    SD940   G10    Powershot N    G16

Re: G7 X mark ii questions
« Reply #2 on: 29 / August / 2018, 16:44:18 »
Unix sys admin by day, so I can handle a rough compile.
Filed under the category "famous last words" ...   ;)
Excellent answers!   :D Everything I needed to know.  I'll create g7xm2 for the platform for now, and eventually get the porting thread started.

*

Offline srsa_4c

  • ******
  • 3710
Re: G7 X mark ii questions
« Reply #3 on: 29 / August / 2018, 16:58:20 »
A word of advice: CHDK binaries for DIGIC 6 are compiled with
-march=armv7-r (see arm_rules.inc).
This enables integer division instructions (udiv, sdiv) which are not supported by the ARM core(s) of DIGIC 7. You'll need to change that switch to something more appropriate.


Re: G7 X mark ii questions
« Reply #4 on: 13 / September / 2018, 16:24:33 »

Thanks!  Yeah, progress has been slow but looking at what's been going on with getting the firmware dump analyzed has been eye opening about the DIGIC 7 architecture.

Re: G7 X mark ii questions
« Reply #5 on: 08 / November / 2018, 04:20:52 »
If you succeed with the port, I would be happy to help with testing the stability. Excited to see that you have taken up the challenge with this specific camera, thanks!

 

Related Topics