A2000IS porting - page 4 - DryOS Development - CHDK Forum supplierdeeply

A2000IS porting

  • 95 Replies
  • 61330 Views
*

Offline reyalp

  • ******
  • 14080
Re: A2000IS porting
« Reply #30 on: 09 / September / 2009, 04:16:52 »
Advertisements
@dabbeljuh
thanks for the feedbacks! i have noticed an occasional menu refresh problem on my cam too (in my situation the menu just vanishes).  for my cam it is quite a rare problem and right now i have not been able to reproduce this problem systematically.
This is normal for all versions of CHDK, when canon updates the screen, the CHDK OSD gets wiped out. See sig ;)

mweerden did some work to work around this on the ixus870, see changeset 769 / mantis issue 260
Don't forget what the H stands for.

Re: A2000IS porting
« Reply #31 on: 09 / September / 2009, 06:42:07 »
Okay, finally  :) I found some problems (don't know whether they aren't implemented yet or just bugs):

-When I activate the "battery-termperature"-option of the OSD and change to RecordMode, the screen turns black after ~0.5s and the cam seems to shut down (objective stays open)
same when I activate the option already in RecordMode
After that, the cam could be restarted as normal

-"Save Edge-Overlay" doesn't work
« Last Edit: 09 / September / 2009, 15:07:34 by dabbeljuh »
Canon Powershot A2000 IS (GM 1.00B)

*

Offline reyalp

  • ******
  • 14080
Re: A2000IS porting
« Reply #32 on: 09 / September / 2009, 18:28:19 »
@reyalp
thanks so much for the great help. will make the changes later today, test and the update the diff file as soon as possible
Thinking about this a bit more, it's probably easier for me to check in what I have now, and then you can post patches against that. I'll try to get that done today.

-When I activate the "battery-termperature"-option of the OSD and change to RecordMode, the screen turns black after ~0.5s and the cam seems to shut down (objective stays open)
Sounds like the entry point is wrong, or not implemented in canons firmware (istr SX110 had the same issue)
Don't forget what the H stands for.

*

Offline iax

  • *
  • 45
Re: A2000IS porting
« Reply #33 on: 09 / September / 2009, 19:00:25 »
@reyalp
Quote
Thinking about this a bit more, it's probably easier for me to check in what I have now, and then you can post patches against that. I'll try to get that done today.

Ok that's fine for me, do it when you have time. Meanwhile I think I've fixed the issues you pointed out.

In the keymap[] I had to swap KEY_MENU and KEY_DISPLAY values to map correctly the buttons (before that CHDK menu was activated by the DISPLAY button and not by the MENU button)

I still have to fix the aperture_sizes_table (my table is certainly wrong)

I still have to understand if the camera has ND filter or not....I think camera has ND filter, I deduce that from the fact that I did few test shots overriding the aperture value and DOF looks always the same, and...I cannot seen any diaphram closing.

But I cannot find the related functions inside the firmware. I can locate the "magic" strings "TurnOnNdFilter" "TurnOffNdFilter" in the dump, but IDA is not able to find any reference to those strings...So I need more time to fix this

@dabbeljuh

thanks for your testing. I am going to try to fix at least the edge overlay problem


*

Offline reyalp

  • ******
  • 14080
Re: A2000IS porting
« Reply #34 on: 09 / September / 2009, 19:11:26 »
OK, I've checked this in, svn 797

It's mostly unchanged from what you sent me, but I did correct CAM_UNCACHED_BIT

Also a note on lib.c, hook_raw* are obsolete and not needed.
Don't forget what the H stands for.

Re: A2000IS porting
« Reply #35 on: 10 / September / 2009, 02:48:12 »
OK, I've checked this in, svn 797

It's mostly unchanged from what you sent me, but I did correct CAM_UNCACHED_BIT

Also a note on lib.c, hook_raw* are obsolete and not needed.

I got a problem compiling it.
Is it possible that the Makefile is missing in the a2000-loader?
Canon Powershot A2000 IS (GM 1.00B)

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: A2000IS porting
« Reply #36 on: 10 / September / 2009, 04:10:19 »
@dabbeljuh

that's right, i got it to compile by copying:
Quote
loader/a720/Makefile -> loader/a2000/Makefile
loader/a720/resetcode/Makefile -> loader/a2000/resetcode/Makefile
... creating:
Quote
platform/a2000/notes.txt
... and adding an a2000 entry in the root Makefile in the
'batch-zip:' 'batch-zip-complete:' and 'batch-clean:' sections
got only 1 warning:
Quote
lib.c: In function 'hook_raw_fptr':
lib.c:50: warning: return makes pointer from integer without a cast
which seems to reflect reyalp's remark

have fun testing/playing,
wim

« Last Edit: 10 / September / 2009, 04:25:54 by whim »

*

Offline reyalp

  • ******
  • 14080
Re: A2000IS porting
« Reply #37 on: 10 / September / 2009, 04:24:13 »
Oops, added the Makefiles.
Don't forget what the H stands for.


*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: A2000IS porting
« Reply #38 on: 10 / September / 2009, 04:32:49 »
@reyalp

do you ever sleep ? :D

cheers,
wim

edit: still misses notes.txt though (and maybe commented-out root Makefile entries) :
Quote
lib.c: In function 'hook_raw_fptr':
lib.c:50: warning: return makes pointer from integer without a cast
cat: ./platform/a2000/notes.txt: No such file or directory
@dabbeljuh
remove warning by adding "(void *)" before "0xEC04F0" in platform/sub/100c/lib.c
and CHDK-Shell will give you the 'green light'
« Last Edit: 10 / September / 2009, 05:13:13 by whim »

Re: A2000IS porting
« Reply #39 on: 10 / September / 2009, 05:08:21 »
edit: still misses notes.txt though (and maybe commented-out root Makefile entries)

Would be cool for CHDK-Shell compiling

Thanks a lot for all your work
w

Edit: I know I could do it by adding the a2000-lines to the root-Bootfile, but I'm just tired of doing it with every new build  :D
Sorry, I'm a bit lazy today  ;)
« Last Edit: 10 / September / 2009, 05:24:39 by dabbeljuh »
Canon Powershot A2000 IS (GM 1.00B)

 

Related Topics