Author Topic: G10 Porting Process  (Read 32245 times)

Offline Microfunguy

  • Developers
  • Guru Member
  • ****
  • Posts: 3027
    • StereoData Maker
Re: G10 Porting Process
« Reply #45 on: 04 / February / 2010, 20:39:37 »
Why not start by reading the entire G11 thread to give you an idea of what is involved ?


David

Offline cuffy

  • Newbie
  • *
  • Posts: 1
Re: G10 Porting Process
« Reply #46 on: 05 / February / 2010, 02:54:40 »
Hi,

If anyone has started the port but stopped due to getting a G11 or lack of time, I am willing to pick up on any started work (just dont want to start from scratch and reinvent the wheel, but I will if need be) then please let me know and I will see if I cant get it ported.

Cuffy

Offline limex

  • Newbie
  • *
  • Posts: 1
Re: G10 Porting Process
« Reply #47 on: 18 / February / 2010, 16:57:03 »

Offline slowdive_76

  • Newbie
  • *
  • Posts: 2
Re: G10 Porting Process
« Reply #48 on: 05 / March / 2010, 11:28:20 »
hi guys,

any news on the porting? thanks......


slowdive_76
 

Offline dellaaa

  • Newbie
  • *
  • Posts: 3
Re: G10 Porting Process
« Reply #49 on: 06 / March / 2010, 08:10:43 »
I have read this entire thread and i have a suggestion.

It looks like the posts consist of two types:

1) People who own the camera but no programming skills
2) People who want to program but dont know how or where to start

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.

Is it that difficult to have a central repository for information and current in progress hacks?

I realize that this is a volunteer effort, but the lack of organization is maddening.

Again, how do I start??

Offline reyalp

  • Guru Member
  • ******
  • Posts: 4490
Re: G10 Porting Process
« Reply #50 on: 06 / March / 2010, 08:45:55 »
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.

Offline rocket187um

  • Rookie
  • *
  • Posts: 19
Re: G10 Porting Process
« Reply #51 on: 14 / March / 2010, 06: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?

Offline Shinigami

  • Rookie
  • *
  • Posts: 12
Re: G10 Porting Process
« Reply #52 on: 16 / March / 2010, 20: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.

Offline rocket187um

  • Rookie
  • *
  • Posts: 19
Re: G10 Porting Process
« Reply #53 on: 16 / March / 2010, 20:56:05 »
Keep us posted!

CHDK Forum

Re: G10 Porting Process
« Reply #53 on: 16 / March / 2010, 20:56:05 »

Offline Shinigami

  • Rookie
  • *
  • Posts: 12
Re: G10 Porting Process
« Reply #54 on: 18 / March / 2010, 17: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.

Offline Shinigami

  • Rookie
  • *
  • Posts: 12
Re: G10 Porting Process
« Reply #55 on: 18 / March / 2010, 21: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

  • Guru Member
  • ******
  • Posts: 2608
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: G10 Porting Process
« Reply #56 on: 18 / March / 2010, 22: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...

Offline Shinigami

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

Offline simonbh

  • Newbie
  • *
  • Posts: 2
Re: G10 Porting Process
« Reply #58 on: 19 / March / 2010, 01: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.

Offline Shinigami

  • Rookie
  • *
  • Posts: 12
Re: G10 Porting Process
« Reply #59 on: 19 / March / 2010, 01:25:39 »
are you Brazilian, Simonbh ?

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal