SD 4000 IS / IXUS 300 HS / IXY 30S porting thread - page 18 - DryOS Development - CHDK Forum

SD 4000 IS / IXUS 300 HS / IXY 30S porting thread

  • 322 Replies
  • 181137 Views
*

Offline reyalp

  • ******
  • 14080
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #170 on: 29 / January / 2011, 17:25:10 »
Advertisements
Very nice pixeldoc2000.

This should allow booting diskboot.bin on a camera with damaged firmware, assuming romstarter is still intact. If anyone ever wants to play with storing CHDK in flash or other true firmware modifications, this will be very handy.

One thing I've wanted to do redirect the camera console over CHDK PTP. On vxworks, this should be quite easy, we already hook the tty device, should just need hook up input to add some ring buffers.
Don't forget what the H stands for.

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #171 on: 29 / January / 2011, 23:15:02 »
Sorry for the beginner questions, but I was wondering if any of these features would ever be possible on the SD4000 using CHDK:

-Manual focus control
-Shifting the live image preview. The SD4000 is really strange with a wide screen LCD that is normally shooting in 4:3. This leaves black bars on the side. It'd be nice to shift the live image all the way to the left, so that we'd have more space to display things like histograms without having to cover part of the image we're shotoing.
-Shifting the AF-point zoom. This design decision absolutely drives me crazy. We've got a wide screen LCD with black bars on the side, and the auto focus point zoom is displayed smack dab in the middle of the screen, blocking us from seeing what we're shooting. It would make this feature much more useful if we could shift the live image display to the left, and then shift the AF-point zoom all the way to the right, to avoid covering the subject.

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #172 on: 30 / January / 2011, 16:38:09 »
This should allow booting diskboot.bin on a camera with damaged firmware, assuming romstarter is still intact. If anyone ever wants to play with storing CHDK in flash or other true firmware modifications, this will be very handy.
I notice romstarter message if camera does autostart chdk.

Code: [Select]
#
StartDiskboot

Start Program on RAM
"StartDiskboot" comes from Diskboot within "normal" Firmware.
"Start Program on RAM" is romstarter message.

I wasn't able to intercept romstart/bootloader with sending some bytes on Camera startup like on other devices i've used (DD-Wrt Router for example).

One thing I've wanted to do redirect the camera console over CHDK PTP. On vxworks, this should be quite easy, we already hook the tty device, should just need hook up input to add some ring buffers.
Sound like a great idea.
« Last Edit: 30 / January / 2011, 16:59:10 by pixeldoc2000 »

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #173 on: 30 / January / 2011, 16:49:46 »
Hi Jenny!

-Manual focus control
This is already possible with subject distance override.

-Shifting the live image preview. The SD4000 is really strange with a wide screen LCD that is normally shooting in 4:3. This leaves black bars on the side. It'd be nice to shift the live image all the way to the left, so that we'd have more space to display things like histograms without having to cover part of the image we're shotoing.
Propably Camera does it to maintain display aspect ratio. If you use Widescreen or Movie Camera use full Display.

-Shifting the AF-point zoom. This design decision absolutely drives me crazy. We've got a wide screen LCD with black bars on the side, and the auto focus point zoom is displayed smack dab in the middle of the screen, blocking us from seeing what we're shooting. It would make this feature much more useful if we could shift the live image display to the left, and then shift the AF-point zoom all the way to the right, to avoid covering the subject.
Probebly not impossible, but requires somebody to figure out how to do it.


*

Offline reyalp

  • ******
  • 14080
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #174 on: 30 / January / 2011, 17:36:04 »
I wasn't able to intercept romstart/bootloader with sending some bytes on Camera startup like on other devices i've used (DD-Wrt Router for example).
Look at "UART loopback switch ON.." and "Rescue Loader"

"Start Program on RAM" does come from the romstarter code, but this is via regular firmware, using the pointer that stored in data TCM (see the reboot code in lib/armutil for more on this). Essentially, the regular canon code uses some code in the romstarter to reboot.
Don't forget what the H stands for.

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #175 on: 30 / January / 2011, 18:13:43 »
Beta v8

I've uploaded Beta v8 (github).

Changes:
  • Fixed missing stack size increase to fix crash with script
  • Added Continous Bracketing fix from chdk2011

Get it while its nice and shiny :P
« Last Edit: 30 / January / 2011, 18:24:16 by pixeldoc2000 »

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #176 on: 30 / January / 2011, 20:39:00 »
Thanks for the response!

-Manual focus control
This is already possible with subject distance override.

I saw that in the wiki, but I'm not seeing it on the beta I've got running on my SD4000.  It should be under Extra Photo Operations between "Override ISO value" and "Bracketing in continuous mode" right?

-Shifting the live image preview. The SD4000 is really strange with a wide screen LCD that is normally shooting in 4:3. This leaves black bars on the side. It'd be nice to shift the live image all the way to the left, so that we'd have more space to display things like histograms without having to cover part of the image we're shotoing.
Propably Camera does it to maintain display aspect ratio. If you use Widescreen or Movie Camera use full Display.

I mean not stretch it so it's full screen, but just move the live preview all the way to one side to consolidate all the black space on one side so that extra info can all be shown there. This would be nice because some extra info is necessarily wide, and it could be shown without overlapping the live preview this way, such as the CHDK histogram and the Canon AF-point zoom thing I mentioned below.

-Shifting the AF-point zoom. This design decision absolutely drives me crazy. We've got a wide screen LCD with black bars on the side, and the auto focus point zoom is displayed smack dab in the middle of the screen, blocking us from seeing what we're shooting. It would make this feature much more useful if we could shift the live image display to the left, and then shift the AF-point zoom all the way to the right, to avoid covering the subject.
Probebly not impossible, but requires somebody to figure out how to do it.

Well, that sounds good! Fingers crossed for the future.

*

Offline na01

  • *
  • 17
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #177 on: 31 / January / 2011, 04:14:43 »
Beta v8

I've uploaded Beta v8 (github).

Changes:
  • Fixed missing stack size increase to fix crash with script
  • Added Continous Bracketing fix from chdk2011

Get it while its nice and shiny :P

Great work, thank you!
now the script that create badpixel.bin works well, I have no more hot pixels in dng files!

Thanks


*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #178 on: 31 / January / 2011, 18:54:05 »
I saw that in the wiki, but I'm not seeing it on the beta I've got running on my SD4000.  It should be under Extra Photo Operations between "Override ISO value" and "Bracketing in continuous mode" right?
Woops, "subject distance (focus) override" isn't enabled in SD4000 Beta yet (tested it on my SD900).
Quick Test revealed i always get ASSERT error "FocusLensController.c Line 714" on CaptSeqTask.

I mean not stretch it so it's full screen, but just move the live preview all the way to one side to consolidate all the black space on one side so that extra info can all be shown there.
This could be usefull.
AFAIK nobody tried to modify native Camera OSD. This is way above my head. Again this requires somebody to figure out how to do it.

now the script that create badpixel.bin works well, I have no more hot pixels in dng files!
Great.
« Last Edit: 31 / January / 2011, 18:57:20 by pixeldoc2000 »

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #179 on: 31 / January / 2011, 19:13:41 »
Beta v9

Changes:
  • Manual Focus enabled
  • Subject distance enabled

Note: Quick Test with Subject distance revealed i always get ASSERT error "FocusLensController.c Line 714" on CaptSeqTask.

Please check ROMLOG if you encounter any crash / shutdown.
« Last Edit: 31 / January / 2011, 19:23:59 by pixeldoc2000 »

 

Related Topics