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

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

  • 1666 Replies
  • 700666 Views
Advertisements
Changeset 1198 overwrites change to core/kbd.c from changeset 1196.
Thanks for catching that Phil.  It was certainly rude of me - my apology  to pixeldoc2000.

My procedure for submitting a patch is to get the code changes prepared and then grab the latest build directly from the svn server.  I fold in the changes,  make a patch file, jump over to the CHDK-Shell trunk directory and apply the changes to the latest build available there (same as what I got from the svn of coarse).  Then I make sure the result from the patching process still builds and if so,  I submit the patch file.

As most of what I have done has not affected any core files,  I neglected to merge a new line into kbd.c rather than simply replace it.  Won't make that mistake again.

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 13878
This sounds complicated.

I suggest:
- do your work in an SVN working copy, Compile there as needed
- before creating the patch, do an svn update and resolve any conflicts (should be very rare), build and test.
- create the patch with tortoise "create patch" or svn diff.
Don't forget what the H stands for.

This sounds complicated.

I suggest:
- do your work in an SVN working copy, Compile there as needed
- before creating the patch, do an svn update and resolve any conflicts (should be very rare), build and test.
- create the patch with tortoise "create patch" or svn diff.

Thanks - that would work too. But I can't figure out how to get CHDK-Shell to "recognize" the SVN trunk directory - it seems to like to play in its own trunk/trunkxxxx sandbox. Without CHDK-Shell, I would have to setup a build environment on each of the machines I use day to day ( three of them and counting...).  Not sure which is more work for the limited number of times I post a patch.





Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3445
    • Photos
SX130is firmware version 1.01d.

Plus some cleanup for 1.01c:
- changed aspect ratio stuff to X2 instead of 9/4 (http://chdk.setepontos.com/index.php?topic=6395.0)
- fixed some stubs and updated taskHook code (to remove string comparisons).
- forced EXMEM and loading CHDK in EXMEM in the makefile.inc (seems to work more reliably this way).

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)


*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
SX130is firmware version 1.01d. Plus some cleanup for 1.01c

Thx for your work.

Added in changeset 1201

msl
CHDK-DE:  CHDK-DE links

IXUS120-SD940 update to misc. stub_entry_2.S values based on philmoz new sigfinder and verified with testing or by comparing with other firmware versions to ensure a better match.

1.00e  MoveZoomLensWithPoint
1.01a  MoveZoomLensWithPoint
1.02c  GetFocusLensSubjectDistance
          GetImageFolder
          WriteSDCard
1.03b  -
1.03c  WriteSDCard

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
IXUS120-SD940 update to misc. stub_entry_2.S values

Thx waterwingz, added in changeset 1202

msl
CHDK-DE:  CHDK-DE links

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Patch for edge_overlay.c.

Thx Phil, added in changeset 1203

Sorry for the late reaction with this patch.

msl
« Last Edit: 10 / June / 2011, 04:49:35 by msl »
CHDK-DE:  CHDK-DE links


*

Offline philmoz

  • *****
  • 3445
    • Photos
Patch for 'propset4.h'
Updated values for PROPCASE_AV, PROPCASE_TV and PROPCASE_SV.
These property values are the ones that the firmware saves in the JPEG EXIF header and shows in the Canon OSD.
Note, the override values shown on screen and saved to the JPEG may be limited to the camera built in values if the CHDK overrides are outside the camera default range (e.g. shutter speed longer than 15 secs on G12 and SX30 gets shown and recorded as 15 secs in the JPEG).

Tested on G12 and SX30.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
CHDK-DE:  CHDK-DE links

 

Related Topics