A2500 porting thread - page 3 - DryOS Development - CHDK Forum

A2500 porting thread

  • 157 Replies
  • 55567 Views
*

Offline sudipto.sarkar666

  • *
  • 14
  • Hacker/Photographer/Metalhead/Musician/Artist
    • Visioplanet Photography
Re: A2500 porting thread
« Reply #20 on: 09 / September / 2013, 04:05:37 »
Advertisements
Next step: Try to fix capt_seq.c, to avoid camera crash when you take photo.
A2500 is a DryOS R52 camera, you can use ixus140 (unfinished) port as reference.

Dude, the whole file's got assembly. On top of that, ARM assembly. I'm gonna need help with this one..

*

Offline nafraf

  • *****
  • 1308
Re: A2500 porting thread
« Reply #21 on: 09 / September / 2013, 22:52:29 »
@sudipto.sarkar66
I'll check the capt_seq.c code, I think that I found some errors. Meanwhile, could you check modemap?
Some instructions here: http://chdk.setepontos.com/index.php?topic=5051.msg77808#msg77808

*

Offline sudipto.sarkar666

  • *
  • 14
  • Hacker/Photographer/Metalhead/Musician/Artist
    • Visioplanet Photography
Re: A2500 porting thread
« Reply #22 on: 10 / September / 2013, 16:11:18 »
I found some differences in the modemap (shooting.c attached herewith). @nafraf: Please add this to your svn. The ISO table is correct. I'm gonna work on the ShutterSpeed and ApertureSize tables. Other than those two, what should I work on next?

Also, is the MODE_VIDEO_IFRAME_MOVIE has the value which comes up while recording movies? I wasn't sure, so I wrote the value in the comment. Please update accordingly. And lemme know when I have to update the svn.
« Last Edit: 10 / September / 2013, 16:14:16 by sudipto.sarkar666 »

*

Offline nafraf

  • *****
  • 1308
Re: A2500 porting thread
« Reply #23 on: 11 / September / 2013, 00:44:43 »
I found some differences in the modemap (shooting.c attached herewith). @nafraf: Please add this to your svn. The ISO table is correct. I'm gonna work on the ShutterSpeed and ApertureSize tables. Other than those two, what should I work on next?
Please, update your working copy, and test image capture. If camera crashes, please post the ROMLOG. "miscellaneous stuff->Debug Parameters->Save ROM crash log". If it works, test image overrides.

Other features to test:
- Video quality override.
- chdkptp liveview

Quote
Also, is the MODE_VIDEO_IFRAME_MOVIE has the value which comes up while recording movies? I wasn't sure, so I wrote the value in the comment. Please update accordingly. And lemme know when I have to update the svn.
MODE_VIDEO_IFRAME is a capture mode not available in your camera, but don't worry, modemap table is complete. Thanks


*

Offline sudipto.sarkar666

  • *
  • 14
  • Hacker/Photographer/Metalhead/Musician/Artist
    • Visioplanet Photography
Re: A2500 porting thread
« Reply #24 on: 11 / September / 2013, 09:19:35 »
@nafraf
There are a few compile errors in the files.. These were the two I found:

platform/a2500/sub/100a/boot.c
platform/a2500/sub/100a/capt_seq.c

boot.c had a few lines repeated, so I was able to fix that one.
I'm not sure about capt_seq.c. I'm not sure if the rest of the files are okay
.

[EDIT]
capt_seq.c also had repetition. I removed that and compiled successfully.

Please check in and lemme know when I have to update the svn. Thanks.

Also, camera's still crashing and the ROMLOG.LOG is attached here.
« Last Edit: 11 / September / 2013, 09:40:39 by sudipto.sarkar666 »

*

Offline nafraf

  • *****
  • 1308
Re: A2500 porting thread
« Reply #25 on: 11 / September / 2013, 09:52:20 »
@nafraf
There are a few compile errors in the files.. These were the two I found:

platform/a2500/sub/100a/boot.c
platform/a2500/sub/100a/capt_seq.c
Please run make PLATFORM=a2500 PLATFORMSUB=100a run-code-gen to generate boot.c and capt_seq.c and check if they differs from svn (svn diff). 


*

Offline sudipto.sarkar666

  • *
  • 14
  • Hacker/Photographer/Metalhead/Musician/Artist
    • Visioplanet Photography
Re: A2500 porting thread
« Reply #26 on: 11 / September / 2013, 12:45:44 »
@nafraf: They're the same. It may have been my editor. I was checking out the differences (winmerge) when the editor crashed.

I compiled again and got the same crash and ROMLOG. The new ROMLOG's attached...

*

Offline nafraf

  • *****
  • 1308
Re: A2500 porting thread
« Reply #27 on: 11 / September / 2013, 19:36:44 »
@nafraf: They're the same. It may have been my editor. I was checking out the differences (winmerge) when the editor crashed.

I compiled again and got the same crash and ROMLOG. The new ROMLOG's attached...
Please test attached file. In this version, exp_drv_task() is disabled.
« Last Edit: 12 / September / 2013, 06:16:15 by nafraf »


*

Offline sudipto.sarkar666

  • *
  • 14
  • Hacker/Photographer/Metalhead/Musician/Artist
    • Visioplanet Photography
Re: A2500 porting thread
« Reply #28 on: 12 / September / 2013, 12:41:15 »
This DISKBOOT.BIN is crashing too... The new ROMLOG's attached...

Test build request
« Reply #29 on: 22 / October / 2013, 08:54:20 »
Hi everyone!
I have A2500 and i want to participate in CHDK testing. Can anyone upload last build for testing purposes?

 

Related Topics