TX-1 - loading to IDA and porting...

  • 88 Replies
  • 12576 Views
TX-1 - loading to IDA and porting...
« on: 12 / March / 2008, 12:08:58 »
Advertisements
I have loaded the file into IDA with start and loading address 0xFF810000.

I applied VxWorks signatures for 'A' series cameras and CHDK  IDC scripts.

Is that correct ?

Are the available signatures frequently updated (in case I have old ones) ?


This is a good opportunity to learn the practical aspects of porting a camera to CHDK.

When finished, it could be the basis of a tutorial.



David

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: TX-1 - loading to IDA and porting...
« Reply #1 on: 12 / March / 2008, 12:56:24 »
I have loaded the file into IDA with start and loading address 0xFF810000.
I applied VxWorks signatures for 'A' series cameras and CHDK  IDC scripts.
Is that correct ?

Yes, of course.

Are the available signatures frequently updated (in case I have old ones) ?

I use very old signatures/IDC script for VxWorks (after new IDC script strings are corrupted >:(, maybe I do something wrong).

*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: TX-1 - loading to IDA and porting...
« Reply #2 on: 12 / March / 2008, 13:06:04 »
@ewavr

Quote
Quote from: Microfunguy on Today at 17:08:58
Quote
Are the available signatures frequently updated (in case I have old ones) ?
I use very old signatures/IDC script for VxWorks (after new IDC script strings are corrupted Angry, maybe I do something wrong).

I got it to load successfully in IDA pro 5.2, my signatures: .sig dated 7-3-2007, CHDK.idc dated 6-1-2008
In earlier attempts (before you kindly provided the load address & shortened the bin) I got a database corruption
warning from IDA. Not sure if that helps, but I could zshare bin + idb, if you want ...

greets,
wim
« Last Edit: 12 / March / 2008, 13:17:11 by whim »

*

Offline jetzt

  • ****
  • 316
  • [A710IS,(SD200)]
Re: TX-1 - loading to IDA and porting...
« Reply #3 on: 12 / March / 2008, 13:15:59 »
Congratulations!

@Microfunguy
Quote
When finished, it could be the basis of a tutorial.

Would be very nice indeed!


Re: TX-1 - loading to IDA and porting...
« Reply #4 on: 12 / March / 2008, 13:25:04 »
@ewavr

Quote
I could zshare bin + idb, if you want


I would be interested in the signatures and IDC scripts.

Where did you download them from ?

I have the BIN from EWAVR.


Thanks.


David

*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: TX-1 - loading to IDA and porting...
« Reply #5 on: 12 / March / 2008, 13:28:08 »
@Microfunguy / anyone interested:

Evavr bin + IDA database here: primarytx1-101b_idb.zip - 10.29MB

edit: how I got it ? DL'ed ewavr's 'cleaned' bin & ran it through IDA
edit2: got the sig's from Wiki, but link broken ? attaching ...
         plus, there's the /tools/idc-scripts/ folder in the trunk
enjoy,

wim
« Last Edit: 12 / March / 2008, 14:29:56 by whim »

Re: TX-1 - loading to IDA and porting...
« Reply #6 on: 12 / March / 2008, 14:50:57 »
edit: how I got it ? DL'ed ewavr's 'cleaned' bin & ran it through IDA

Yes, I loaded into IDA and run it OK, I was just concerned that the old signatures and IDC scripts may be out-of-date (downloaded from GrAnd WIKI link when it was working).

Quote
there's the /tools/idc-scripts/ folder in the trunk


I forgot about that.


So, what do we do next    :)



David



*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: TX-1 - loading to IDA and porting...
« Reply #7 on: 12 / March / 2008, 16:36:28 »
Yes, I loaded into IDA and run it OK, I was just concerned that the old signatures and IDC scripts may be out-of-date (downloaded from GrAnd WIKI link when it was working).

Which link is broken? The link in this page Loading dump to IDA - CHDK Wiki seems work for me.

BTW. There is no signatures update because there are no any other firmware updates available from Canon.
CHDK Developer.


*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: TX-1 - loading to IDA and porting...
« Reply #8 on: 12 / March / 2008, 16:41:16 »
I use very old signatures/IDC script for VxWorks (after new IDC script strings are corrupted >:(, maybe I do something wrong).

If strings are not aligned properly (by DWORD), they can be recognized incorrectly. But IDA in this case is not able to recognize that strings at all.
You can just comment out the call of  'findStrings()' procedure in 'CHDK.idc' to skip strings recognition.
CHDK Developer.

Re: TX-1 - loading to IDA and porting...
« Reply #9 on: 12 / March / 2008, 16:55:12 »
The link in this page Loading dump to IDA - CHDK Wiki seems work for me.

It does not work for me, I just see adverts.

Where abouts on the page would the link be ?


Does it expect you to have Javascript enabled ?

 

Related Topics