Dumping IXUS 120 IS. Almost, but not quite! Need some assistance. - page 3 - Firmware Dumping - CHDK Forum

Dumping IXUS 120 IS. Almost, but not quite! Need some assistance.

  • 31 Replies
  • 20251 Views
*

Offline reyalp

  • ******
  • 14128
Re: Dumping IXUS 120 IS. Almost, but not quite! Need some assistance.
« Reply #20 on: 06 / October / 2009, 16:27:03 »
Advertisements
If you want a manageable sized dump, save off 4 or 8 MB starting 4 bytes before gaonisoy
Don't forget what the H stands for.

*

Offline zebra

  • *
  • 24
Re: Dumping IXUS 120 IS. Almost, but not quite! Need some assistance.
« Reply #21 on: 07 / October / 2009, 16:34:11 »
http://chdk.setepontos.com/index.php/topic,288.msg41141.html#msg41141

Thought I should pop that up, so that everyone can take a look. Starting to get my porting environment sane tonight, hopefully, so that I can attempt portage.

z

*

Offline RaduP

  • *****
  • 926
Re: Dumping IXUS 120 IS. Almost, but not quite! Need some assistance.
« Reply #22 on: 07 / October / 2009, 18:26:08 »
After you get to the create spy task thing, let me know, because I think you will need some of my SD980 source, since there are many incompatibilities with the previous cameras.
Also, I used SX10 as a reference port, and it's quite nice, although the documentation is not that great.

*

Offline reyalp

  • ******
  • 14128
Re: Dumping IXUS 120 IS. Almost, but not quite! Need some assistance.
« Reply #23 on: 07 / October / 2009, 21:13:12 »
Quote
DRYOS version 2.3, release #0039
Radup: if you can make your sources available, we can work on making a new dryos reference platform, so so other people with new cameras don't have to manually find all the entry points that you did.
Don't forget what the H stands for.

*

Offline RaduP

  • *****
  • 926
Re: Dumping IXUS 120 IS. Almost, but not quite! Need some assistance.
« Reply #24 on: 08 / October / 2009, 00:16:36 »
Ok, sure, but keep in mind that so far some modifications to the core are needed, so they won't work with the mainstream CHDK. As I find more functions, I'll hopefully be able to make it run fine on the SVN CHDK.

I only uploaded the content of the /platform/ part, if you need anything else, let me know.
« Last Edit: 08 / October / 2009, 00:20:11 by RaduP »

*

Offline zebra

  • *
  • 24
Re: Dumping IXUS 120 IS. Almost, but not quite! Need some assistance.
« Reply #25 on: 10 / October / 2009, 01:27:09 »
Grabbing.

So far, I've managed to import it into IDA Pro, and run the DryOS version CHDK.idc across it. This seemingly worked pretty well, with a bunch of functions seemingly having corrected names etc now. The next thing I looked at were the .sig files that existed. I loaded a signature that the wiki suggests was correct (A-720 based), but I'm wondering if it's appropriate.

From here, where should I head? The reference port was mentioned - but I don't see much reference to it's use on the wiki. Little help?

z

*

Offline RaduP

  • *****
  • 926
Re: Dumping IXUS 120 IS. Almost, but not quite! Need some assistance.
« Reply #26 on: 10 / October / 2009, 01:48:51 »
Was your malloc/free found automatically? If so, probably  SX10 would be a good reference port.
If not, look at what I've done so far.

*

Offline reyalp

  • ******
  • 14128
Re: Dumping IXUS 120 IS. Almost, but not quite! Need some assistance.
« Reply #27 on: 10 / October / 2009, 02:08:24 »
Grabbing.

So far, I've managed to import it into IDA Pro, and run the DryOS version CHDK.idc across it. This seemingly worked pretty well, with a bunch of functions seemingly having corrected names etc now. The next thing I looked at were the .sig files that existed. I loaded a signature that the wiki suggests was correct (A-720 based), but I'm wondering if it's appropriate.
Yes, that's the general dryos one.
Quote
From here, where should I head? The reference port was mentioned - but I don't see much reference to it's use on the wiki. Little help?
What I was talking about was using the SD980 to make a new reference firmware for the automatic signature finder: http://chdk.wikia.com/wiki/Signature_finder

I'll try to do some work on this now that I have radups code (really only needs the stubs_entry.S and stubs_entry_2.s).

Assuming your camera has many changed functions like his, this you should be able to automatically find the ones he has already found using this. This is unrelated to the IDA stuff. It is also unrelated to picking a firmware to use as a reference for your port. http://chdk.wikia.com/wiki/Adding_support_of_a_new_camera describes this some, and I've posted my thoughts in http://chdk.setepontos.com/index.php/topic,3977.0.html

Don't forget what the H stands for.

*

Offline reyalp

  • ******
  • 14128
Don't forget what the H stands for.

*

Offline zebra

  • *
  • 24
Re: Dumping IXUS 120 IS. Almost, but not quite! Need some assistance.
« Reply #29 on: 18 / October / 2009, 00:46:58 »
Ta!

I'll keep plugging away...

 

Related Topics


SimplePortal © 2008-2014, SimplePortal