G12 Release - available from the autobuild server - page 5 - CHDK Releases - CHDK Forum  

G12 Release - available from the autobuild server

  • 136 Replies
  • 85595 Views
*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G12 beta release
« Reply #40 on: 05 / January / 2011, 16:38:56 »
Advertisements
some random infos (maybe you have them already, but i'll write them down for a quick reference -- and remember i am currently diverting from trunk :():
i'm seeing that while in MF, the set_focus thing seems to work (with infinite ~9000)
PROPCASE_SUBJECT_DIST1 and PROPCASE_SUBJECT_DIST2 are ok.
PROPCASE_REAL_FOCUS_MODE doesn't change when in MF, while PROPCASE_FOCUS_MODE goes to 1.
MoveFocusLensToDistance is correctly at 0xffb71f98 (while in MF, it changes the focus as expected).

When with PROPCASE_FOCUS_MODE=1 and not in MF, set_focus works but then camera autofocus again. I have set CAM_HAS_MANUAL_FOCUS. Maybe shooting_get_focus_mode() returns a wrong value?
Investigating..

Thanks for that, I think it was the camera in MF mode that was messing me up. I have a test script working that can set focus distance. I also thought it was also possible to use the zoom lever to manually focus; but this doesn't seem to be working either - must still be missing something somewhere.

Quote
edit: in the end, SET_NOW seems to work. SET_LATER crashes the cam! :)
edit2: i now see i need the expdrive task enabled in order to make it work with SET_LATER (right?).. i had it disabled because of "keep it tiny"...let's try enabling it.
edit3: meanwhile, i built a svn export of g12 from trunk (i had to change some BL _label to BL sub_address in order to fix some relocation error when compiling...maybe my gcc is too old?) and i see lua shoot() is indeed working. luar is hanging the stack, but i guess that's not a priority.

I'm using gcc 4.5.1. Which addresses gave you errors?

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 c10ud

  • ***
  • 245
Re: G12 beta release
« Reply #41 on: 05 / January / 2011, 17:26:56 »
with gcc 4.3.3: (there could be something else, i don't remember exactly...this is what i get from a stock trunk, just a make)

Code: [Select]

  first occurrence: ../platform/g12/libplatform.a(shooting.o): arm call to thumb
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `sub_FF815EE0_my':
boot.c:(.text+0x2f8): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
boot.c:(.text+0x308): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
boot.c:(.text+0x31c): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
boot.c:(.text+0x330): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
boot.c:(.text+0x340): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
boot.c:(.text+0x350): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `loc_FF81FB98':
boot.c:(.text+0x3a4): relocation truncated to fit: R_ARM_PC24 against symbol `_eventproc_export_SleepTask' defined in *ABS* section in main.elf
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `init_file_modules_task':
boot.c:(.text+0x43c): relocation truncated to fit: R_ARM_PC24 against symbol `_eventproc_export_PostLogicalEventToUI' defined in *ABS* section in main.elf
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `sub_FF876518_my':
boot.c:(.text+0x484): relocation truncated to fit: R_ARM_PC24 against symbol `_DebugAssert' defined in *ABS* section in main.elf
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `loc_FF875FB8':
boot.c:(.text+0x694): relocation truncated to fit: R_ARM_PC24 against symbol `_DebugAssert' defined in *ABS* section in main.elf
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `loc_FF865848':
boot.c:(.text+0x724): additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
make[1]: *** [main.elf] Error 1
« Last Edit: 05 / January / 2011, 17:28:40 by c10ud »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G12 beta release
« Reply #42 on: 05 / January / 2011, 17:40:44 »
with gcc 4.3.3: (there could be something else, i don't remember exactly...this is what i get from a stock trunk, just a make)

Code: [Select]

  first occurrence: ../platform/g12/libplatform.a(shooting.o): arm call to thumb
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `sub_FF815EE0_my':
boot.c:(.text+0x2f8): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
boot.c:(.text+0x308): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
boot.c:(.text+0x31c): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
boot.c:(.text+0x330): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
boot.c:(.text+0x340): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
boot.c:(.text+0x350): relocation truncated to fit: R_ARM_PC24 against symbol `_err_init_task' defined in *ABS* section in main.elf
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `loc_FF81FB98':
boot.c:(.text+0x3a4): relocation truncated to fit: R_ARM_PC24 against symbol `_eventproc_export_SleepTask' defined in *ABS* section in main.elf
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `init_file_modules_task':
boot.c:(.text+0x43c): relocation truncated to fit: R_ARM_PC24 against symbol `_eventproc_export_PostLogicalEventToUI' defined in *ABS* section in main.elf
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `sub_FF876518_my':
boot.c:(.text+0x484): relocation truncated to fit: R_ARM_PC24 against symbol `_DebugAssert' defined in *ABS* section in main.elf
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `loc_FF875FB8':
boot.c:(.text+0x694): relocation truncated to fit: R_ARM_PC24 against symbol `_DebugAssert' defined in *ABS* section in main.elf
../platform/g12/sub/100c/libplatformsub.a(boot.o): In function `loc_FF865848':
boot.c:(.text+0x724): additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
make[1]: *** [main.elf] Error 1

Those are firmware addresses defined using the NSTUB macro in stubs_entry_2.s - they work fine with gcc 4.5.1. Looks like a gcc problem; but I don't know it well enough to say for sure.

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 c10ud

  • ***
  • 245
Re: G12 beta release
« Reply #43 on: 06 / January / 2011, 05:13:10 »
yep i saw that (and fixed with a simple s//)..surely it's a gcc issue..sooner or later i have to get back in track with updated tools :)


Re: G12 beta release
« Reply #44 on: 06 / January / 2011, 08:41:48 »
Hi - I'm totally new to CHDK, but I wondered:

Can you modify the firmware to enable manual audio level control? For use for example at a noisy concert so that the resulting audio doesn't sound distorted?

thanks

PS. Loving the zoom during video capture...

Re: G12 beta release
« Reply #45 on: 07 / January / 2011, 15:15:15 »
Hello

First I want to thank you for your work. Maybe I have found a mistake. If I use the optical zoom in video-mode and go over 5x (then I use digital zoom) I can't zoom out completely. I only can use the digital zoom. After I turn off and on the camera everything work fine. I hope you can understand, because my English isn't so good. :)

Michael

*

Offline hwntw

  • ***
  • 159
Re: G12 beta release
« Reply #46 on: 09 / January / 2011, 08:22:27 »
Deleted by a craven coward
« Last Edit: 28 / January / 2011, 18:02:16 by hwntw »
Ixus 300HS S100


Windows 10

Re: G12 beta release
« Reply #47 on: 20 / January / 2011, 13:47:56 »
@philmoz
I try to get the 16:9 Mode working with your new added Code in chdk.But when a x offset is need, the position of zebra, or grid is not shift in X

You can test this on a G12 in 1:1 shooting mode(here your 4:3 display have in x on both side a black border and its simular as 4:3 mode on a 16:9 display i think)

Please let me know if that work.

I add in lib.c this funcs but it do not work ok, because the offset in X is not add.

int vid_get_viewport_buffer_width() { return 480; }

int vid_get_viewport_width()
{
    if (shooting_get_prop(PROPCASE_ASPECT_RATIO) == 1)   // 16:9 is set to 1
      return 480;
    else
       return 360;
}

int vid_get_viewport_xoffset()
{
   if (shooting_get_prop(PROPCASE_ASPECT_RATIO) == 1)   //16:9 is set to 1
      return 0;
   else
       return 60;
}

int vid_get_viewport_image_offset() {
   return (vid_get_viewport_yoffset() * vid_get_viewport_buffer_width() + vid_get_viewport_xoffset()) * 3;
}
 

int vid_get_viewport_row_offset() {
   return (vid_get_viewport_buffer_width() - vid_get_viewport_width()) * 3;
}
Ixus 1000 HS


Re: G12 beta release
« Reply #48 on: 28 / January / 2011, 19:45:10 »
please, canon g12 enter manual checks video manual control , iso , iris..
disable acg, increse bitrate.

this new camera canon g12 the sensor ccd no cmos
absolutely nothing rolling shutter
good depth of field 10megapixel
720p 20mbit

Someone can help in the development of this change??
« Last Edit: 28 / January / 2011, 19:50:11 by mr.smith »

Re: G12 beta release
« Reply #49 on: 04 / February / 2011, 17:39:52 »
I installed it onto the card.
I made the card bootable, but it does not actually load..no splash screen..
Any idea what I am doing wrong?
« Last Edit: 04 / February / 2011, 17:59:23 by pittguy578 »

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal