the sx20 porting thread - page 112 - General Discussion and Assistance - CHDK Forum  

the sx20 porting thread

  • 1286 Replies
  • 471695 Views
Re: the sx20 porting thread
« Reply #1110 on: 15 / February / 2011, 14:54:01 »
Advertisements
>Unfortunately, that problem has not been solved yet. Romlog didn't work for me either. It just keep >crashing the camera, I would also like to know how others are coping with this issue.

I dont understand wy nobody add this sleep command as i write here compile and test

http://chdk.setepontos.com/index.php?topic=4348.msg60115#msg60115

it work really stable on Ixus 1000.
i reduce the value to (100) and no crash i get since a week even if i have a 8 gb card with many pics, so that the camera need in play mode long to get ready
Ixus 1000 HS

Re: the sx20 porting thread
« Reply #1111 on: 15 / February / 2011, 17:50:00 »
>Unfortunately, that problem has not been solved yet. Romlog didn't work for me either. It just keep >crashing the camera, I would also like to know how others are coping with this issue.

I dont understand wy nobody add this sleep command as i write here compile and test

http://chdk.setepontos.com/index.php?topic=4348.msg60115#msg60115

it work really stable on Ixus 1000.
i reduce the value to (100) and no crash i get since a week even if i have a 8 gb card with many pics, so that the camera need in play mode long to get ready

Sorry to ask but where do I install this command? Even though I haven't had any problem since I have found that by holding the start button for more than one second, I am curious too see if your command would work so in what folder do i install this?
SX20 1.02d

Re: the sx20 porting thread
« Reply #1112 on: 15 / February / 2011, 19:11:17 »
Hi  wowsers51

"Bernd R" is talking about changing some data in "me.but" (subprogram or subroutine of CHDK),  and compile everything again.
He knows how to do it, not for us,  apparently, it worked in another camera with similar problem "Canon IXUS 1000".
if I do this,...  after my camera explodes ("POOOOOOMMMM!!!!!!!!"") ja ja   :-))

Greetings NEZtron
Canon SX20 is 1.02b CHDK

Re: the sx20 porting thread
« Reply #1113 on: 15 / February / 2011, 19:50:11 »
Hi  wowsers51

"Bernd R" is talking about changing some data in "me.but" (subprogram or subroutine of CHDK),  and compile everything again.
He knows how to do it, not for us,  apparently, it worked in another camera with similar problem "Canon IXUS 1000".
if I do this,...  after my camera explodes ("POOOOOOMMMM!!!!!!!!"") ja ja   :-))

Greetings NEZtron

O.K. This is too advanced for me then. I'll just continue to start my SX20 the way I do it now and forget about all this jargon.
SX20 1.02d


*

Offline vtysh

  • *
  • 12
Re: the sx20 porting thread
« Reply #1114 on: 19 / February / 2011, 06:32:59 »
Bernd R: thank you for your patch. Seems that it helps me with my sx10 boot crash issue. At least few days i didn't notice any crash with this patch.

Re: the sx20 porting thread
« Reply #1115 on: 19 / February / 2011, 13:25:56 »
@NEZtron
>He knows how to do it, not for us,  apparently, it worked in another camera with similar problem "Canon >IXUS 1000".
>if I do this,...  after my camera explodes ("POOOOOOMMMM!!!!!!!!"") ja ja   :-))

The command do only a wait for 1 sec and continue then.nothing can explode-

Is here nobody who can compile with that patch in ?
if not, i see in chdk shell i have switch for SX20 102b 102d

If this patch work on a camera that crash frequently, its possible a better fix can do.

because this function call sit on too early place.

  "BL      core_spytask_can_start\n" // + safe to start spytask

it need call later.

chdk work too when the call is remove, then it wait 4 sec and boot then.

hers is code of Ixus 1000, but all other camera look same.file is in camera\sub\100d\boot.c

//FILE INIT STUFF
void __attribute__((naked,noinline)) init_file_modules_task() {
 asm volatile(
    "STMFD   SP!, {R4-R6,LR}\n"
    "BL      sub_FF896688\n"
    "LDR     R5, =0x5006\n"
    "MOVS    R4, R0\n"
    "MOVNE   R1, #0\n"
    "MOVNE   R0, R5\n"
    "BLNE    sub_FF89A464\n"  //PostLogicalEventToUI
//    "BL      sub_FF8966B4\n"
    "BL      sub_FF8966B4_my\n"
    //-- --------------------->
     "BL      core_spytask_can_start\n" // + safe to start spytask
    "CMP     R4, #0\n"
    "MOVEQ   R0, R5\n"
    "LDMEQFD SP!, {R4-R6,LR}\n"
    "MOVEQ   R1, #0\n"
    "BEQ    sub_FF89A464\n"  //PostLogicalEventToUI
    "LDMFD   SP!, {R4-R6,PC}\n"
    );
};
 

« Last Edit: 24 / February / 2011, 03:55:38 by Bernd R »
Ixus 1000 HS

Re: the sx20 porting thread
« Reply #1116 on: 19 / February / 2011, 23:34:34 »
Hi  Bernd R

>if I do this,...  after my camera explodes ("POOOOOOMMMM!!!!!!!!"")   :-(((
NOOOO!!!! NO! NO!
Apologies!!!... was a joke for "wowsers51", I do not try to compile, I have not enough knowledge to do. Surely if I compile, I do it wrong, this is delicate.
I have no doubt that your patch works!!! <-- YES!, would be great if someone here, someone with knowledge of CHDK for SX20 = "acid2000; neszt; ultimA etc." try to view this topic they know how to do.
vtysh arrange with your patch the boot problem in a SX10 !!!
As wowsers51, I stay out of this, because,... as seen...unfortunately  I can not help much.
Thank you very much for the wonderful CHDK!!

Greetings NEZtron
SX20 1.0.2b
« Last Edit: 20 / February / 2011, 09:22:16 by NEZtron »
Canon SX20 is 1.02b CHDK

Re: the sx20 porting thread
« Reply #1117 on: 19 / February / 2011, 23:37:31 »
Would love it as well if someone could compile a latest build for me sx20 1.2d with bernds patch, so that i could test it out.

that would be wonderful.
sx20is 1.02d


*

Offline vtysh

  • *
  • 12
Re: the sx20 porting thread
« Reply #1118 on: 20 / February / 2011, 06:48:28 »
bdasmith: it is very easy to do with CHDK-Shell.
http://chdk.wikia.com/wiki/CHDK-Shell

However here i've compiled for you latest trunk with the sleep patch.
http://www.rapidspread.com/file.jsp?id=b9rnhzixan
« Last Edit: 20 / February / 2011, 06:56:08 by vtysh »

Re: the sx20 porting thread
« Reply #1119 on: 20 / February / 2011, 15:04:38 »
@vtysh

Thanks for the effort for installing the command in this newest version (1066). But it didn't work for me because the first time I try to start the camera it crashed. It started fine on the second attempt but I then tried to run one of my favorite script (mint.lua) which is an intervalometer script and that script just wouldn't run. :(

It kept saying that there was an error. So I then removed that newest version and reinstalled an older one (1050) and my script work just fine.  :-[
SX20 1.02d

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal