SX160 IS porting thread - page 5 - DryOS Development - CHDK Forum

SX160 IS porting thread

  • 101 Replies
  • 54647 Views
Re: SX160 IS porting thread
« Reply #40 on: 22 / May / 2013, 23:21:54 »
Advertisements
Please ask for help.
Help is available.   We need to work through language issues - please be patient - this is an international forum & group but a few of us are cursed with only one or two languages.  Merci / Danke / Chokran / Háw'aa / Gura míle / etc

Quote
I am not able to start CHDK. Already formatted the SD 4GB for FAT32, used the CardTrick, and I can not start the CHDK in auto mode (with lock SD) and not in manual mode too (in menu option, firmware update). Could give me a hand?
First of all,  CardTricks is blessed with a great "marketing" name - but it is an old utility and may not be of much use here.   I'm not even sure it will support FAT32 cards. 

So what version of CHDK are you trying to load?  Please supply the exact file name.    Once we have that we can take the next step in helping you.

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline jer

  • *
  • 10
Re: SX160 IS porting thread
« Reply #41 on: 23 / June / 2013, 12:38:20 »
A beta has been made available in unstable (thanks to nafraf?).
« Last Edit: 23 / June / 2013, 12:42:26 by jer »
sx160is

Re: SX160 IS porting thread
« Reply #42 on: 26 / June / 2013, 09:44:25 »
My SX160 running the beta crashes every time I use manual focus.  Is this a common issue?

*

Offline nafraf

  • *****
  • 1308
Re: SX160 IS porting thread
« Reply #43 on: 26 / June / 2013, 19:02:44 »
My SX160 running the beta crashes every time I use manual focus.  Is this a common issue?
Hi, I could not reproduce the problem. Could you tell me which capture mode are you using, is there any override enabled? thanks


Re: SX160 IS porting thread
« Reply #44 on: 16 / August / 2013, 11:18:47 »
I have this problem: while I´m exploring the menu setting parameters (for like a minute), suddenly the camera turns off without retracting the lenses. It happens every time I try to use it.
If I do it quickly (set parameters) and leave the menu, it continues working without problems.
Did anyone experiment this too?

Re: SX160 IS porting thread
« Reply #45 on: 21 / August / 2013, 07:22:57 »
Hello everyone,
Ive all but exhausted my supply of SX 150 and i can hardly find any more other than a few on ebay. I would like to switch to SX 160. ....
Pls let me know the state of the port to SX 160 can it be considered beta or should it be still called alpha ( or prealpha as someone mentioned a few posts back )

i normally require the camera to be controlled using PTP with a live preview. in video as well as still mode. although i have arranged for a single piece to check -  which i would be doing in a couple of days - i would be glad if someone who has used it in ptp mode will give a little feedback....

thanks ....
am always amazed at what a bunch of good hackers can do. (CHDK raises the supported cameras to a new level )
:)

*

Offline vi

  • *
  • 26
Re: SX160 IS porting thread
« Reply #46 on: 03 / November / 2013, 17:17:42 »
I have just acquired Canon Powershot SX160IS and tried CHDK on it.

The downloaded CHDK ("CHDK Ver: CHDK 1.3.0; Revision: 3191; Date: Oct 30 2013; Time: 10:17:16; Camera: sx160is; FW Vers: 100a; Compiler: GCC 4.4.3") works good enough (I only got "Hardware error" when I tried to make it over 1 hour exposure shot).

But tried the CHDK I built myself  with "arm-gcc-elf" ("CHDK Ver: CHDK 1.3.0; Revision: 0 (actually 3191); ... Compiler: GCC 4.1.1) the resulting CHDK worked poorly: file chooser often shuts down the camera and especially choosing Lua or Basic script crashes the camera with some exception (I can provide romlog dumps if needed).

Additionally I got stopped by missing __builtin_bswap32 in some "EyeFi" (why it can't be opted out?). Worked around by defining bit twiddling version of bswap32.

Also I don't see PS.FIR file in the build, only DISKBOOT.BIN (it works - it boots), nor in resulting "firzip" file...

When I try building with newer ARM toolchains arm-crosstool-linux-gnueabi-gcc and arm-linux-gnueabi-gcc I got stopped by "Unknown relocation type N" by elf2flt.

Where to get a pre-built "official" toolchain for building CHDK on GNU/Linux? How to build PS.FIR file?
« Last Edit: 03 / November / 2013, 17:19:56 by vi »

*

Offline reyalp

  • ******
  • 14118
Re: SX160 IS porting thread
« Reply #47 on: 03 / November / 2013, 18:06:27 »
But tried the CHDK I built myself  with "arm-gcc-elf" ("CHDK Ver: CHDK 1.3.0; Revision: 0 (actually 3191); ... Compiler: GCC 4.1.1) the resulting CHDK worked poorly: file chooser often shuts down the camera and especially choosing Lua or Basic script crashes the camera with some exception (I can provide romlog dumps if needed).
Configuring gcc for CHDK is tricky.

Quote
Additionally I got stopped by missing __builtin_bswap32 in some "EyeFi" (why it can't be opted out?). Worked around by defining bit twiddling version of bswap32.
You can probably comment out the eyefi module in the modules makefile.

Since it is a loadable module and there is very little code in the core, there is no reason to make it compile time optional in the normal builds.

Quote
Also I don't see PS.FIR file in the build, only DISKBOOT.BIN (it works - it boots), nor in resulting "firzip" file...
For dryos cameras, PS.FI2 is only built if platform/fi2.inc contains the necessary keys. See fi2.inc.txt

This file is only required for manual "firm update" loading, so if you use autoboot, you don't need it.

Quote
Where to get a pre-built "official" toolchain for building CHDK on GNU/Linux? How to build PS.FIR file?
There is no official pre-built tool chain.

You can find some pre-compiled ones here http://forum.chdk-treff.de/download_dev.php

The one used in the autobuild should be posted somewhere too, but I can't find a link right now.
Don't forget what the H stands for.


Re: SX160 IS porting thread
« Reply #48 on: 03 / November / 2013, 19:31:15 »
The one used in the autobuild should be posted somewhere too, but I can't find a link right now.
https://app.box.com/s/2bs0i77srru9d68cy6j5
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline vi

  • *
  • 26
Re: SX160 IS porting thread
« Reply #49 on: 04 / November / 2013, 09:27:53 »
Thanks, "gcc 4.5.1 (Linux 32 Bit)   Compiler für CHDK (Linux 32 Bit)" works well: I can load scripts in resulting CHDK, no relocation type errors or bswap32 errors.

P.S. Am I the only here who find the "ultra-dim screen"  feature useful? Even minimum screen brightness can be too bright in a almost completely dark environment, especially when you want to take long exposure shots silently and without emitting any significant light yourself. Have any "backlight modulation" (quickly turning screen on/off to simulate dim screen) patch (I use myself such on Canon Powershot A470) a chance to be accepted?
« Last Edit: 04 / November / 2013, 09:30:36 by vi »

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal