IXUS 1000 HS Porting Thread - page 43 - DryOS Development - CHDK Forum

IXUS 1000 HS Porting Thread

  • 440 Replies
  • 166154 Views
*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS 1000 HS Porting Thread
« Reply #420 on: 01 / June / 2018, 16:53:02 »
Advertisements
IXUS 1000 crashes with current trunk build
Can you retry with the newest trunk build (r5020 or newer)?

As it turned out, 100b, 100d, 100f, 102b have been broken in trunk for almost 2.5 years due to me being not careful enough. They should work again since commit 5020.

*

Offline koshy

  • *****
  • 1096
Re: IXUS 1000 HS Porting Thread
« Reply #421 on: 01 / June / 2018, 17:04:03 »
As it turned out, 100b, 100d, 100f, 102b have been broken in trunk for almost 2.5 years due to me being not careful enough. They should work again since commit 5020.
I'll try. Always funny, one asks oneself didn't anyone ever use it?
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1096
Re: IXUS 1000 HS Porting Thread
« Reply #422 on: 01 / June / 2018, 17:22:50 »
Can you retry with the newest trunk build (r5020 or newer)?
Took a second to get the trunk and build what I needed, by the way just having obtained the simplistic CHDK-Shell substitute yesterday, that doesn't conveniently apply / unapply patch files does it? Anyway, IXUS 1000 boots just fine. Any specific tests?
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS 1000 HS Porting Thread
« Reply #423 on: 02 / June / 2018, 16:37:37 »
IXUS 1000 boots just fine. Any specific tests?
Thanks for confirming. Now that the camera boots, the port should behave like it did previously (I did not touch any other parts of the code).
The port's notes mention a possible crash when attempting to switch to rec mode during a ptp session. One thing worth trying would be re-doing the (100d) port with code_gen, as it is a big mess right now. Don't know if the mess has anything to do with the crash, though.


*

Offline koshy

  • *****
  • 1096
Re: IXUS 1000 HS Porting Thread
« Reply #424 on: 02 / June / 2018, 19:01:59 »
The port's notes mention a possible crash when attempting to switch to rec mode during a ptp session.
That one I can confirm. Walked right into it when trying to do the ND filter tests for reyalp.
One thing worth trying would be re-doing the (100d) port with code_gen, as it is a big mess right now. Don't know if the mess has anything to do with the crash, though.
If you'll do it I'll test it.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS 1000 HS Porting Thread
« Reply #425 on: 07 / June / 2018, 12:21:49 »
Attached is code_gen.txt for 100d. It comes from the 102e/102d port with one necessary change.

*

Offline koshy

  • *****
  • 1096
Re: IXUS 1000 HS Porting Thread
« Reply #426 on: 07 / June / 2018, 16:55:16 »
Attached is code_gen.txt for 100d. It comes from the 102e/102d port with one necessary change.
Sorry, don't know how to use it. Since the Windows CHDK Shell is defunct I switched to MSL's CHDK Compiler GUI. I don't see a way to run code_gen. Well, I figured I'd build it to attack this from the command line but it looks like it's in C99 dialect where Microsoft's Visual C++ only supports C89 and I'm not aquainted with gcc enough to build the stuff without making a fuss of it. @srsa I know you're not on Windows, so you probably won't be able to instruct what to do. I don't intend to involve the Mac in my CHDK efforts and only use Linux as web servers and live CDs - so making anything else happen would be a bigger deal.

Long story short, can you post a FW to try please?
« Last Edit: 07 / June / 2018, 16:58:25 by koshy »
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS 1000 HS Porting Thread
« Reply #427 on: 07 / June / 2018, 17:24:18 »
Sorry, don't know how to use it. Since the Windows CHDK Shell is defunct I switched to MSL's CHDK Compiler GUI. I don't see a way to run code_gen.
Oh, I see. Build attached. I have no idea whether it will work better than the original, but at least the source looks more ordinary this way.

edit: test build removed
« Last Edit: 08 / June / 2018, 12:25:22 by srsa_4c »


*

Offline koshy

  • *****
  • 1096
Re: IXUS 1000 HS Porting Thread
« Reply #428 on: 07 / June / 2018, 20:41:13 »
Build attached. I have no idea whether it will work better than the original, but at least the source looks more ordinary this way.
[/quote]Thanks, I can connect to CHTK PTP and go to rec mode and shoot remotely. I cannot access Menu or use Funct through the CHDKPTP buttons and display overlay and palette are broken. But that is more than we had before. The ND/Iris distinction failed in other ways as reported in the testing thread on that.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS 1000 HS Porting Thread
« Reply #429 on: 08 / June / 2018, 12:24:36 »
Thanks, I can connect to CHTK PTP and go to rec mode and shoot remotely.
Sounds good, that means the original port does have issues.
No idea about the keyboard, unfortunately. The viewport and palette related parts would have to be re-done completely, as it seems.

The current port is also messed up regarding the PhySw task: the old ports rely on switching the stack, which wastes 0x2000 bytes of memory for code_gen'd ports.

Anyway, here's a build with
Code: [Select]
    #undef  CAM_HAS_IRIS_DIAPHRAGM
removed from platform_camera.h

 

Related Topics