A590IS porting... - page 53 - DryOS Development - CHDK Forum

A590IS porting...

  • 968 Replies
  • 419932 Views
*

Offline reyalp

  • ******
  • 14126
Re: A590IS porting...
« Reply #520 on: 04 / January / 2009, 05:44:23 »
Advertisements
If 100e was wrong, then my suggestion for 101b was also wrong, I only made sure the two were the same :)

Anyway, here's builds with the stuff from ewavrs previous posts, if anyone wants to try.
Don't forget what the H stands for.

*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: A590IS porting...
« Reply #521 on: 04 / January / 2009, 06:16:10 »
Thanks, reyalp.

I am tested the older test build on fw 1.0.1b cameras.
Record mode histogram and zebra seems to be ok.
Playback mode histogram and zebra bad again, similar ewavr test build with 0x5228.
I am unsure how to test everything, I see the the patch, lots of things changed.

Now i will test new reyalp build (thanks again).

*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: A590IS porting...
« Reply #522 on: 04 / January / 2009, 07:17:21 »
Now tested the new version of FW 1.0.1b build.
CHDK not working properly, because when go to record mode, the camera freeze.
I try the simple test in playback mode. I copied some image from another memory card (2. working card of my camera)  to my test memory card. Playback mode zebra WORKING! Playback histogram working too!
When magnified the picture, zebra always ok, and histogram to! I diff the reyalp 1. and 2. patch for fw 1.0.1b. Not only return (void*)(*(int*)(0x520C+0x4C));  //0x5258 changed. I am unsure, what is wrong.
But i am think the 0x5258 is ok for my camera.I am think (unsure) the patch 1 is ok, but has wrong zebra. 

*

Offline reyalp

  • ******
  • 14126
Re: A590IS porting...
« Reply #523 on: 08 / January / 2009, 21:02:18 »
Maybe the movie support stuff is broken. Here's a build without it.

Don't forget what the H stands for.

*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: A590IS porting...
« Reply #524 on: 09 / January / 2009, 16:47:47 »
Maybe the movie support stuff is broken. Here's a build without it.



Now i try the new test build for Firmware 1.01b camera. Record mode crash again.

Now i can compile the source. My FIRST builds, i don't  know everything is ok or no in my build system,
(Linux, gcc 3.4.6, binutils 2.17, based on Compiling CHDK under Linux - CHDK Wiki, little modified for my system.

I modified the patch3 little, delete this lines:

@@ -678,8 +678,8 @@

 "loc_FFC1A898:\n"
             "MOV     R0, R4\n"
 "loc_FFC1A89C:\n"
-                //"BL      sub_FFC64678_my\n"
-            "BL      sub_FFC64678\n"
+                "BL      sub_FFC64678_my\n"
+//            "BL      sub_FFC64678\n"
                 "LDMFD   SP!, {R3-R11,PC}\n"
 "loc_FFC1A8A4:\n"
                 "BL      sub_FFC6A108\n"

Now i patched the SVN673 sources, and compile it, and test. Record mode working, and playback zebra and histogram too.I don't understand what is wrong, i am not expert.

*

Offline reyalp

  • ******
  • 14126
Re: A590IS porting...
« Reply #525 on: 09 / January / 2009, 18:32:55 »
Excellent, that was going to be my next test.

This is strange, because the _my function is called from a bunch of other places. But it must be wrong or broken somehow ?
Don't forget what the H stands for.

Re: A590IS porting...
« Reply #526 on: 10 / January / 2009, 15:02:03 »
i dont think ripple will play into this type of device as were not working with any kind of sine wave, being true, half or full wave. the power adapter is exactly the same rating as the canon ack800. 3.2 volt and current drain measured identical. the only difference other than size was the amp output. 1.5 for the canon and 1.4 for the adapter. not an issue with this camera.
Can you also state the polarity of the external power supply. Is the positive on the inside? I would be interested in time lapse pictures and would not like to lose power during a picture taking session. Also external power supply would help testing the var1ous new propeties available with CHDK.
Thanks to the developers for their intresting results.javascript:void(0);

onlyno
« Last Edit: 10 / January / 2009, 15:10:00 by onlyno »

*

Offline reyalp

  • ******
  • 14126
Re: A590IS porting...
« Reply #527 on: 11 / January / 2009, 00:22:39 »

Now i patched the SVN673 sources, and compile it, and test. Record mode working, and playback zebra and histogram too.I don't understand what is wrong, i am not expert.
mngc:
I've checked in this version, svn 675.

Can you check
1) Latest autobuild is OK. It should be the same as what you built.
2) swap the comments on the movie stuff (boot.c @ line 1032 ) and see it still boots and records movies OK ?

Thanks.
Don't forget what the H stands for.

*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: A590IS porting...
« Reply #528 on: 11 / January / 2009, 06:58:00 »
Now i checked the SVN676 autobuild on Fw 1.01B camera.
Record mode working, record mode histogram, and zebra too.

Playback mode histogram, and zebra working too. But this version, and older test built with patch, playback  histograms and zebra always ok (when zooming, pannning, changing the picture) -> half press shutter button. If the menu->histogram->Show live histograms set to shot.

  If the menu->histogram->Show live histograms set to  to always, sometimes not show the histograms in playback mode. But this is a minor problem,  (i not know another camares  how working in play mode, if set to always or shot)

My cameras without the zebra patch, histograms often bad, or incorrect, not from a correct picture, and of course zebra always bad in play mode. 

In record mode  menu->histogram->Show live histograms set to  to always, working fine, and if set to shoot, working fine too (half press shutter button).

Now downloaded the SVN676 sources, and swap the comment to boot.c @ line 1031. , and compile it.

Camera working, record mode too. I can record movie, and i see it in playback mode.
Now i checked some video parameters.
- Optical zoom, not working
- change the mode to bitrate, and bitrate 1x to 0.25x, not working, same size video recorded
- change the mode to quality to and set qualty to 10, not working, same size video recorded
I see on the osd the new  bitrate or quality seetings. Original autobuild is same, extended video modes not working. Video mode very interesting. Good idea :)

Re: A590IS porting...
« Reply #529 on: 14 / January / 2009, 08:57:21 »
As we discovered in IRC, all that seemed to be missing was the call to sub_FFC1A97C_my. I've added this in autobuild 665. Although everything looks OK on a quick inspection, it's possible that some addresses are wrong, so report back if it doesn't work.
The multipartition support still does not work for me in build 678. Tried on firmware 101b.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal