S90 Porting Thread - page 6 - DryOS Development - CHDK Forum

S90 Porting Thread

  • 397 Replies
  • 120111 Views
Re: S90 Porting Thread
« Reply #50 on: 10 / February / 2010, 21:27:32 »
Advertisements
can I help in some way?? I know I can't code in ASM, but I could test your code Rachelkitty when it becomes a file that I can load in the camera. thanks for your efforts!

Re: S90 Porting Thread
« Reply #51 on: 11 / February / 2010, 19:08:40 »
So, bootup is runnign with a fallover late on, seems to be when screen would normally be initialising, need to take a look at that.

Re: S90 Porting Thread
« Reply #52 on: 11 / February / 2010, 19:48:47 »
Are any folders created ?

Try commenting-out most of the spytask functions and then enable them one-by-one.


David

*

Offline ERR99

  • ****
  • 339
Re: S90 Porting Thread
« Reply #53 on: 12 / February / 2010, 04:41:23 »
If commenting out the spytask does not help, comment out the kbd task also and start the original kbd-task instead.
I dont know how the S90 works, but on the G11 i had to change the "usual" code in kbd.c,
because with the standard implementation, display&key lightning are switched off and the camera "looks" dead/off, but it wasnt.

Also disable all chdk hook tasks (capture, movie, etc.). There are not so important now, chdk will run also without them.
You can activate them later, after you are sure that spytask and kbd task are running stable.

Another pitfall, which often crashes the g11 during startup, was the spytask config loading. If fixed that in the G11 port. I expect that you also need the other chdk core changes for the new dryos, so maybe you also have to set the CAM_DRYOS_2_3_R39 define in camera.h. For that, you need the actual chdk code (with g11 port included).


Re: S90 Porting Thread
« Reply #54 on: 12 / February / 2010, 11:13:42 »
Run into a bit of an issue, can't locate ScreenLock and ScreenUnlock. Anyone else that could have a look through the dump and see if they can find?

Re: S90 Porting Thread
« Reply #55 on: 12 / February / 2010, 11:44:11 »
Are the G11 and SX200IS the best firmwares to compare the S90 with ?


Re: S90 Porting Thread
« Reply #56 on: 12 / February / 2010, 11:49:05 »
The G11 hardware is almost identical to the S90, except for the bigger body, so it's a pretty good choice for comparisons. I've run through a whole bunch of firmwares so far, but those 2 functions are the ones that are eluding me.

Re: S90 Porting Thread
« Reply #57 on: 12 / February / 2010, 13:37:33 »
OK, I will try to find them after my tea.



Re: S90 Porting Thread
« Reply #58 on: 12 / February / 2010, 13:40:37 »
Thanks very much, I appreciate any help :)

Re: S90 Porting Thread
« Reply #59 on: 12 / February / 2010, 15:58:36 »
Assuming that the first firmware dump you made available is OK, the addresses are :-

NHSTUB(ScreenLock, 0xFFA0A10C)
NHSTUB(ScreenUnlock,0xFFA0A134)

Just to confirm, I have :-

ROM:FFA0A10C                 STMFD   SP!, {R4,LR}
ROM:FFA0A110                 BL      sub_FFA0A2EC


David

 

Related Topics