ixus90/sd790 IS porting - page 4 - DryOS Development - CHDK Forum
supplierdeeply

ixus90/sd790 IS porting

  • 331 Replies
  • 161836 Views
Re: ixus90/sd790 IS porting
« Reply #30 on: 12 / January / 2009, 16:08:44 »
Advertisements
I am anxiously awaiting....  If there is anything I can do to help, let me know.  My knowledge with this is extremely limitted, but I wouldn't mind learning.

Thanks for all the work thus far.

Re: ixus90/sd790 IS porting
« Reply #31 on: 18 / January / 2009, 07:15:18 »
I just came across this thread.

I'm working on ixus85 and it had the exact same problem: 12 bit CCD RAW data and hard-to-find RAW buffer.

However, I now have everything in RAW working including DNG support. This required adding 12-bit support to the backend, and finding two (!) addresses in memory for the RAW buffers, which switches from one to another, depending on a switch somewhere else. I had the exact same 'mistake' in finding the RAW address via CrwAddress, which seems to be bogus. Also, my CCD was 3720x2772 instead of the more standard 3736x2772. (however, if you shoot in continuous mode, every OTHER shot WILL be at the CrwAddress)

What I did in the end is just dump 64MB from 0x10000000, and then just 'looked' for the data in photoshop.

The core 12-bit routines should be the same for the ixus90, and the RAW image searching is a pain but doable.

I'm attaching the DIFF for the core routines here. (svn diff include/ core/)

See the discussion on ixus85 here http://chdk.setepontos.com/index.php/topic,2841

Re: ixus90/sd790 IS porting
« Reply #32 on: 18 / January / 2009, 09:08:33 »
I just came across this thread.

I'm working on ixus85 and it had the exact same problem: 12 bit CCD RAW data and hard-to-find RAW buffer.

Mhh, which brings us to the question if a simple diff from the IXUS 85 applied to the FW of IXUS 90 would work... (maybe with a few hunks). As far as I know the two cameras ar identical except the display size (resolution of the screen ist identical thougt on the IXUS 90 it is 3" screen) and the controllwheel.

Sadly I am not a coder (except bash and python and that  knowledge is way not enought to do some debugging on the cam) I would try to boot the the IXUS 90 mod which was patched against the modded IXUS 85 dump. So sharky, if you coud patch the IXUS 90 dump and post the DISKBOOT.BIN... I would giv it a shot...

Great WORK!!!

Kind regards
blubbi

Re: ixus90/sd790 IS porting
« Reply #33 on: 18 / January / 2009, 13:23:47 »
Looks like I can make some educated guesses here, seeing this in the ixus90 port:

Code: [Select]
char *hook_raw_image_addr()
{
    return (char*)0x107D68C0; // 0x11421788//0x107D68C0; // ixus90
}

compared to my ixus85 code:

Code: [Select]
char *hook_raw_image_addr()
{

    return *((int *)0x54e4) ? 0x11B97B60 : 0x107D68C0;
}

I will give it a bash by replacing the lib.c in this ixus90 build with my ixus85 code, add the 12 bit core components and see what you guys say that happens :P


Re: ixus90/sd790 IS porting
« Reply #34 on: 18 / January / 2009, 14:03:57 »
Here is a completely blind try at combining my ixus85 code with the ixus90 code.

What i did:

- took the ixus90 platform and loader
- updated capt_seq.c to use generic/capt_seq.c
- duplicated my ixus85 camera definition in include/camera.h
- overwritten lib.c in ixus90 sub/100d with my ixus85 lib.c from sub/100a

make fir

it would be a bit of a miracle if this works though ..

please note that the RAW files that are generated can NOT be read by dng4ps2; the data dumped is byte-swapped (odd and even bytes swapped) 12-bit RGGB data in 3720x2772. If you use DNG output from the camera itself, you should get a usable file though.

*

Offline Nitek

  • *
  • 16
Re: ixus90/sd790 IS porting
« Reply #35 on: 18 / January / 2009, 17:17:01 »
Thanks for this!
Unfortunatly i could get it to boot on my Ixus90IS, but maybe thats the PCMCIA-cardsreaders fault.

Re: ixus90/sd790 IS porting
« Reply #36 on: 19 / January / 2009, 01:36:38 »
hmmm failing to boot

doh! I forgot to turn on encryption

here's the new one.

*

Offline Nitek

  • *
  • 16
Re: ixus90/sd790 IS porting
« Reply #37 on: 19 / January / 2009, 01:58:42 »
Now at least something happends: The red light near the display turns on, but nothing more happends and the cam is frozen.


Re: ixus90/sd790 IS porting
« Reply #38 on: 19 / January / 2009, 15:56:25 »
hmmm failing to boot

doh! I forgot to turn on encryption

here's the new one.

Just downloaded the file... lets find an empty SD-Card and then... lets give it a try :-)

Thanks for the help

Re: ixus90/sd790 IS porting
« Reply #39 on: 19 / January / 2009, 17:05:32 »
Same result here... just the LED next to ISO is glowing... thats it. Had to remove the battery to recover the cam.

Was anyone albe to download the DISKBOOT.BIN in post #1... Tried it with Opera/FF but no way to get that file down...


@Sharky thanks for the try!

Kind regards
blubbi

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal