Author Topic: IXUS 230 HS - Porting Thread  (Read 2287 times)

Offline Minos

  • Newbie
  • *
  • Posts: 3
Re: IXUS 230 HS - Porting Thread
« Reply #45 on: 23 / January / 2012, 02:14:34 »
Thanks!
Appreciate your work!
Minos

Offline MarcoETV

  • Rookie
  • *
  • Posts: 7
Re: IXUS 230 HS - Porting Thread
« Reply #46 on: 24 / January / 2012, 21:23:15 »
Hello

I have tried to dump firmware 100a from my IXUS 230.

Link:  http://www.zshare.net/download/9890127866b9a801/

Hope that someone will be able to port it without too many efforts.

It is not clear to me if I should upgrade camera to 100b and then install the related CHDK.

Thank you all for the great job done.

Marco


Offline tommi2water

  • Full Member
  • ***
  • Posts: 157
  • IXUS 220 HS Firmware: 1.00c
Re: IXUS 230 HS - Porting Thread
« Reply #47 on: 24 / January / 2012, 22:06:22 »
Hello
I have tried to dump firmware 100a from my IXUS 230.
...
It is not clear to me if I should upgrade camera to 100b and then install the related CHDK.

Did you try if CHDK for 100b firmware is already working for your 100a firmware. Sometimes it works for different firmware versions without additional changes.

If it is not working on 100a someone has to port it for 100a firmware as well.

Offline MarcoETV

  • Rookie
  • *
  • Posts: 7
Re: IXUS 230 HS - Porting Thread
« Reply #48 on: 24 / January / 2012, 22:14:00 »
It looks like the camera doesn't work with 100b CHDK. But I'm confused since I have the Stereo Data Maker on my Powershot 650IS and files structure seems different to me. I'm little lost in the procedure to get a correct CHDK on my IXUS 230 SD card
« Last Edit: 24 / January / 2012, 22:16:14 by MarcoETV »

Offline tommi2water

  • Full Member
  • ***
  • Posts: 157
  • IXUS 220 HS Firmware: 1.00c
Re: IXUS 230 HS - Porting Thread
« Reply #49 on: 24 / January / 2012, 22:17:39 »
Then someone (maybe you?) has to start porting for 100a firmware.

Porting to another firmware version for the same camera should be much easier then porting for a new camera.

For this you could use CHDK-PT (http://chdk.setepontos.com/index.php?topic=6367) to get quick results.

Offline MarcoETV

  • Rookie
  • *
  • Posts: 7
Re: IXUS 230 HS - Porting Thread
« Reply #50 on: 25 / January / 2012, 03:19:50 »
I have tried CHDK-PT but I'm stucked at this point (ref.: http://chdk.wikia.com/wiki/CHDK-PT_:_A_tool_for_porting_different_firmware_versions_on_the_same_camera):

"Converting the C language CHDK task files"

It is asked "to create an address.txt file by looking at the original tasks, where labels and maybe comments provide clues as to where the code was taken from". I don't understand how to go on.

Should I look into thousands hundred lines for codes?  :o

Thank for help!

Offline waterwingz

  • Guru Member
  • ******
  • Posts: 2028
Re: IXUS 230 HS - Porting Thread
« Reply #51 on: 25 / January / 2012, 07:29:49 »
It is asked "to create an address.txt file by looking at the original tasks, where labels and maybe comments provide clues as to where the code was taken from". I don't understand how to go on.
I've posted on this subject several times.  Rather than type it all in again,  see if any of these links help :

link> CHDK-PT : Using the addresses.txt file - thread 1
link> CHDK-PT : Using the addresses.txt file - thread 2
link> CHDK-PT : Using the addresses.txt file - thread 3

Offline MarcoETV

  • Rookie
  • *
  • Posts: 7
Re: IXUS 230 HS - Porting Thread
« Reply #52 on: 25 / January / 2012, 13:25:44 »
waterwingz would you please give a look to boot.c for 100b and extract the "boot 0xffyyyyy zz" correct values, since I'm not able to find them. Maybe I could start from that point if I understand the mechanism. I tried to use my address.txt file but I get numbers of lines (lenght) different in the stubs.c saved after conversion, compared to those in boot.c for 100b.

I also get these errors:


boot 0xff000000 89
sub_FF000358_my 0xff000358 31
...
taskcreate_Startup_my 0xff00fdb4 48
// WARNING: too many matches for task_Startup_my!
task_Startup_my 0xff00fd28 21
taskcreatePhySw_my 0xff0253dc 12
init_file_modules_task 0xff09301c 10
// WARNING: too many matches for capt_seq_task!
capt_seq_task 0xff0769f8 247
...


thank you
« Last Edit: 25 / January / 2012, 16:32:19 by MarcoETV »

Offline waterwingz

  • Guru Member
  • ******
  • Posts: 2028
Re: IXUS 230 HS - Porting Thread
« Reply #53 on: 26 / January / 2012, 20:21:09 »
@MarcoETV : I really need to warn you here that getting a port like this completed so that it is reliable if a difficult undertaking.  Expecially if you do not have software development experience.  Recently there have been a couple of ports by people who basically crashed their way through while not understanding how the code really works.  While they have ports that boot and do things,  the number of ongoing problems posted in the forum suggest that there will be ongoing software issues until somebody with a software background goes through and cleans them up.

waterwingz would you please give a look to boot.c for 100b and extract the "boot 0xffyyyyy zz" correct values
I just did the boot.c part.  You will need to figure out capt_seq.c and movie_rec.c on your own.

Code: [Select]
boot 0xFF00000C 86
sub_FF000358_my 0xFF000358 27
sub_FF0011B0_my 0xFF00119C 44
sub_FF005F2C_my 0xFF005F2C 30
sub_FF00FDA0_my 0xFF00FDA0 5
taskcreate_Startup_my 0xFF00FDB4 43 
task_Startup_my 0xFF00FD28 18
taskcreatePhySw_my 0xFF0253DC 9
init_file_modules_task  0xFF09301C 8


Quote
// WARNING: too many matches for task_Startup_my!
This function is really just a sequence of BL instructions.  This is a common structure in the ROM and so CHDK-PT finds many matches and does not know which one to use.  You have to find this code for yourself based on the
Code: [Select]
LDR R3, =0xFF00FD28at the end of the taskcreate_Startup_my() function.



CHDK Forum

Re: IXUS 230 HS - Porting Thread
« Reply #53 on: 26 / January / 2012, 20:21:09 »

Offline MarcoETV

  • Rookie
  • *
  • Posts: 7
Re: IXUS 230 HS - Porting Thread
« Reply #54 on: 26 / January / 2012, 22:28:26 »
Thank you for help!
I'll keep on trying to get the goal.

Offline MarcoETV

  • Rookie
  • *
  • Posts: 7
Re: IXUS 230 HS - Porting Thread
« Reply #55 on: 27 / January / 2012, 02:13:41 »
Hello waterwingz
I miss basic aknowledge of programming, so I will give up and wait for someone that has the knowledge to work this out.
Anyway I would ask you one last thing: if I put the code you have made for boot.c and I convert using only these lines, should I get warning for multiple instances or not?

Thank you

Offline waterwingz

  • Guru Member
  • ******
  • Posts: 2028
Re: IXUS 230 HS - Porting Thread
« Reply #56 on: 27 / January / 2012, 06:56:38 »
Anyway I would ask you one last thing: if I put the code you have made for boot.c and I convert using only these lines, should I get warning for multiple instances or not?
Yes.  I explained why in my post below where I put the addresses.txt information.

Offline MarcoETV

  • Rookie
  • *
  • Posts: 7
Re: IXUS 230 HS - Porting Thread
« Reply #57 on: 28 / January / 2012, 20:57:39 »
Hello

unfortunately I don't understand your advices, so I give up. I hope someone who has same fw and enough aknoledge will work it out.

Offline Luk

  • Rookie
  • *
  • Posts: 12
Re: IXUS 230 HS - Porting Thread
« Reply #58 on: 02 / February / 2012, 06:40:19 »
Hello,

I don't know the english menudialogues, because the language is set to german..

there is a Problem with my badpixel.bin
i'm create the badpixel.bin with the option in the ixus 230.
so in the CHDK Libary is the badpixel.bin file.

but when I try to set Raw to DNG isn't this possible. there always shown "no badpixel.bin  generate with with the option in RAW menu....
I was trying and trying again...

what is the matter for that happening? or do I something wrong?

greetings Luk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal