G10 Porting Process - page 6 - DryOS Development - CHDK Forum supplierdeeply

G10 Porting Process

  • 177 Replies
  • 95901 Views
*

Offline reyalp

  • ******
  • 14111
Re: G10 Porting Process
« Reply #50 on: 05 / March / 2010, 22:45:55 »
Advertisements
I am in the second catagory.  I dont know where to start. 
I see people have posted the same question but I havent seen any answers.
Perhaps you should read the replies to your previous posts, which have already pointed you to http://chdk.wikia.com/wiki/For_Developers
If you had followed that, you would have come to http://chdk.wikia.com/wiki/Adding_support_for_a_new_camera which gives you an overview of the process. There are several other useful pages linked from For Developers which would help you understand the source tree and get your work environment set up. Looking at the development threads for other cameras may also be helpful, there are many "how do I get started" posts which have been answered in varying levels of details.

If you cannot understand those pages, or are unwilling to take the time to do so, it is unlikely you will be able to make a significant contribution to the development of a port.
Don't forget what the H stands for.

Re: G10 Porting Process
« Reply #51 on: 13 / March / 2010, 20:24:09 »
OK, I got it, guys... :)

Both the instructions in the WIKI for installing the toolchain on MacOSX and gentoo are wrong... :(
Both don't enable interworking on ARM - after compiling the stuff on my own my code works fine... - I'll place some warning in the WIKI ASAP.

I've uploaded the complete working g10/loader-code here: loader.tar.bz2 - 0.00MB

More code will come soon (at least I hope so ;) )....


So what happened after this?

Re: G10 Porting Process
« Reply #52 on: 16 / March / 2010, 11:37:06 »
Hello all. I have my G10 for some time now and I am busy developing hardware for her, so I don't know how much time I'll have to try and port this. I know lots of programming but only basic-medium about hacking and disassembling, and nothing about CHDK. So I'll spend some time reading this, then talking with the G11 porters. My firmware is 1.03B, so this is the one I'll be working on.
Any help is welcome.

Re: G10 Porting Process
« Reply #53 on: 16 / March / 2010, 11:56:05 »
Keep us posted!


Re: G10 Porting Process
« Reply #54 on: 18 / March / 2010, 08:43:57 »
Well, I've read lots of things (and still only have lots of questions) and I think now I have some sort of working environment. I've been following the footsteps of the G11 guys, (why wouldn't I ?) and now I'll include the G10 in the SVN source. I'll add only firmware 1.03B and commit, then I'll start searching for the functions and their addresses to try and make CHDK run. By the way, what about some reading for you guys ? even if you can only get the firmware disassembled in IDA it would help a lot in the search for the functions. Shinigami out.

Re: G10 Porting Process
« Reply #55 on: 18 / March / 2010, 12:38:13 »
I'm back.
I'm starting to think I'm talking to myself here (I always do that, but this is the first time in a forum)
Well, I've changed lots of addresses but there's still lots to change, and some of them I don't have a clue how to get, others I'm not sure if they're right. Anyway, for some odd reason I can't get CHDK to compile at all, not even for other cameras, but I'll deal with this latter. I'll not make the code avaliable because there's no use for most of you, but anyone who wants to help just drop me a message and I'll make a diff for you.

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: G10 Porting Process
« Reply #56 on: 18 / March / 2010, 13:43:56 »
Anyway, for some odd reason I can't get CHDK to compile at all, not even for other cameras
Since you're using IDA, you're most probably working under MS Windows - use the CHDKShell; let the Shell download the lastest SVN revision, let it compile the build you're planning to use as "porting" template, this normally works absolutely trouble-free...

...then go on, add your code...

Re: G10 Porting Process
« Reply #57 on: 18 / March / 2010, 14:02:50 »
Thanks fe50 but I solved that, was the mix of gcc 3.4 with windows 7...


Re: G10 Porting Process
« Reply #58 on: 18 / March / 2010, 16:12:03 »
Shinigami, have you committed any changes to the source repository?  I just found this project and would like to work on porting CHDK to my G10 as well.

Re: G10 Porting Process
« Reply #59 on: 18 / March / 2010, 16:25:39 »
are you Brazilian, Simonbh ?

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal