A590IS Porting, who's with me? - page 4 - DryOS Development - CHDK Forum  

A590IS Porting, who's with me?

  • 65 Replies
  • 45190 Views
Re: A590IS Porting, who's with me?
« Reply #30 on: 02 / October / 2008, 09:10:41 »
Advertisements
thanks guys, you are so cool!

Re: A590IS Porting, who's with me?
« Reply #31 on: 02 / October / 2008, 11:35:14 »
Great news! keep up the good work! My 590is camera is on it's way from the store, would be so awesome to run chdk on it soon 8)

*

Offline ma_jk

  • **
  • 60
Re: A590IS Porting, who's with me?
« Reply #32 on: 02 / October / 2008, 18:59:19 »
please i need help from you people out there.

Anybody found the taskcreate_ShootSeqTask subroutine? its used in the boot process, compraing to the reference firmware it should be called at FFC4E078 but theres nothing useful at that address. Looking for strings/signature wasnt helpful neither...

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: A590IS Porting, who's with me?
« Reply #33 on: 02 / October / 2008, 20:24:45 »
@ma_jk

I noticed you're using A720 for reference; have you also tried looking into the source of NewDryOS ports ?
I think the port for ixus80_sd1100 might help you, maybe they changed the name for this routine in newer cams;
you could at least take a look how this has been solved for this cam - AFAIK it runs fairly decently.
sources for chr's i80 port are here: SD1100/ixus 80 porting ....

just an idea, but i hope it helps,


wim


Re: A590IS Porting, who's with me?
« Reply #34 on: 03 / October / 2008, 05:52:57 »
Anybody found the taskcreate_ShootSeqTask subroutine? its used in the boot process, compraing to the reference firmware it should be called at FFC4E078 but theres nothing useful at that address. Looking for strings/signature wasnt helpful neither...
Isn't the thing at FFC53334 the one you are looking for (in the 101b dump)? It's named taskcreate_SsTask and references task_SsTask at FFC5326C. Hope I'm right and this is of some help to you.

Re: A590IS Porting, who's with me?
« Reply #35 on: 03 / October / 2008, 10:20:53 »
great job! thanks  guys

i bought a590 yesterday, and the only reason i bought it is that CHDK for 590 is comming soon


*

Offline ma_jk

  • **
  • 60
Re: A590IS Porting, who's with me?
« Reply #36 on: 05 / October / 2008, 07:17:17 »

Hi.
I stumbled upon another problem on boot.c

Code: [Select]
void __attribute__((naked,noinline)) sub_FFC4F394_my() { //#fs  // CreateTask_CaptSeqTask
      asm volatile(
                "STMFD   SP!, {R3-R5,LR}\n"
                "LDR     R2, =0x18860\n"
                "MOV     R0, #0\n"
                "MOV     R1, #0\n"
"loc_FFC4F3A4:\n"
                "ADD     R3, R2, R0,LSL#4\n"
                "ADD     R0, R0, #1\n"
                "CMP     R0, #5\n"
                "STR     R1, [R3,#8]\n"
                "BCC     loc_FFC4F3A4\n"
                "BL      sub_FFD174EC\n"
                "BL      sub_FFD190C4\n"
                "MOV     R1, #5\n"
                "MOV     R0, #0\n"

                "BL      sub_FFC0BECC\n"

It stucks on this last call, which is related to memory allocation. In fact, from IDA

Code: [Select]

ROM:FFC0BBEC                 STMFD   SP!, {R4,LR}
ROM:FFC0BBF0                 BL      sub_FFC179F4    //inside here malloc is called
ROM:FFC0BBF4                 CMP     R0, #5            //code doesnt execute this
ROM:FFC0BBF8                 MOV     R4, R0
ROM:FFC0BBFC                 ADREQ   R0, aKernelmisc_c ; "KernelMisc.c"
ROM:FFC0BC00                 MOVEQ   R1, #0x1F
ROM:FFC0BC04                 BLEQ    DebugAssert
ROM:FFC0BC08                 MOV     R0, R4
ROM:FFC0BC0C                 LDMFD   SP!, {R4,PC}

So it freezes at FFC0BBF0. I Really cant get past it..

Re: A590IS Porting, who's with me?
« Reply #37 on: 05 / October / 2008, 17:58:26 »
Keep up the work! I'm looking forward to the port.


Re: A590IS Porting, who's with me?
« Reply #38 on: 06 / October / 2008, 13:13:10 »
im already working on porting... should be a matter of time.

I'm not familiar with CHDK (yet). But I am an experienced programmer with some embedded experience. Is there something I can do to help?

I also have access to an A590 IS.

Karen Kenworthy

*

Offline ma_jk

  • **
  • 60
Re: A590IS Porting, who's with me?
« Reply #39 on: 06 / October / 2008, 13:16:14 »
Of course you can help! if you have already setup the compiling ambient for a590, i can post my progresses, that r stuck for the moment at the booting process.
Regards

 

Related Topics