Adding new cameras, applying patches into trunk (with source code prepared) - page 9 - General Discussion and Assistance - CHDK Forum

Adding new cameras, applying patches into trunk (with source code prepared)

  • 1685 Replies
  • 845368 Views
*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Advertisements
Please add the SX20 102b port to head
Added to the CHDK trunk, changeset #900.

Notes:
* For now, this SX20 port is commented out in the main makefile - therefore the Autobuild Server will not deliver binaries yet.
* Changes i've made:
- some cosmetic things
- corrected typo in generic\shooting.c:  (CAMERA_sx20)

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
here is a .zip file with everything related to ixus85/SD770IS port, firmware version 100a. It compiles against trunk version 898.
Added to the CHDK trunk, changeset #901/ #902.

Notes:
* For now, this Ixus85_SD770 port is commented out in the main makefile - therefore the Autobuild Server will not deliver binaries yet.
* Changes i've made:
- some cosmetic things
- added to the main makefile (commented out)
« Last Edit: 05 / June / 2010, 07:04:43 by fe50 »

*

Offline ultimA

  • ***
  • 137
I have two patches prepared, both created against trunk918. The first one renames the "examples" folder of scripts to "EXAM". This solves the problem of the SX20 (and some other cameras too) not being able to load scripts in that folder.

The second patch is less trivial and adds support for SX20 1.02d. Please include both in the trunk.

Patch "rename SCRIPTS/examples for better compatibility": http://www.megaupload.com/?d=0LS1182R
Patch "add support for SX20IS 1.02d": http://www.megaupload.com/?d=XA6738SJ

Enjoy,
ultimA

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
* I have two patches prepared, both created against trunk918. The first one renames the "examples" folder of scripts to "EXAM". This solves the problem of the SX20 (and some other cameras too) not being able to load scripts in that folder.
* The second patch is less trivial and adds support for SX20 1.02d. Please include both in the trunk.
Done, changeset #919.

ultimA - pls. check the SX20 1.02d port from the SVN server - i had to adapt the diff file manually to fit the SVN tree structure, i hope i got it all right...

*

Offline zfeet

  • **
  • 67
Hello!

Here's diff to r920 that adds support for A430. Let me know if it needs any changes.

Edit: This is the final version made with svn diff

http://www.mediafire.com/?1vrfklirgfrssbt

« Last Edit: 09 / August / 2010, 13:45:03 by zfeet »

*

Offline ultimA

  • ***
  • 137
ultimA - pls. check the SX20 1.02d port from the SVN server - i had to adapt the diff file manually to fit the SVN tree structure, i hope i got it all right...

Perfect. Thx.

So, in the future if I make patches, how do you prefer it? I simply did: diff -rupN path_to_old_trunk path_to_new_trunk

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
PATCH

I stumbled over some redundant "CAM_CONSOLE_LOG_ENABLED" stuff in sd780, sd300, sd1200. It already exists in platform\generic\main.c .
chdk-trunk920-cam-console-log-enable-cleanup-pd

EDIT: Found more...
FEATURE_FEATHER updated CAM_FEATURE_FEATHER for sd1100, sd870, sd790, sd950 and cleaned some leftovers...
chdk-trunk920-feature-feather-cleanup-pd

I love housekeeping  ;)
« Last Edit: 12 / August / 2010, 20:34:44 by pixeldoc2000 »

*

Offline ultimA

  • ***
  • 137
Finally, the accumulated patchset: http://www.mediafire.com/?7v1tzonlfh7rgvv
It is a zip archive which contains the following 5 patches. I propose all of them to be added to the trunk.

00_global-edge.diff: This patch contains the rewritten edge overlay. I say no more about this, if you want to know more, read its thread which explains all the details (http://chdk.setepontos.com/index.php/topic,5583.0.html). This is a global change which applies to all cameras, but for the SX20 it is even a requirement. Without this patch, the edge overlay is not stable on the SX20 (low memory). It also re-enables games for the SX20. The rest of the patches apply only to the SX20 and do not influence other cameras.

01_sx20-102d-darkframe_remote.diff: This is a combined patch to correct both Dark Frame Subtraction and Remote USB. Both of them suffered from the same mistakes.

02_sx20-102d-onoff.diff: This corrects the ON/OFF button behaviour for the SX20. With this patch it is now possible to turn the camera on directly into REC-mode by holding the button down, as is documented for the SX10.

03_sx20-zebra.diff: This was written by f_m_b and contains a workaroung for the memory requirement of zebra for the SX20. It will make the zebra paint directly into the frame buffer instead of a backbuffer. Works great with only minor issues and prevents the camera from crashing.

04_sx20-stable.diff: This is just an update to the main Makefile to make the 1.02D of the SX20 active.

I also ask for the 1.02D port of the SX20 to be marked stable and be enabled for autobuild.

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
@ultimA: done, changeset #928; let's see whether it kills the autobuild server :D
@pixeldoc2000: i'll have a look to your "housekeepings" later  :)

*

Offline ultimA

  • ***
  • 137
Thank you. I just did a quick test on the autobuild and it works perfectly. A small note on the SVN comments: the zebra has not been rewritten for all cameras. It just contains a fix for the SX20. It also does not avoid flickering, but the contrary, since there is no doublebuffering anymore (only for the SX20).

 

Related Topics


SimplePortal © 2008-2014, SimplePortal