IXUS160/ELPH160 Porting attempt - page 22 - DryOS Development - CHDK Forum

IXUS160/ELPH160 Porting attempt

  • 497 Replies
  • 234433 Views
Re: IXUS160/ELPH160 Porting attempt
« Reply #210 on: 05 / October / 2015, 20:14:57 »
Advertisements
my peace of mind would be greatly enhanced if I was sure it was fixed.
Well, we could build an older version of the port that does not have the RAW/DNG minimum space fix.  If you test that and it bricks your camera (or locks it up for a while as also reported) then we could probably feel a lot more comfortable about thinking it was fixed.

Of course my suggestion has one major drawback .....

Ported :   A1200    SD940   G10    Powershot N    G16

Re: IXUS160/ELPH160 Porting attempt
« Reply #211 on: 06 / October / 2015, 19:12:12 »
I attempted this experiment with both a build that I was sure happened after the fix (1.4.0-4265) and one that I thought happened before the fix (1.4.0-4201). If you have a build that you could PM me a link to that you are certain pre-dates the fix, I will happily try it out. It would be worthwhile for me to brick a camera to be certain that the bug is fixed.

-D

Re: IXUS160/ELPH160 Porting attempt
« Reply #212 on: 09 / October / 2015, 06:16:47 »
Hi. I own an IXUS160 camera. and would like to run recent Test build with own risk. Where can I get it?

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS160/ELPH160 Porting attempt
« Reply #213 on: 09 / October / 2015, 12:20:53 »
Hi. I own an IXUS160 camera. and would like to run recent Test build with own risk. Where can I get it?
Sent you a link to a new build.


Re: IXUS160/ELPH160 Porting attempt
« Reply #214 on: 15 / October / 2015, 09:02:29 »
Hi,
I'll be please to try test build on my IXUS 160.
I understand the risk to damage the camera.
My goal is to make long time-lapse on the camera or from a raspberrypi with ptp.

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS160/ELPH160 Porting attempt
« Reply #215 on: 15 / October / 2015, 18:21:36 »
Hi,
I'll be please to try test build on my IXUS 160.
I understand the risk to damage the camera.
My goal is to make long time-lapse on the camera or from a raspberrypi with ptp.
Link sent.
edit:
below post also answered in PM
« Last Edit: 15 / October / 2015, 19:54:56 by srsa_4c »

Re: IXUS160/ELPH160 Porting attempt
« Reply #216 on: 15 / October / 2015, 19:01:12 »
Hi. I just got an IXUS160 camera to trial some 3d mapping. and would like the latest build and/or the most stable.

Cheers

Re: IXUS160/ELPH160 Porting attempt
« Reply #217 on: 15 / October / 2015, 23:20:40 »
I have now tested extensively using an image with free space checks disabled. Unfortunately, the revision just before the free space fix had a broken build. So I used the current version and commented out the check.

For these tests, I tried to capture pictures with varying amounts of memory free on the card. Below about 8 MB free, the jpeg free space detection prevented me from capturing photos. Between 8 MB and 35 MB, the card would fill up with a partial DNG file and a zero-size JPG. I would see the memory card error that was mentioned before. But there was no crash or any other issue.

Since this is a memory corruption error, it is inherently hard to reproduce. I am not using the same revision that Scannerall used and I don't know which one they had. And the SD card I am using was formatted as a single FAT32 partition whereas Scanerall had multiple partitions and was booting from a FAT16 partition. Any of these could be the reason why I wasn't able to reproduce.

Given that the only plausible explanation was memory corruption caused by capture of a DNG with inadequate free space, and given that I haven't been able to brick my camera after many deliberate attempts, I think that the risk of this bug is now minimal.

I will start treating this like a stable build, and I think it should be reinstated in the autobuild.

-D


*

Offline reyalp

  • ******
  • 14118
Re: IXUS160/ELPH160 Porting attempt
« Reply #218 on: 16 / October / 2015, 15:51:13 »
Given that the only plausible explanation was memory corruption caused by capture of a DNG with inadequate free space, and given that I haven't been able to brick my camera after many deliberate attempts, I think that the risk of this bug is now minimal.
It's not clear what the mechanism would have been if running out of space were the cause, by itself you wouldn't expect running out of space to cause memory corruption. It's also not correct to say this is the only plausible explanation. There are an essentially unlimited number of possible porting errors that could cause memory corruption, which would at least in theory end in hardware damage if they happened to hit the right location.

An alternative possibility was capturing DNG in a mode where valid raw was not available would cause memory corruption because it reverses the bytes of a large chunk of memory that is expected to be the raw buffer, but is actually something else.

This could be tested by commenting out the corresponding CAM_DISABLE_RAW_IN_* defines and shooting DNG in those modes.

That said, I agree that it is reasonable to post builds publicly now, with a warning referencing this thread. Note that this camera was not previously enabled in the autobuild, and it's not clear to me whether or not it is ready, independent of the hardware damage issue.

Edit:
Thanks a lot for risking your camera to test this.
Don't forget what the H stands for.

*

Offline cdg

  • **
  • 53
Re: IXUS160/ELPH160 Porting attempt
« Reply #219 on: 17 / October / 2015, 23:06:25 »
Hi,
I'll be please to try test build on my IXUS 160.
I understand the risk to damage the camera.
My goal is to make long time-lapse on the camera or from a raspberrypi with ptp.
Link sent.
edit:
below post also answered in PM
I will get my new IXUS 160  tomorrow,i also want to try the new test build, could you please send me the link of the new test build.
?
Hi,
I'll be please to try test build on my IXUS 160.
I understand the risk to damage the camera.
My goal is to make long time-lapse on the camera or from a raspberrypi with ptp.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal