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

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

  • 1666 Replies
  • 697185 Views
*

Offline nafraf

  • *****
  • 1308
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #920 on: 07 / December / 2012, 19:14:15 »
Advertisements
A small patch that includes:
- a1300 new loader patch, created by whim, tested using a810 (a1300 and a810 are CHDK compatible)
- fix to length variable in loader/a810/main.c, bug found after see a1300 patch.
Code: [Select]
-        long length = blob_chdk_core_size;
+        long length = (blob_chdk_core_size + 3) >> 2;


edit:
attachment updated, to fix comment in loader/a810/main.c
« Last Edit: 07 / December / 2012, 19:27:41 by nafraf »

*

Offline philmoz

  • *****
  • 3442
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #921 on: 08 / December / 2012, 04:00:09 »
A small patch that includes:
- a1300 new loader patch, created by whim, tested using a810 (a1300 and a810 are CHDK compatible)
- fix to length variable in loader/a810/main.c, bug found after see a1300 patch.
Code: [Select]
-        long length = blob_chdk_core_size;
+        long length = (blob_chdk_core_size + 3) >> 2;


edit:
attachment updated, to fix comment in loader/a810/main.c

Added in revision 2353 (trunk) and 2353 (release-1.1).

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)

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #922 on: 08 / December / 2012, 11:16:28 »
Patches to remove 10 second USB remote timeout while "half pressed"  (for both trunk and stable).

See http://chdk.setepontos.com/index.php?topic=7127.msg94248#msg94248

Tested on G10 and A1200.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline pux

  • *
  • 4
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #923 on: 08 / December / 2012, 12:54:50 »
Hello,

i made some changes for the SX210IS, so now it's working (again?).

Please see my other post: http://chdk.setepontos.com/index.php?topic=5045.msg94252#msg94252

I also included diffs and if the diffs fail somehow, i also included the changed files.

Since most of the changes are trivial, and it gets the camera working (i use it with these patches for some days now without problems), it would be nice to see it activated in autobuild.

(Recent autobuild builds will probably encourage more sx210is users to contribute then probably :D)

-- pux


*

Offline philmoz

  • *****
  • 3442
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #924 on: 08 / December / 2012, 20:09:40 »
Hello,

i made some changes for the SX210IS, so now it's working (again?).

Please see my other post: http://chdk.setepontos.com/index.php?topic=5045.msg94252#msg94252

I also included diffs and if the diffs fail somehow, i also included the changed files.

Since most of the changes are trivial, and it gets the camera working (i use it with these patches for some days now without problems), it would be nice to see it activated in autobuild.

(Recent autobuild builds will probably encourage more sx210is users to contribute then probably :D)

-- pux

See my comments in the other thread - http://chdk.setepontos.com/index.php?topic=5045.msg94274#msg94274

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 pux

  • *
  • 4
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #925 on: 09 / December / 2012, 05:46:38 »
Quote
See my comments in the other thread - http://chdk.setepontos.com/index.php?topic=5045.msg94274#msg94274

Phil.

Hey Phil,

thanks for your input, i fixed it:

http://chdk.setepontos.com/index.php?topic=5045.msg94294#msg94294

(also uploading same .diff here)


*

Offline philmoz

  • *****
  • 3442
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #926 on: 10 / December / 2012, 03:18:58 »
Quote
See my comments in the other thread - http://chdk.setepontos.com/index.php?topic=5045.msg94274#msg94274

Phil.

Hey Phil,

thanks for your input, i fixed it:

http://chdk.setepontos.com/index.php?topic=5045.msg94294#msg94294

(also uploading same .diff here)



Added in revision 2364 (trunk) and 2365 (release-1.1).

The change to gui_fselect.c was not needed - I fixed the free space calculation yesterday.
I also fixed the signature finder for GetDrive_FreeClusters so the stubs_entry_2.S change was not needed either.

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 nafraf

  • *****
  • 1308
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #927 on: 11 / December / 2012, 12:11:09 »
a1300 100b port

Firmware dump and tests thanks to aladar


*

Offline reyalp

  • ******
  • 13847
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #928 on: 11 / December / 2012, 23:54:27 »
Patches to remove 10 second USB remote timeout while "half pressed"  (for both trunk and stable).

See http://chdk.setepontos.com/index.php?topic=7127.msg94248#msg94248
Added, trunk changeset 2367 release changeset 2368
Don't forget what the H stands for.

*

Offline philmoz

  • *****
  • 3442
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #929 on: 15 / December / 2012, 07:50:38 »
a1300 100b port

Firmware dump and tests thanks to aladar


Added in revision 2382 (trunk) and 2383 (release-1.1).

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)

 

Related Topics