Chdk for SX130 IS ? - page 4 - CHDK Releases - CHDK Forum  

Chdk for SX130 IS ?

  • 1095 Replies
  • 331091 Views
Re: Chdk for SX130 IS ?
« Reply #30 on: 15 / November / 2010, 10:25:04 »
Advertisements
I believe that the LED addresses are 0xC0220118 and 0x022011C however I have not been successful in testing this.

*

Offline ze

  • *
  • 1
Re: Chdk for SX130 IS ?
« Reply #31 on: 24 / November / 2010, 23:41:48 »
i would guess, both being digic-iv and otherwise closer to each other, that the sx120 port http://chdk.wikia.com/wiki/SX120IS would be a better reference to guess at things from instead of the sx110.
<tangent> personally i can't believe they release this update a year or less after the last one! i wonder if the optical quality is improved any to go along with the higher zoom and MP... </tangent>

Re: Chdk for SX130 IS ?
« Reply #32 on: 26 / November / 2010, 13:15:28 »

For firmware 1.01C the d4b key is located at 0x7E3618 and the d4b IV at 0x3EDA1B.
(The actual key/IV pair is the same as for SD4500 and possibly S95)
These together with a PID of 0x3211 encrypt successfully the PS.FI2 .  


I check d4b key of  SX130, SD4500 and S95 and key is the same, but
are You sure about offset for d4b IV key?

I check with d4b IV key for SD4500 and it is not the same key ( d4b IV key offset for SD4500 is 0x43B71C, confirmed).

I cant find information about d4b IV key offset for S95.

Please check d4b IV key offset.

UPDATE

d4b IV key offset is wrong

Correct info:
For firmware 1.01C the d4b key is located at 0x7E3618 and the d4b IV at 0x3EDA0C (length 16 bytes/32 hex values)
(The actual key/IV pair is the confirmed same as for SD4500 and S95).

« Last Edit: 29 / November / 2010, 03:25:28 by sikahr »

Re: Chdk for SX130 IS ?
« Reply #33 on: 29 / November / 2010, 03:30:57 »
makefile.inc

Code: [Select]
#SX130IS PID
#PLATFORMID=0x3211
PLATFORMID=12817

PLATFORMOS=dryos

# address where wif or diskboot code will be loaded by camera
MEMBASEADDR=0x1900

# size of memory region for CHDK
RESTARTSTART=0x50000

# points to the start of the memory pool used by the firmware
MEMISOSTART=0x166210

# start of firmware
ROMBASEADDR=0xFF810000

PLFLAGS=-DMEMBASEADDR=$(MEMBASEADDR) -DMEMISOSTART=$(MEMISOSTART) -DMEMISOSIZE=$(MEMISOSIZE)
PLFLAGS+=-DRESTARTSTART=$(RESTARTSTART)

NEED_ENCODED_DISKBOOT=5
KEYSYS=d4b

#firmware 1.01C
#d4b key address 0x7E3618
#d4b IV key address 0x3EDA0C
#16 byte long starting from that point


Re: Chdk for SX130 IS ?
« Reply #34 on: 01 / December / 2010, 17:19:32 »
lib.c

Re: Chdk for SX130 IS ?
« Reply #35 on: 01 / December / 2010, 21:00:05 »
LED address:

orange 0xC0220010
green  0xC0220014
AF      0xC022000C

CBASIC code for verify:

extend.m
Code: [Select]
private sub sayHello()

   BeepDrive(3)
   Wait(500)

   Poke8 ( 0xC0220010 , 0x46 )
   Wait ( 2000 )
   Poke8 ( 0xC0220010 , 0x44 )

   BeepDrive(3)
   Wait(500)

   BeepDrive(3)
   Wait(500)

   Poke8 ( 0xC0220014 , 0x46 )
   Wait ( 2000 )
   Poke8 ( 0xC0220014 , 0x44 )

   BeepDrive(3)
   Wait(500)

   BeepDrive(3)
   Wait(500)

   Poke8 ( 0xC022000C , 0x46 )
   Wait ( 2000 )
   Poke8 ( 0xC022000C , 0x44 )

   BeepDrive(3)
   Wait(500)

end sub


private sub Initialize()
  System.Create()
  Capture.Create()
  FA.Create()
  SS.Create()
  UI.Create()
  UI.CreatePublic()
  Driver.Create()
  sayHello()

  ShowAllTaskInfo()
end sub


private sub Terminate()
 
end sub

Re: Chdk for SX130 IS ?
« Reply #36 on: 03 / December / 2010, 04:13:36 »
stubs_min.S

Re: Chdk for SX130 IS ?
« Reply #37 on: 03 / December / 2010, 05:42:00 »


Re: Chdk for SX130 IS ?
« Reply #38 on: 03 / December / 2010, 10:42:18 »
Thank God people are working on getting CHDK working for the SX130IS. This camera could really use RAW support. Keep up the good work :)

Re: Chdk for SX130 IS ?
« Reply #39 on: 03 / December / 2010, 17:00:58 »
Looks like you're on a roll sikahr. Keep it up!

 

Related Topics