ELPH 110 HS (IXUS 125 HS) Porting Thread - page 4 - DryOS Development - CHDK Forum

ELPH 110 HS (IXUS 125 HS) Porting Thread

  • 246 Replies
  • 125904 Views
*

Offline nafraf

  • *****
  • 1308
Re: ELPH 110 HS (IXUS 125 HS) Porting Thread
« Reply #30 on: 02 / March / 2013, 03:07:46 »
Advertisements
Quote
This problem could be solved just by being able to Download the files as a Zip Archive.
ZIP archive is the only format offered here : http://mighty-hoernsche.de/

Or did I miss something in your rather long & rambling non-specific post?

It seems that Hardware_Hacker is talking about ixus125 source code (under development), I think that he is downloading every file from my personal svn repository using web browser.  That's the problem. 
A svn client can solve it:
Code: [Select]
svn checkout http://subversion.assembla.com/svn/nafraf/chdk/loader/ixus125_elph110hs loader/ixus125_elph110hs
svn checkout http://subversion.assembla.com/svn/nafraf/chdk/platform/ixus125_elph110hs platform/ixus125_elph110hs

Re: ELPH 110 HS (IXUS 125 HS) Porting Thread
« Reply #31 on: 02 / March / 2013, 14:28:39 »
Hallo,

I'm very interested in having the CHDK for this camera, in fact there is some urgence in my case.

I would like to participate with the actual releases, but I do not know how.

Following th einstructions here > http://chdk.wikia.com/wiki/Prepare_your_SD_card there is the indication, that I need a file called either ps.fi2 or ps.fir in the root directory of the card.

Where do I get these or how to generate them, if I want to test the releases shared some post above?

Thanks
Patrick

*

Offline MKR

  • *
  • 11
Re: ELPH 110 HS (IXUS 125 HS) Porting Thread
« Reply #32 on: 02 / March / 2013, 14:46:51 »
I got one of them to boot, but I forget which one. The other two locked the camera up in such a way that I had to remove and reinsert the battery, which reaffirmed my fear of lightly tested software.

*

Offline nafraf

  • *****
  • 1308
Re: ELPH 110 HS (IXUS 125 HS) Porting Thread
« Reply #33 on: 02 / March / 2013, 15:10:35 »
@Aerorara, there is not ps.* file for this version, it is under development.
Compiled version for 100d and 101a is in attachment. These are limited versions only to test boot.  Firmware update method is not available.  To load CHDK, it is necessary to use bootable sd card method.

To start using CHDK, you need to know the firmware version of your camera. This tool can help you: http://chdk.wikia.com/wiki/ACID

Re: ELPH 110 HS (IXUS 125 HS) Porting Thread
« Reply #34 on: 02 / March / 2013, 15:32:51 »
I got one of them to boot, but I forget which one. The other two locked the camera up in such a way that I had to remove and reinsert the battery, which reaffirmed my fear of lightly tested software.
While you are right to be wary of a new and mostly untested CHDK port,   what you saw is exactly what will happen when you load the wrong version of CHDK for your camera.   The CHDK version has to match your camera's firmware version or it will lock up, usually requiring a reset by pulling the battery.  The version that booted is the one that matches your camera,   the other two do not.  You can wait for 10,000 hours of testing to be completed and that will still be what happens.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline MKR

  • *
  • 11
Re: ELPH 110 HS (IXUS 125 HS) Porting Thread
« Reply #35 on: 02 / March / 2013, 16:20:53 »
I got one of them to boot, but I forget which one. The other two locked the camera up in such a way that I had to remove and reinsert the battery, which reaffirmed my fear of lightly tested software.
While you are right to be wary of a new and mostly untested CHDK port,   what you saw is exactly what will happen when you load the wrong version of CHDK for your camera.   The CHDK version has to match your camera's firmware version or it will lock up, usually requiring a reset by pulling the battery.  The version that booted is the one that matches your camera,   the other two do not.  You can wait for 10,000 hours of testing to be completed and that will still be what happens.

That's what I thought might be the case since it happened with my old Canon P&S too. I don't mind waiting though. This camera is proving to be more than adequate with the stock firmware. :)

Re: ELPH 110 HS (IXUS 125 HS) Porting Thread
« Reply #36 on: 05 / March / 2013, 02:59:35 »
nafraf - Revision 263: /chdk/..../ixus125_elph110hs


I have come accross this [?] error in:-


Viewport Width Table [1:1]

// viewport width table for each image size
// 0 = 4:3, 1 = 16:9, 2 = 3:2, 3 = 1:1

    static long vp_w[4] = { 360, 360, 360, 360 };


~~~~~~~~~~~~~~~~~~~~

Should it be;-

Viewport Width Table [1:1] 360 * 0.75 = 270

  static long vp_w[4] = { 360, 360, 360, 270 }   ;// { 360, 480, 360, 272 };


H-H

Re: ELPH 110 HS (IXUS 125 HS) Porting Thread
« Reply #37 on: 05 / March / 2013, 03:08:21 »
nafraf - Revision 263: /chdk/..../ixus125_elph110hs [+ trunk-2617]

RE:- "SD_READONLY_FLAG" Porting Status

Error:- "Memory Card Locked"


In stubs_entry.S

// #define SD_READONLY_FLAG    0x02000000   // Found @0xff413814, levent 0x20a

-=-=-=-=-=-=-=-=-

Search "Locked" (2 hits in 1 file)

  C:\CHDK\Ixus125_100e\Ixus125_100e_Strings.txt (2 hits)

   ~Line 13339:~   00CFA314   00CFA314   0   Memory card locked
   ~Line 13572:~   00CFAF9E   00CFAF9E   0   Unlocked [?]

~~~~~~~~~~~~~~~~~~~~~~~

Search "Locked" (2 hits in 1 file)

  C:\CHDK\Ixus125_100d\Strings_Ixus125_100d.txt (2 hits)

   ~Line 13335:~ 00CFA314   00CFA314   0   Memory card locked
   ~Line 13568:~ 00CFAF9E   00CFAF9E   0   Unlocked [?]

~~~~~~~~~~~~~~~~~~~~~~~

Search "Locked" (2 hits in 1 file)

  C:\CHDK\Ixus125_101a\Ixus-125-100a-Strings.txt (2 hits)

   ~Line 13337:~ 00CFA314   00CFA314   0   Memory card locked
   ~Line 13570:~ 00CFAF9E   00CFAF9E   0   Unlocked [?]

-=-=-=-=-=-=-=-=-=-=-=-

Is the "Memory Card Locked"  Error something I am do wrong.

or a porting error.

H-H

Re: ELPH 110 HS (IXUS 125 HS) Porting Thread
« Reply #38 on: 05 / March / 2013, 09:01:27 »
I have come accross this [?] error in:
Viewport Width Table [1:1]

Code: [Select]
// viewport width table for each image size
// 0 = 4:3, 1 = 16:9, 2 = 3:2, 3 = 1:1

    static long vp_w[4] = { 360, 360, 360, 360 };
Should it be;-

Code: [Select]
Viewport Width Table [1:1] 360 * 0.75 = 270

  static long vp_w[4] = { 360, 360, 360, 270 } ;// { 360, 480, 360, 272 };

It a pretty normal cut & paste version used in many cameras.  Some seem to need the value to change - others don't.   I found a bug in the A1200 where the index used in that function (pulled from a propset value) is occasionally out of range resulting in a crash.  Didn't track down why - just clamped the value.  I could have tested the range instead but the A1200 always uses 360.   I guess you just have to test and see what works for your camera.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline nafraf

  • *****
  • 1308
Re: ELPH 110 HS (IXUS 125 HS) Porting Thread
« Reply #39 on: 05 / March / 2013, 09:39:02 »
nafraf - Revision 263: /chdk/..../ixus125_elph110hs [+ trunk-2617]

RE:- "SD_READONLY_FLAG" Porting Status

Error:- "Memory Card Locked"

It is a porting error, my guess is that SD_READONLY_FLAG is detected corrected, but there is a bug in ixus125_elph110hs/kbd.c  Please test with "nafraf - Revision 265".


 

Related Topics


SimplePortal © 2008-2014, SimplePortal