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

ixus90/sd790 IS porting

  • 331 Replies
  • 163240 Views
Re: ixus90/sd790 IS porting
« Reply #170 on: 20 / March / 2009, 18:35:11 »
Advertisements
@snc: I own a ixus90 with firmware 1.00c. Your binary does not work for me, but I would spend some time trying to port your sources to 1.00c. Is there anywhere a help which addresses are relevant and how to find them? I'm not really into disassembling but with a little help I would give it a try.

By the way: My cam seems not to respond to a existing ps.fi2 in root directory. I can't find a "firmware update" entry in the menu?

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: ixus90/sd790 IS porting
« Reply #171 on: 20 / March / 2009, 19:01:30 »
By the way: My cam seems not to respond to a existing ps.fi2 in root directory. I can't find a "firmware update" entry in the menu?
Start your cam in playback mode, the menu item (don't forget to scroll down to the end of the menu !) is not available when you power on in record mode or switch between playback & record mode.

If the PS.FI2 file is placed at the card's root, but you still don't see the firmware update item -> maybe the MAC OS security problem described in the wikia ?  --> http://chdk.wikia.com/wiki/FAQ/Mac#Still_Having_Trouble.3F

*

Offline snc

  • **
  • 64
    • vware
Re: ixus90/sd790 IS porting
« Reply #172 on: 21 / March / 2009, 04:23:50 »
unfortunately, you won't be able to avoid disassembling the firmware... i would suspect that rather big chunks of code are identical, tho. so, when you create a new /sub/100c directory by copying the 100d, i would do 4 things if i was you:
a) open boot.c and IDA; check the canon_* variables, make sure the assembly code matches the disassembly.

b) open lib.c: check everything there; i highly suspect you can ignore the hook_raw_* functions, as those are the ones i found to be identical to the ixus970... probability is quite high its similar in 100d, too.

c) open stubs_entry and stubs_entry2: well, eventually, youll have to check all of them (stubs_entry is auto-generated, so dont change it), and probably correct things that were not found automatically. i found that sigfind did a good job.

d) open stubs_min: check phsw_* addresses, they're easy to find in IDA.

eventually, of course, youll have to check all of them... but to your port to boot, it should be enough. you can safely ignore movie_rec.c (doesnt do anything) and for just getting stuff to boot probably also capt_seq.c.

also, beware that the ixus90 needs an encoded diskboot.bin, so you might wanna enable OPT_FI2 in the makefile when building. you'll need to retrieve keys and place them correctly - see other threads in here.

all of this is actually not that hard, as a lot of work has been done by brake already. just open the 100c IDA and code, and cross reference everything if you get lost to make your conclusions about v100d. also, since the 90 port hasnt very good hints as to what was found where, id recommend you to also check other ports. you might try my port of the 970, as it seems to be _very_ similar to the 90, and i noted the locations of all the stuff i found... that might help you get there faster.

good luck!


EDIT: fixed a lil mistake in a)
« Last Edit: 26 / March / 2009, 05:36:44 by snc »

Re: ixus90/sd790 IS porting
« Reply #173 on: 21 / March / 2009, 21:55:35 »
  Awesome! I'll give it a try!      Last night, I managed to get at least 4  bad RAW files! Every one.

  What is with the flag addresses?  I'm new to this...   I need some stuff to read up on...

I'll try out the new version!   Thanks!


Re: ixus90/sd790 IS porting
« Reply #174 on: 07 / April / 2009, 16:13:13 »
Has anyone seen the new development that gets rid of the 64 sec shutter limit. It was tested and works with the A710 so far. What would be required for this to be ported to the SD790?

*

Offline snc

  • **
  • 64
    • vware
Re: ixus90/sd790 IS porting
« Reply #175 on: 09 / April / 2009, 09:26:17 »
follow ewavr's example and extract task_ExpDrvTask from the 790 firmware, then hook it up in boot.c. it is quite straight forward, but a bit tedious cause its quite a chunk of assembly code.

Re: ixus90/sd790 IS porting
« Reply #176 on: 14 / April / 2009, 23:12:45 »
Well, if this isn't an awesome example of teamwork, I don't know what is.  GREAT JOB GUYS!!!  I BOW IN YOUR GREATNESS!   So, is there anybody that can complete this port?  I would love to have a stable version of this, it would be sweettastic.

*

Offline snc

  • **
  • 64
    • vware
Re: ixus90/sd790 IS porting
« Reply #177 on: 15 / April / 2009, 00:59:02 »
there are quite a few devs who could complete it, i guess. that includes people like ewavr and reyalp. heck, i could, too. but seemingly we all share the same problem: porting a cam is quite some work, and i doubt that anyone of the aforementioned has a reason to finish the port ;) - it is basically the same prob as other revisions of the 970, see here: http://chdk.setepontos.com/index.php/topic,3246.msg32205.html#msg32205


Re: ixus90/sd790 IS porting
« Reply #178 on: 16 / April / 2009, 16:54:54 »
Well, that sucks.  I understand, I only wish I knew how to do it so I could just get it done.  Well, if anybody with this camera ever finds incentive to make this camera super awesome, please feel free.  And, how useful is the last port that was created for me to get RAW images and use some other features of CHDK?

Re: ixus90/sd790 IS porting
« Reply #179 on: 21 / April / 2009, 18:47:23 »
So close, yet so far away....

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal