G15 Porting thread - page 5 - DryOS Development - CHDK Forum

G15 Porting thread

  • 87 Replies
  • 51393 Views
Re: G15 Porting thread
« Reply #40 on: 17 / May / 2013, 06:37:10 »
Advertisements
I am not Lachlan, but have exactly the same problem (actually, twice the same problem, since I purchased two G15's with 1.00e firmware versions for a project I'm working on...)

I dumped the firmware, can be downloaded here:
https://dl.dropboxusercontent.com/u/48180314/CanonG15_firmware100e.zip

I'm going to try and learn porting during weekend and next week, but since I have pretty much zero experience in these, I would be grateful for any help from other developers too. I will gladly test any new code you might provide.

Re: G15 Porting thread
« Reply #41 on: 17 / May / 2013, 08:42:38 »
I'm going to try and learn porting during weekend and next week, but since I have pretty much zero experience in these, I would be grateful for any help from other developers too. I will gladly test any new code you might provide.
If you have some C and assembler experience,  then porting is not too hard.   Making an original port for a new camera model can be tough but simply copying a working port for a different firmware version is not that hard.  There was one port done by someone who claimed to have had no programming experience - used plain old brute force to hack his way through it.  But the result was not pretty.

Links :
http://chdk.wikia.com/wiki/For_Developers
http://chdk.wikia.com/wiki/Adding_support_of_a_new_firmware_version
http://chdk.wikia.com/wiki/CHDK-PT_:_A_tool_for_porting_CHDK_to_different_firmware_versions_of_the_same_camera

You might want to drop into the CHDK IRC channel once you get started.  Most of the names you see there are basically zombies & bots (or people simply away from their machines) but evening ( USA time ) and weekends you can usually find somebody who can help if you are patient.
« Last Edit: 17 / May / 2013, 08:46:23 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline nafraf

  • *****
  • 1308
Re: G15 Porting thread
« Reply #42 on: 19 / May / 2013, 20:08:32 »
I'm going to try and learn porting during weekend and next week, but since I have pretty much zero experience in these, I would be grateful for any help from other developers too. I will gladly test any new code you might provide.
I started a blind port for g15.100e. It is not finished, I'll try to continue during this week, if you want o check code and continue, source code is here.  Functions that have not been ported are marked as TO DO.

Re: G15 Porting thread
« Reply #43 on: 24 / May / 2013, 03:07:56 »
That's absolutely great, nafraf! Thanks for all the efforts so far. I've taken look at your code and I think it's finally starting to make sense to me. I have some experience with C, but none at Assembler (and also just a little at photography either), so it hasn't been easy, but I hope to post some suggestions to TODO sections in coming days.

I assume that all the functionality doesn't need to be done in order to be able to test the build in camera - just to get it started (I tried booting up 1.00b version but as expected, resulted in black screen). I would especially like to get remote support to working state, so I can sync multiple cameras with a DIY remote.

*

Offline nafraf

  • *****
  • 1308
Re: G15 Porting thread
« Reply #44 on: 24 / May / 2013, 20:02:08 »
That's absolutely great, nafraf! Thanks for all the efforts so far. I've taken look at your code and I think it's finally starting to make sense to me. I have some experience with C, but none at Assembler (and also just a little at photography either), so it hasn't been easy, but I hope to post some suggestions to TODO sections in coming days.
Now source code is ready for first test.  Please compiled it, test it and report.

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: G15 Porting thread
« Reply #45 on: 26 / May / 2013, 05:04:46 »
Added the
  • G15 1.00E
full 16MB dump (dumped with cBasic udumper) by Erde from this forum post to the CHDK P&S FW dumps repository.

Re: G15 Porting thread
« Reply #46 on: 26 / May / 2013, 09:26:53 »
Now source code is ready for first test.  Please compiled it, test it and report.
I'm away from the G15s right now, but will do this as first thing tomorrow.

Re: G15 Porting thread
« Reply #47 on: 29 / June / 2013, 18:40:25 »
Hi there,

I'm yet another "lucky" owner of G15 @ 1.00E...

@Erde, Did you try that nafraf's port already?

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G15 Porting thread
« Reply #48 on: 29 / June / 2013, 20:07:01 »
Hi there,

I'm yet another "lucky" owner of G15 @ 1.00E...

@Erde, Did you try that nafraf's port already?

Please try the attached version (created using my new code_gen tool).

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)

Re: G15 Porting thread
« Reply #49 on: 30 / June / 2013, 07:44:29 »

Please try the attached version (created using my new code_gen tool).

Phil.

I tried the firmware in my G15 (with 'e' firmware) and everything I tried worked, I haven't used any other versions of CHDK so I can't say if it's working completely as expected as there are what I'd call some rough edges but the only bad thing I saw was the screen refreshes between the canon display (standard histogram, spirit-level thing etc) are overdrawing the CHDK menu while in live preview.

Thanks for the new toys on my camera!

Zig

 

 

Related Topics


SimplePortal © 2008-2014, SimplePortal