IXUS145/ELPH135 Porting attempt - page 6 - DryOS Development - CHDK Forum

IXUS145/ELPH135 Porting attempt

  • 136 Replies
  • 64012 Views
Re: IXUS145/ELPH135 Porting attempt
« Reply #50 on: 18 / September / 2016, 11:29:52 »
Advertisements
How do you start it? I didn't find the Firmware update option in the menu. Maybe you miss the  ps.fi2 or ps.fir that seems to be requested?

Re: IXUS145/ELPH135 Porting attempt
« Reply #51 on: 18 / September / 2016, 15:51:33 »
How do you start it? I didn't find the Firmware update option in the menu. Maybe you miss the  ps.fi2 or ps.fir that seems to be requested?
You will need to configure your SD card for the CHDK "SD Card Lock" autobooting method.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: IXUS145/ELPH135 Porting attempt
« Reply #52 on: 19 / September / 2016, 10:55:50 »
Got it! I will try it. Thanks!

Re: IXUS145/ELPH135 Porting attempt
« Reply #53 on: 25 / September / 2016, 12:23:27 »
It seems that when CHDK is active I get heavly underexposed photos.


Re: IXUS145/ELPH135 Porting attempt
« Reply #54 on: 25 / September / 2016, 12:24:59 »
It seems that when CHDK is active I get heavly underexposed photos.
Do you have any exposure overrides enabled in the CHDK menu?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: IXUS145/ELPH135 Porting attempt
« Reply #55 on: 25 / September / 2016, 14:20:21 »
I have not set any overrides and it happens also if I disable overrides. I am using P program. I will check for my errors or, maybe, it's a strange effect.
Video show correct image but the recorded one is very dark.

*

Offline nafraf

  • *****
  • 1308
Re: IXUS145/ELPH135 Porting attempt
« Reply #56 on: 25 / September / 2016, 15:30:08 »
Did you compile from source code or are you using compiled version posted by Hardware_Hacker?

Re: IXUS145/ELPH135 Porting attempt
« Reply #57 on: 27 / September / 2016, 12:35:27 »
I am using compiled version posted by Hardware_Hacker.


Re: IXUS145/ELPH135 Porting attempt
« Reply #58 on: 27 / September / 2016, 20:35:46 »
I am using compiled version posted by Hardware_Hacker.
By using the IDA 6v95 Demo version I think I have now discovered a couple of possible porting errors.

Re:- https://en.wikipedia.org/wiki/Disassembler.

"...Disassembly is not an exact science: on CISC platforms with variable-width instructions, or in the presence of
self-modifying code, it is possible for a single program to have two or more reasonable disassemblies.
Determining which instructions would actually be encountered during a run of the program reduces to the
proven-unsolvable halting problem..."

"...Writing a disassembler which produces code which, when assembled, produces exactly the original binary is possible;
however, there are often differences..."

So there also some other differences in the Disassembly's produced by ARMu and the IDA 6v95 Demo version.

I am now just using the Ixus 150 as the Reference Camera.

Also that version is based on a fairly old version of CHDK, I have noticed that there have been
some Global CHDK Changes that have been applied to a number of cameras.

Is there an easy way to find these recent Global CHDK Camera Changes.

H-H
« Last Edit: 27 / September / 2016, 20:47:53 by Hardware_Hacker »

Re: IXUS145/ELPH135 Porting attempt
« Reply #59 on: 27 / September / 2016, 22:28:43 »
By using the IDA 6v95 Demo version I think I have now discovered a couple of possible porting errors.
....
So there also some other differences in the Disassembly's produced by ARMu and the IDA 6v95 Demo version.
Well,  as has been pointed out to you several times before, if you continue to use your own methods of creating CHDK ports ... which you are of course free to do .. you are going to run into these sort of issues.

The alternative is to work with the rest of the team using common tools like those reyalp suggests here :

You can use the capdis tool in the CHDK trunk tools directory. See https://chdk.setepontos.com/index.php?topic=11316.60 for some examples. You can use it to either disassemble the whole ROM (as shown there) or individual functions.

There is also a perl+objdump based script: http://chdk.wikia.com/wiki/User:Srsa_4c/GPL:disassemblev7.pl

Neither of these has the features of something like IDA, but it is possible to make a port using them.

also ..

Quote
Also that version is based on a fairly old version of CHDK, I have noticed that there have been some Global CHDK Changes that have been applied to a number of cameras. Is there an easy way to find these recent Global CHDK Camera Changes.
CHDK source code is maintained in an svn repository on assembla.com.  If you work with that using SVN tools,  you will always be using the most recent versions of the code.   If you want to work on your own versions, keeping sync'd will have to be your problem.
« Last Edit: 27 / September / 2016, 22:32:52 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics