IXUS 105 / SD1300 IS porting thread - page 9 - DryOS Development - CHDK Forum

IXUS 105 / SD1300 IS porting thread

  • 772 Replies
  • 179536 Views
Re: IXUS 105 / SD1300 IS porting thread
« Reply #80 on: 23 / December / 2010, 15:29:20 »
Advertisements
With "DISP" key, <alt> appears at the bottom of the window, then "func set" displays the main menu.

Re: IXUS 105 / SD1300 IS porting thread
« Reply #81 on: 24 / December / 2010, 10:51:32 »
http://www.box.net/chdk/6/55272271/536017391
Firmware dump for 105

http://www.filedropper.com/diskboot
Compiled for 105

http://www.filedropper.com/107_1
Dumped my 107

Build for 105 even works with some glitches on ixus 107
(original firmware icons drawed over chdk's
menu not cleared: draws osd menu over previous screen)
Hope someone look at dump...
Do you have the files after the firmware is disassemble?

*

Offline reyalp

  • ******
  • 13387
Re: IXUS 105 / SD1300 IS porting thread
« Reply #82 on: 24 / December / 2010, 15:27:11 »
Don't forget what the H stands for.

Re: IXUS 105 / SD1300 IS porting thread
« Reply #83 on: 25 / December / 2010, 13:34:18 »
IDA 5.0 is free but it does not seems to be enough for that problem.
I am not a GPL specialist but they do not seems to be as efficient as IDA.  But some peoples have actually disassemble it so I suppose the easiest way would be to get the disassemble files and then start from it.


*

Offline reyalp

  • ******
  • 13387
Re: IXUS 105 / SD1300 IS porting thread
« Reply #84 on: 25 / December / 2010, 13:43:44 »
But some peoples have actually disassemble it so I suppose the easiest way would be to get the disassemble files and then start from it.
What files are you looking for ? IDA files would do you no good unless you had the correct version of IDA. An objdump form binutils is easy to get, if you can't follow the instructions on http://chdk.wikia.com/wiki/GPL_Disassembling you are certainly not going to do anything useful with the output.

You might also be interested in that http://chdk.setepontos.com/index.php?topic=5100.0
Don't forget what the H stands for.

Re: IXUS 105 / SD1300 IS porting thread
« Reply #85 on: 02 / January / 2011, 18:20:44 »
Seems to work here: well, to be more accurate, I have the splash screen, and I can browse menus).
I didn't test the functions yet, as I'm not sure to have fully understand what is working exactly hehe :)

@C10ud:
1. Many thanks for your work :)
2. You talked about "shoot()", some LUA stuff and PTP. Could you explain a bit ?
PS: I also have the same bug you describe when attempting to load a script... In fact, I'm trying to find a way to make some automatic "recursive" shooting (for timelapse...).

Any help is appreciated; thanks again !
Were you succesfull running a script to making a timelapse with this version?

Re: IXUS 105 / SD1300 IS porting thread
« Reply #86 on: 03 / January / 2011, 23:54:48 »
But some peoples have actually disassemble it so I suppose the easiest way would be to get the disassemble files and then start from it.
What files are you looking for ? IDA files would do you no good unless you had the correct version of IDA. An objdump form binutils is easy to get, if you can't follow the instructions on http://chdk.wikia.com/wiki/GPL_Disassembling you are certainly not going to do anything useful with the output.

You might also be interested in that http://chdk.setepontos.com/index.php?topic=5100.0

I am thinking the guy who wrote that documentation was working with linux.
So the commands below are not working under windows:
strings -t x dump.bin > dump.strings
hexdump -C dump.bin > dump.hex
arm-linux-gnu-objdump -m arm -b binary -D dump.bin > dump.dis

What would be the correct commandlines under windows??

*

Offline reyalp

  • ******
  • 13387
Re: IXUS 105 / SD1300 IS porting thread
« Reply #87 on: 04 / January / 2011, 00:37:12 »
But some peoples have actually disassemble it so I suppose the easiest way would be to get the disassemble files and then start from it.
What files are you looking for ? IDA files would do you no good unless you had the correct version of IDA. An objdump form binutils is easy to get, if you can't follow the instructions on http://chdk.wikia.com/wiki/GPL_Disassembling you are certainly not going to do anything useful with the output.

You might also be interested in that http://chdk.setepontos.com/index.php?topic=5100.0

I am thinking the guy who wrote that documentation was working with linux.
So the commands below are not working under windows:
strings -t x dump.bin > dump.strings
hexdump -C dump.bin > dump.hex
arm-linux-gnu-objdump -m arm -b binary -D dump.bin > dump.dis

What would be the correct commandlines under windows??
The first two are common utilities, you can find them in cygwin, mingw etc.

The other is part of the GCC binutils, you'll need an arm version to use it. In the pre-compiled GCC 3 toolchain available on the wiki, it's called arm-elf-objdump
Don't forget what the H stands for.


Re: IXUS 105 / SD1300 IS porting thread
« Reply #88 on: 04 / January / 2011, 01:22:43 »
Seems to work here: well, to be more accurate, I have the splash screen, and I can browse menus).
I didn't test the functions yet, as I'm not sure to have fully understand what is working exactly hehe :)

@C10ud:
1. Many thanks for your work :)
2. You talked about "shoot()", some LUA stuff and PTP. Could you explain a bit ?
PS: I also have the same bug you describe when attempting to load a script... In fact, I'm trying to find a way to make some automatic "recursive" shooting (for timelapse...).

Any help is appreciated; thanks again !
Were you succesfull running a script to making a timelapse with this version?
Nope... and well, didn't have time to test anything lately.
Got an answer from c10ud:
Quote
hello, i didn't see your post but with lua, shoot and ptp i am referring to the fact that when doing the basic port, i couldn't test if chdk lua scripts were working (e.g. intervalometer, etc.). so i enabled the ptp extension when building my chdk for ixus105 and executed some test script through USB (as seen in CHDK PTP thread). the "shoot()" script basically snaps a picture, so it helps testing if a) keyboard works (button press/release) b) scripts work Smiley

unfortunately i haven't been able to get what was wrong with running scripts from the camera (i suspect some wrong function address in stubs_entry*.S regarding some string-or-directory-related function)..
So, maybe I'll try through PTP sooner or later.

Re: IXUS 105 / SD1300 IS porting thread
« Reply #89 on: 04 / January / 2011, 09:25:39 »
I installed GNUARM and it is installing Cygwin DLL...  Do I need installing Cygwin?  Is it a windows version?

 

Related Topics