supplierdeeply

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

  • 1581 Replies
  • 234395 Views
*

Offline reyalp

  • ******
  • 10921
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #110 on: 31 / December / 2010, 12:36:26 »
Advertisements
Hi phil,
the eventproc_export_* functions are missing.

CHDKLover
I usually just replace these names sub_**** when making the asm.

Including all the ida stubs takes extra memory.
Don't forget what the H stands for.

*

Online philmoz

  • *****
  • 3043
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #111 on: 31 / December / 2010, 16:03:15 »
Thanks guys, don't know why I didn't try building it in the main trunk last night (oh well).

Anyway here's an updated patch that should work.

Regards,
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)

*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #112 on: 31 / December / 2010, 16:28:30 »
Great, no errors or warnings ! Congrats & Happy New Year !

wim

*

Offline reyalp

  • ******
  • 10921
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #113 on: 01 / January / 2011, 17:53:43 »
Added changeset 1008

Note added to the autobuild yet, because I have to make sure the autobuild server has the FI2 keys needed for these cams.

I have some comments on the code, I'll put in the sx30 thread

edit:
broke the build, a610
Code: [Select]
gui.o: In function `gui_menuproc_swap_patitons':
gui.c:(.text+0xf8a): undefined reference to `get_part_count'
collect2: ld returned 1 exit status
???

edit:
Should be fixed in 1010, vx cams with multipartition were broken.
« Last Edit: 01 / January / 2011, 18:25:32 by reyalp »
Don't forget what the H stands for.


*

Online philmoz

  • *****
  • 3043
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #114 on: 01 / January / 2011, 20:47:55 »
Added changeset 1008

Note added to the autobuild yet, because I have to make sure the autobuild server has the FI2 keys needed for these cams.

I have some comments on the code, I'll put in the sx30 thread

edit:
broke the build, a610
Code: [Select]
gui.o: In function `gui_menuproc_swap_patitons':
gui.c:(.text+0xf8a): undefined reference to `get_part_count'
collect2: ld returned 1 exit status
???

edit:
Should be fixed in 1010, vx cams with multipartition were broken.

Thanks for that, sorry about breaking the VX stuff.
I've sent you the FI2 keys in a personal message.

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)

*

Offline reyalp

  • ******
  • 10921
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #115 on: 01 / January / 2011, 20:52:56 »
Thanks for that, sorry about breaking the VX stuff.
No problem. I actually tried a vx camera before commiting, but it wasn't one with multipartition...
Quote
I've sent you the FI2 keys in a personal message.
I have them already, I just need to make sure the auto build server has them.
Don't forget what the H stands for.

*

Online philmoz

  • *****
  • 3043
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #116 on: 02 / January / 2011, 03:39:47 »
Some updates for the SX30 & G12.
- removed the new #defines previously added for DNG double buffer and viewport buffer width support. Now handled using weak functions and overrides.
- fixed some wrong addresses for G12
- added support for different aspect ratio / image size where the image size does not match the LCD / viewport size (SX30 has 16:9 and G12 has 16:9, 3:2, 1:1 and 4:5). Added variable viewport with & height, viewport_xoffset and viewport_yoffset so that edge overlay, zebra, histogram and motion detect only look at the image area not the whole viewport area.
- added new key definitions to keynames table.
- moved some functions that should never change across firmware versions from the platformsub/lib.c files to the platform/lib.c file for both cameras.

Regards,
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)

*

Offline reyalp

  • ******
  • 10921
Don't forget what the H stands for.


*

Online philmoz

  • *****
  • 3043
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #118 on: 02 / January / 2011, 18:33:15 »
Attached is a patch to add firmware 1.00e for the G12.

Firmware dump is at:
http://chdk-g12.googlecode.com/files/G12_100e_FirmwareDump.rar

Thanks,
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)

*

Offline reyalp

  • ******
  • 10921
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #119 on: 03 / January / 2011, 22:23:34 »
Attached is a patch to add firmware 1.00e for the G12.
Added, changeset  1019
Don't forget what the H stands for.

 

Related Topics