G5X Porting. - DryOS Development - CHDK Forum

G5X Porting.

  • 93 Replies
  • 40521 Views
*

Offline philmoz

  • *****
  • 3450
    • Photos
G5X Porting.
« on: 21 / November / 2015, 00:18:08 »
Advertisements
I now have a G5X - as time permits, I'll have a go at porting it.


Notes:
- Digic 6
- DryOS version = R58+p3.
- Dancing bits = new value (added to SVN).
- LED = same as SX280
- Firmware update boot = not working, gives 'Update file error!!!!!'.
- Auto boot = working.
- SD card lock override = working.
- No switch on battery door (can test without opening & closing door all the time).

Edit 28/3 Currently stalled trying to figure out how to force refresh of bitmap display to LCD. Camera appears to have only one bitmap buffer in RAM. This can be updated and the changes will appear on the LCD if the Canon firmware triggers an update; but I have not been able to figure out how this update happens.

Phil.
« Last Edit: 27 / March / 2016, 21:38:55 by philmoz »
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: G5X Porting.
« Reply #1 on: 22 / November / 2015, 02:56:47 »
good luck !
Added the
  • G5X 1.00C
full 32MB dump by philmoz from this forum post to the CHDK P&S FW dumps repository.

Re: G5X Porting.
« Reply #2 on: 22 / November / 2015, 10:50:37 »
I now have a G5X - as time permits, I'll have a go at porting it.
I know this isn't dpreview.com but I'd like to hear how it compares to your other Canon P&S cameras?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G5X Porting.
« Reply #3 on: 22 / November / 2015, 14:09:18 »
I haven't done any serious shooting with it yet; but I was impressed by the image quality from raw samples I found online. It's the same sensor as the G3X, G7X and G9X, which have received good reviews for image quality. Initial testing indicates it's on a par with the G1X noise wise.

I was looking at the G3X; but the CA at the extreme ends of the zoom was just too severe for me (uncorrectable in some of the examples I found). It is also a lot larger and the EVF is extra cost.

It's almost identical in size to the G12, the body is thinner; but the lens assembly is thicker to accomodate the faster lens. The EVF makes it a tad taller. It's also lighter than the G12.

The EVF is very, very good, not much more to say here.
The LCD is a lot larger than the G12 leaving less room for buttons.

The large LCD and thinner body obviously created some challenges so the ergonomics are possibly not as good as the older G series. The buttons are smaller and have a softer touch - will take some getting used to. The battery is also a lot smaller, will see how many shots it gets in real life. The battery will charge from the USB cable (seperate charger is also supplied). Does not come with a USB cable which is pretty cheap on Canons part.

Plugging in the USB cable wakes up the camera - could be useful for long timelapses if we can take advantage of it.

I prefer the older style front dial, the new knob takes getting used to.

Having said that the controls are still very good for a compact camera. The LCD is also a touch screen with the usual Canon interface.

Currently I have it set to M mode with Av on the lens ring dial, ISO on the rear dial, and Tv on the front dial. I can quickly adjust all settings without taking my eye from the viewfinder. If I select auto ISO then the exposure compensation dial is also easily adjustable with my thumb. With the histogram displayed in the EVF it is easy to get the correct exposure.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline c_joerg

  • *****
  • 1251
Re: G5X Porting.
« Reply #4 on: 23 / November / 2015, 09:20:31 »
Great! I wish you good luck as well…
Could be my next cam as well...

Not that I'm not happy with my G1x, but just for time-lapse I miss the 24mm focal length.

Would be interesting to know, if the G5x make the same blacklevel and ISO things as the G1x…

M100 100a, M3 121a, G9x II (1.00c), 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

  • ******
  • 4451
Re: G5X Porting.
« Reply #5 on: 10 / December / 2015, 13:23:20 »
still trying to track down the buffer switching on the G5X
A few possible pointers:
- mzrm messaging functions, they seem to instruct the code running on the graphics cpu
I'm calling them 'mzrm_createmsg' and 'mzrm_sendmsg'.
They can be located by their debug strings: "[Mzrm]CreateWait" and "[Mzrm]SendWait" respectively.
There are several dozens of functions which call mzrm_createmsg and mzrm_sendmsg to send various messages. These functions then seem to replace lower level code inside dialog/windowing/etc. code.

- there is something interesting inside 'DisplayDialogBox'
sx280 102b addresses: fc2b70c2 -> fc29b8ca -> fc29b3e0 -> at fc29b458, a single BL is used where the ixus150 equivalent has a call to ScreenLock immediately followed by ScreenUnlock (which is what the ixus150 port is doing in its vid_bitmap_refresh() implementation).

Don't know if this is of any use, just sharing it.

Re: G5X Porting.
« Reply #6 on: 05 / February / 2016, 07:01:56 »
@philmoz.  Did you try if the G5 X will keep shooting, while charging via the USB connector?
Would be cool if it did...

Re: G5X Porting.
« Reply #7 on: 28 / September / 2017, 11:12:57 »
The G7 X has well progressed and seems very close to be final.
As the G7 X and the G5 X share a lot of components, is there any chance that the G5 X will be ported anytime soon?

*

Offline reyalp

  • ******
  • 14126
Re: G5X Porting.
« Reply #8 on: 02 / October / 2017, 17:58:30 »
The G7 X has well progressed and seems very close to be final.
As the G7 X and the G5 X share a lot of components, is there any chance that the G5 X will be ported anytime soon?
Unfortunately, sharing similar hardware doesn't have much effect on how much effort is required to make a new port. A G5 X port would require a skilled developer who has the camera and a lot of time to spend on it.

There is no schedule for when any camera will be ported.
Don't forget what the H stands for.

Re: G5X Porting.
« Reply #9 on: 10 / December / 2017, 12:46:36 »
Just to say that I hope some skilled developer will be able to port CHDK to G5X soon. I'm not skilled enough to do it myself and I don't even have the camera now... but it's the only canon I'm interested in at the moment; CHDK is definitely a must for me to buy the camera. I've used it in the past on other canons and I will not be able to live without.

Thanks for your effort ;-)

 

Related Topics


SimplePortal © 2008-2014, SimplePortal