IXUS 230 HS - Porting Thread - page 6 - General Discussion and Assistance - CHDK Forum supplierdeeply

IXUS 230 HS - Porting Thread

  • 168 Replies
  • 49178 Views
Re: IXUS 230 HS - Porting Thread
« Reply #50 on: 24 / January / 2012, 17:19:50 »
Advertisements
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!

Re: IXUS 230 HS - Porting Thread
« Reply #51 on: 24 / January / 2012, 21: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
Ported :   A1200    SD940   G10    Powershot N    G16

Re: IXUS 230 HS - Porting Thread
« Reply #52 on: 25 / January / 2012, 03: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, 06:32:19 by MarcoETV »

Re: IXUS 230 HS - Porting Thread
« Reply #53 on: 26 / January / 2012, 10: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.


Ported :   A1200    SD940   G10    Powershot N    G16


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

Re: IXUS 230 HS - Porting Thread
« Reply #55 on: 26 / January / 2012, 16: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

Re: IXUS 230 HS - Porting Thread
« Reply #56 on: 26 / January / 2012, 20: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.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: IXUS 230 HS - Porting Thread
« Reply #57 on: 28 / January / 2012, 10: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

  • *
  • 12
Re: IXUS 230 HS - Porting Thread
« Reply #58 on: 01 / February / 2012, 20: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

*

Offline mrks

  • *
  • 17
Re: IXUS 230 HS - Porting Thread
« Reply #59 on: 26 / February / 2012, 10:25:02 »
Hi,

Here is a firmware dump for version 100e (rev 5)
http://www.zshare.net/download/99159728a701c41d/

I will try to port the 100b code to 100e.
So far I have tried to boot with the 100b bin and that does not work. The camera is completely blank and does not react at all.

 

Related Topics