Added dual boot and video compression support for IXUS860/SD870IS - General Discussion and Assistance - CHDK Forum supplierdeeply

Added dual boot and video compression support for IXUS860/SD870IS

  • 41 Replies
  • 19975 Views
*

Offline mil22

  • *
  • 29
Advertisements
I've ported DataGhost's FAT32 autodetection code to the IXUS860/SD870IS platform using IDA, and I can confirm that it works perfectly :xmas. The startup code seems to be quite different from the A720, and as a result the commented out section in boot.c crashed the camera when uncommented, so I had to reextract the code using IDA and merge the FAT32 code in.

Built and tested on a 16GB SDHC card with a 2MB boot partition. I'd like to check this in to Assembla. How do I get permissions to do that? There's a few other things I'd like to contribute for the SD870IS platform, e.g. stopping the touch wheel overlay overwriting the CHDK menu.
« Last Edit: 21 / July / 2008, 19:50:18 by mil22 »

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Added dual boot support for IXUS860/SD870IS
« Reply #1 on: 20 / July / 2008, 07:06:13 »
the normal way to get things into svn is to submit it to a dev and he will then committ it to the svn. by posting the diff in the forum you already submitted it to the public. now we only need a dev to verify your code. i would do it, as i am able to to committ things to the svn, but i lack the knowledge to verify your code, i really dont want to break something just because i upped a patch from a 1-post-user - don't take this as an offense.
if you continue to add new and lots of patches the devs will soon grow tired of always committing your things and sure will give you the needed rights on assembla.
welcome to the forum and thanks for already contributing. hope to see more in the future :)

oh maybe it is helpful to supply a compiled binary for your camera for other people to test (people without the knowledge of compiling, merging and the like). you could get feedback this way even before it is checked out to trunk.

*

Offline mil22

  • *
  • 29
Re: Added dual boot support for IXUS860/SD870IS
« Reply #2 on: 20 / July / 2008, 08:19:21 »
Sounds good. I'm pretty glad you don't accept random patches from 1-post users, I feel a lot safer putting CHDK on my camera :o)

Attaching DISKBOOT.BIN binary for testing...

*

Offline fe50

  • ******
  • 3134
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Added dual boot support for IXUS860/SD870IS
« Reply #3 on: 20 / July / 2008, 08:41:24 »
Hi mil22,

great job !

I can't test the multi partition support yet, i have no card > 4GB (but if we have the video settings in the SD870 there will be a cause to buy bigger cards  ::) ).

Quote
...e.g. stopping the touch wheel overlay overwriting the CHDK menu...

Could you post a diff file for this ? I'll test it & report here...

The SD870 list on "Odd and Tricky cameras" in the wikia gets smaller and smaller, great  8)


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Added dual boot support for IXUS860/SD870IS
« Reply #4 on: 20 / July / 2008, 08:55:44 »
Quote
...but if we have the video settings in the SD870 there will be a cause to buy bigger cards...

hehe, subliminal messaging at it's best ;)

mil22 really seems to have the skills to find out the movie_rec.c - way to go :)

*

Offline mil22

  • *
  • 29
Re: Added dual boot support for IXUS860/SD870IS
« Reply #5 on: 20 / July / 2008, 09:15:36 »
Thanks guys, this is a lot of fun! I can try to take a look at the video settings while I'm doing the touch wheel. Has movie_rec.c been ported to any of the DryOS cams yet?

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Added dual boot support for IXUS860/SD870IS
« Reply #6 on: 20 / July / 2008, 09:23:46 »
good question. it has not been ported for the s5is, that i know for sure.
i think the a650 has it. just a quick check in camera.h revealed that. maybe more.
if "#define CAM_DRYOS                   1" and NOT "#undef  CAM_CHDK_HAS_EXT_VIDEO_MENU" ;)

*

Offline mil22

  • *
  • 29
Re: Added dual boot support for IXUS860/SD870IS
« Reply #7 on: 20 / July / 2008, 09:28:16 »
Sweet, thanks. Yup looks like the A650 definitely has it, and the MovieRecordTask code looks very similar to what I'm seeing in IDA for the SD870IS. Should be pretty easy to port it over :)


*

Offline mil22

  • *
  • 29
Re: Added dual boot support for IXUS860/SD870IS
« Reply #8 on: 20 / July / 2008, 23:18:01 »
I've got movie_rec mostly working. The video compression options work, but the optical zoom only works sometimes (after the first 5 seconds or so of recording - is that normal?) and I haven't been able to get mute_on_zoom working yet.

Question for someone with an A650: Do optical zoom and mute on zoom work perfectly?

Took a lot of work... had to extract 52 functions. Ended up writing a Python script to recursively extract call heirarchies from .LST files and convert them to .C. Might come in useful, I'll clean it up and post it.

*

Offline mil22

  • *
  • 29
Re: Added dual boot support for IXUS860/SD870IS
« Reply #9 on: 21 / July / 2008, 16:03:04 »
Optical zoom during movie recording now working properly on SD870IS! Still working on mute_on_zoom.

 

Related Topics