SX170 porting - page 11 - DryOS Development - CHDK Forum

SX170 porting

  • 266 Replies
  • 84541 Views
*

Offline srsa_4c

  • ******
  • 4451
Re: SX170 porting
« Reply #100 on: 02 / September / 2014, 11:56:36 »
Advertisements
Out of curiosity, I took nafraf's files from his svn repo (loader/sx170is and platform/sx170is), copied them into a fresh trunk tree, executed:
Code: [Select]
make rebuild-stubs PLATFORM=sx170is PLATFORMSUB=100a
make run-code-gen PLATFORM=sx170is PLATFORMSUB=100a
make fir PLATFORM=sx170is PLATFORMSUB=100a
Build was successful.
Same happened for 101a.
PRIMARY.BIN files were at their right place (this is needed for rebuild-stubs and run-code-gen).
This was on a Linux system, but I think you should get the same on Windows. I think you get a proper command prompt with correct PATH if you click the black icon in the lower right part of the CHDK Shell window. You may need to use gmake, not make. The trunk tree should be unaltered of course.

Re: SX170 porting
« Reply #101 on: 02 / September / 2014, 12:24:17 »
hi srsa_4c

I did exaclty the same procedure and iI still get the same error.

cp: cannot stat `./loader/sx170is/main.bin': No such file or directory
gmake: *** [firsub] Error 1

I am runnig in Wndows 7. I can succesfully build any other camera in the trunk.


Thanks

*

Offline srsa_4c

  • ******
  • 4451
Re: SX170 porting
« Reply #102 on: 02 / September / 2014, 13:09:43 »
>> Entering to core
../makefile.inc:362: warning: overriding recipe for target `Makefile'
../makefile.inc:361: warning: ignoring old recipe for target `Makefile'

...

>> Entering to loader/sx170is
../../makefile.inc:362: warning: overriding recipe for target `Makefile'
../../makefile.inc:361: warning: ignoring old recipe for target `Makefile'
I don't see these, do you get these warnings when building for any other camera?
Perhaps you have problems with either filenames (lowercase/uppercase mismatch) or DOS/Unix line endings? I have no idea...

Re: SX170 porting
« Reply #103 on: 02 / September / 2014, 13:54:46 »
Quote
I don't see these, do you get these warnings when building for any other camera?
Perhaps you have problems with either filenames (lowercase/uppercase mismatch) or DOS/Unix line endings? I have no idea...
yes I get these warnings when building for other camera. I can also build for any other câmera except Sx170is.


Re: SX170 porting
« Reply #104 on: 03 / September / 2014, 19:53:43 »
I think our sx170 is very complex  :'(

Re: SX170 porting
« Reply #105 on: 03 / September / 2014, 20:52:03 »
I managed to generate a firmware and i capture some good quality raw pictures. Tomorrow i will send them to you guys.

Re: SX170 porting
« Reply #106 on: 03 / September / 2014, 20:54:16 »
Quote
I don't see these, do you get these warnings when building for any other camera?
Perhaps you have problems with either filenames (lowercase/uppercase mismatch) or DOS/Unix line endings? I have no idea...
yes I get these warnings when building for other camera. I can also build for any other câmera except Sx170is.
Here's a working sx170is tree for both the 100a and 101a in both patch file and zipped source (from nafraf's svn repo).
Ported :   A1200    SD940   G10    Powershot N    G16

Re: SX170 porting
« Reply #107 on: 05 / September / 2014, 20:25:03 »
hello garden, would you please upload CHDK, I would like to try it too. Thank you.


Re: SX170 porting
« Reply #108 on: 05 / September / 2014, 20:50:10 »
hello garden, would you please upload CHDK, I would like to try it too. Thank you.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: SX170 porting
« Reply #109 on: 05 / September / 2014, 23:29:38 »
the current version of the camera is 100a, there is no higher firmware to sx1701is.
try missing.
I only tried 100th.
RAW works but distorts images.

 

Related Topics