G5X Porting. - page 7 - DryOS Development - CHDK Forum

G5X Porting.

  • 93 Replies
  • 41445 Views
*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G5X Porting.
« Reply #60 on: 24 / October / 2019, 23:15:40 »
Advertisements
Hello. Thanks! The camera boot when press the on/off or the play buttons, displaing the logo of chdk, but if you press the shutter, display go black and the camera hang. :(


I have checked the code and can't see anything obvious.
Does the camera crash (requires pulling the battery to restart), or shutdown (pressing power button restarts camera)?


If it shuts down can you dump a ROMLOG and post it here.
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)

Re: G5X Porting.
« Reply #61 on: 25 / October / 2019, 08:42:39 »
I made a video: https://mega.nz/#!ZA0S2aqI!_hFpvDWTWuyVaWkfkXUERgArqGphy0yR3jAKXeLnGj4

Can´t save the romlog. a tried the script https://chdk.fandom.com/wiki/Canon_Basic/Scripts/Romlog
 but it not log nothing.

On the first time the camera can be turned off. on the second, i must remove the battery.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G5X Porting.
« Reply #62 on: 25 / October / 2019, 16:33:48 »
I made a video: https://mega.nz/#!ZA0S2aqI!_hFpvDWTWuyVaWkfkXUERgArqGphy0yR3jAKXeLnGj4

Can´t save the romlog. a tried the script https://chdk.fandom.com/wiki/Canon_Basic/Scripts/Romlog
 but it not log nothing.

On the first time the camera can be turned off. on the second, i must remove the battery.


Thanks for the video, that gives me some clues.


Can you dump the ROMLOG from the CHDK menu?
- Enter CHDK ALT mode (default button is the WiFi button on the right side)
- Press the MENU button
- Select the Miscellaneous Stuff menu, then the Debug Parameters menu
- Select the Save ROM crash log option


Also does taking out the cover on the flash connector make any difference (there is a mechanical switch in the flash connector)?

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)

Re: G5X Porting.
« Reply #63 on: 26 / October / 2019, 06:03:46 »
Im a newbie with chdk, thanks for the tips.

https://mega.nz/#!8BUzFIjS!TOWJqaFPiMutjQPX57MdhtigI1YEb1JK__8870DiHmk

Flash dont make diference open or closed...
« Last Edit: 26 / October / 2019, 06:05:38 by Christian Nuernberg »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G5X Porting.
« Reply #64 on: 26 / October / 2019, 17:17:18 »
Im a newbie with chdk, thanks for the tips.

https://mega.nz/#!8BUzFIjS!TOWJqaFPiMutjQPX57MdhtigI1YEb1JK__8870DiHmk

Flash dont make diference open or closed...


Thanks again. Here's another build to test.

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)

Re: G5X Porting.
« Reply #65 on: 26 / October / 2019, 18:02:37 »
Worked!! Thanks!I will test with more time.  :D

*

Offline srsa_4c

  • ******
  • 4451
Re: G5X Porting.
« Reply #66 on: 07 / December / 2019, 14:07:53 »
A user asked for clean HDMI on this cam. I collected the required addresses for all known firmware versions and made a patch. However, the CHDK overlay in this port does not support HDMI, and the patch does not deal with that. It would need the displaytype fw variable and the additional buffer dimensions.
I located the palette related variables in 100c. According to sigfinder, the variable addresses should be the same in the other fw versions.

@dmitrys You can extract the variables from this patch if you'd like to add clean overlay script support for this model.

Re: G5X Porting.
« Reply #67 on: 08 / December / 2019, 15:52:15 »
@dmitrys You can extract the variables from this patch if you'd like to add clean overlay script support for this model.

Done, BETA5X is available for download from the other thread ;)
Author of CHIMP, Canon Hack Installation and Management Platform

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G5X Porting.
« Reply #68 on: 10 / December / 2019, 03:03:43 »
A user asked for clean HDMI on this cam. I collected the required addresses for all known firmware versions and made a patch. However, the CHDK overlay in this port does not support HDMI, and the patch does not deal with that. It would need the displaytype fw variable and the additional buffer dimensions.
I located the palette related variables in 100c. According to sigfinder, the variable addresses should be the same in the other fw versions.

@dmitrys You can extract the variables from this patch if you'd like to add clean overlay script support for this model.



Thanks.


Added in revision 5305 along with support for HDMI output for CHDK OSD & menus.
Tested on 1.00c; but the others have the same address for displaytype so should be ok.


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)

101e G5X
« Reply #69 on: 24 / January / 2020, 11:15:51 »
Just got my G5X and, damn, it's a 101e  :(
Not being a developer, is there any chance I will see CHDK for a 101e version?
Cheers
Garry

 

Related Topics


SimplePortal © 2008-2014, SimplePortal