Ixus 200IS/SD980 1.01c porting thread - page 9 - General Discussion and Assistance - CHDK Forum supplierdeeply

Ixus 200IS/SD980 1.01c porting thread

  • 108 Replies
  • 34524 Views
Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #80 on: 10 / November / 2010, 03:58:57 »
Advertisements
openuas I appreciate the work you're doing.
I hope you'll post the CHDK soon.

*

Offline openuas

  • **
  • 57
  • OpenUAS
    • OpenUAS
Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #81 on: 10 / November / 2010, 05:28:14 »
reyalp, THX. Will disassemble again with this value, and run the standard scripts to get some useful data out of firmware and put it up for download.

BTW what would be the best next step now? I Bet http://chdk.wikia.com/wiki/Adding_support_of_a_new_camera
Any hints to good threads of people that already walked such a path welcomed
« Last Edit: 10 / November / 2010, 05:38:34 by openuas »

*

Offline openuas

  • **
  • 57
  • OpenUAS
    • OpenUAS
Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #82 on: 10 / November / 2010, 09:33:52 »
Intermezzo:
As one might have read, drop.io service will be closed down. It just so happens all the CHDK dumped firmware blocks are stored there on this server. Just to make sure the dumps do not get lost, I've made a clone of ALL dumps. they can be found here:
 http://www.openuas.org/chdkdumps/asset/

With all the same filenames thus simply replacing
 http://drop.io/{whateveritwas}
of the original link with
 http://www.openuas.org/{whateveritwas}
will get you your file.

NOTE: Three wrongly named files where renamed but for link's sake made also a symbolic link to old name.

Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #83 on: 10 / November / 2010, 10:49:27 »
OpenUAS :   There are two firmware dumps for the SD940 at http://drop.io/IXUS_120.  Can you grab the 103c version as well ?

Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline openuas

  • **
  • 57
  • OpenUAS
    • OpenUAS
Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #84 on: 10 / November / 2010, 12:21:32 »
Done. BTW named the IXUS120.BIN to ixus120_sd940_100a.7z the other to the "default" filenaming: ixus120_sd940_103c.7z

To not confuse reader in this thread, it about IXUS200IS also known as SD980 v1.01c porting

*

Offline openuas

  • **
  • 57
  • OpenUAS
    • OpenUAS
Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #85 on: 11 / November / 2010, 15:08:52 »
Status update:

  • I've read http://chdk.wikia.com/wiki/SD980IS
  • Got myself a working cross-compiler based on GCC 3.4.6 on my Ubuntu GNU/Linux 64Bit, took a while( shellscript I've created for this will be available)
  • Installed the disassembler on a Windows (Yuck!) OS Partition, time for http://www.hex-rays.com/idapro/60/index.html i bet
  • Grabbed myself the latest dump for IXUS200_SD980 from here http://www.box.net/chdk/1/55272271/536447531
  • Extracted PRIMARY.BIN from this 7z file into a convenient development directory
  • Grabbed myself "CanonFW_DryOS_A-Series.sig" from somewhere and copied it to C:\Program Files (x86)\IDA\sig\arm    
  • Also downloaded "ida_chdk_idc_dryos_singlerun_7z.7z" and extracted in a directory below the development directory
  • Started and used ROM start address 0xFF810000 and ROM size 0x3FFBFC, same values for loading and loading size.
      all described here http://chdk.wikia.com/wiki/Loading_dump_to_IDA and related links on that page  
  • Now loaded the right signature (For DryOS) via signature button
  • Ran the latest updated idc analyzing file CHDK.idc
  • Waited.... and waited some more, finally got
                                                                                           
                                                                                                                              

ROM:FF810000                 B       loc_FF81000C                                                                            
ROM:FF810000 ; END OF FUNCTION CHUNK FOR sub_FF83A130                                                                        
ROM:FF810000 ; ---------------------------------------------------------------------------                                    
ROM:FF810004 aGaonisoy       DCB "gaonisoy"                                                                                  
ROM:FF81000C ; ---------------------------------------------------------------------------                                    
ROM:FF81000C ; START OF FUNCTION CHUNK FOR sub_FF83A130                                                                      
ROM:FF81000C


A new file called "stubs_entry_ida.S" was nicely generated and sat alongside the PRIMARY.BIN

Started reading http://chdk.wikia.com/wiki/Adding_support_for_a_new_camera and will follow the steps as advised there

....

..It is mighty quiet here, any help appreciated so we would have a Beta by  :xmas for everyone...
« Last Edit: 11 / November / 2010, 15:59:10 by openuas »

Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #86 on: 11 / November / 2010, 23:20:47 »
OpenUAS :  I'm confused (but that is normal).  At the start of this thread, I believe citizenx posted a working version of code for the 1.01c.  How come you are stuck back at an earlier step.  What did I miss ?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #87 on: 12 / November / 2010, 13:11:59 »
Hello,

my source is not able to start up.. it starts flashes LED>. but no CHDK screen nothing.. so if you can give me ur code.. it will be great..


*

Offline titbb

  • *
  • 38
Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #88 on: 14 / November / 2010, 09:49:25 »
OpenUAS :  I'm confused (but that is normal).  At the start of this thread, I believe citizenx posted a working version of code for the 1.01c.  How come you are stuck back at an earlier step.  What did I miss ?

I THINK it is because it is easyer to start all over at times, then to sift through all the code looking for an error of some sort.

Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #89 on: 14 / November / 2010, 10:03:15 »
titbb :  I understand about what you are saying as far as starting clean.  For what its worth,  I started with the code posted in this forum and have been trying to convert it to run on the SD940.  From what I can tell, the SD980 is pretty close - the addresses in stubs_entry.s either match or are at least all in the same order.   At this point,  I can boot from the SD card,  get CHDK to load, verify that the spytask runs (it now blinks the orange LED every 5 seconds so that I know its there) and can get the CHDK logo to display. I guess figuring out the keypad is next.  

Not sure I could have gone even this far without the posts in this forum (and I've spent hours scanning other threads) so thanks to all the people who posted !   My next worry is wearing out the SD card contacts and/or breaking the access door on the bottom of the camera with all the "compile, load, run" cycles I'm putting on it.

WW
« Last Edit: 14 / November / 2010, 10:05:22 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics