IXUS 240/ELPH 320 HS Porting thread - page 2 - DryOS Development - CHDK Forum supplierdeeply

IXUS 240/ELPH 320 HS Porting thread

  • 312 Replies
  • 129037 Views
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #10 on: 17 / January / 2013, 09:03:50 »
Advertisements
dpreview published a review today about a camera with a similar sensor, 12mp though. But the raw looks awesome. Cannot wait to see what comes out of the 240hs. The jpegs even at hi iso's look amazing already....

Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #11 on: 02 / March / 2013, 09:51:16 »
@Camcrazy : I'd be interested in assisting with tests, if you're still working on this ...

Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #12 on: 19 / April / 2013, 09:24:53 »
Any news on the progress ? Also, i am interested in helping by testing any release on my IXUS 240 HS.

Hope to hear some good news soon !

*

Offline nafraf

  • *****
  • 1308
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #13 on: 19 / April / 2013, 10:51:06 »
Any news on the progress ? Also, i am interested in helping by testing any release on my IXUS 240 HS.
Hi, source code is the same since January 2013, latest source code was posted on Reply #8.
It was  blind port, and blind port has its limitations, I can't calibrate/test touch screen without access to camera, so it is necessary a developer with access to camera to continue porting.


*

Offline Uwe

  • *
  • 18
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #14 on: 21 / May / 2013, 08:09:44 »
Hello,

i'm new to chdk, but i have experience in c and asm (not arm, but in general). Since I own a IXUS 240 (102a), I want to get chdk running on this device, but there is a problem...

As far as I see, the "loader" is firmware-independ, so the version of nafraf should start on my ixus, right?
first, i tried to blink the LED in my_restart(), but i could not see anything. Next, i tried to simple put the LED on right after the entry point:
Code: [Select]
    .section .entry

// LED on
LDR     R3, =0xC0220020
MOV     R2, #0x46
STR     R2, [R3]
but...nothing. (Or is the asm wrong? As I said, no experience with arm asm)
Is the LED address different depending on the firmware version?
I also just copied the sub/101a directory to sub/101b and made address adjustments with "chdk-pt". The values in makefile.inc are looking fine to me. For the moment, i have no idea how to find my problem, can anyone assist me?

I would love to port chdk and do calibrations, but i think i need a little bit help the start over :)
Should i upload a my 102a PRIMARY.BIN anywhere?

Thanks for any help,
Uwe

*

Offline nafraf

  • *****
  • 1308
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #15 on: 21 / May / 2013, 11:46:27 »
first, i tried to blink the LED in my_restart(), but i could not see anything. Next, i tried to simple put the LED on right after the entry point:
Is the LED address different depending on the firmware version?
LED addresses are the same for different firmware versions, but camcrazy noted that it was necessary to write to two addresses to turn on/off LEDs.

Quote
I also just copied the sub/101a directory to sub/101b and made address adjustments with "chdk-pt". The values in makefile.inc are looking fine to me. For the moment, i have no idea how to find my problem, can anyone assist me?

I would love to port chdk and do calibrations, but i think i need a little bit help the start over :)
Should i upload a my 102a PRIMARY.BIN anywhere?
Please upload firmware dump to any filesharing server, post the link here, and if you can share your source code, it will be helpful too, I can check it later.

*

Offline Uwe

  • *
  • 18
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #16 on: 25 / May / 2013, 06:03:06 »
(I had to buy a new battery charger...)

I verified the LED address with an extend.m-script and added the second address to my asm:
https://github.com/UweM/chdk-ixus240/blob/master/loader/ixus240_elph320hs/entry.S
But the LED did nothing.

My conclusion is, that the code is not correkt loaded into the memory or there is no jump to the entry section?
Wrong addresses here?
https://github.com/UweM/chdk-ixus240/blob/master/platform/ixus240_elph320hs/sub/102a/makefile.inc

Firmware Dump: http://bitshare.com/?f=8kv535zg

*

Offline nafraf

  • *****
  • 1308
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #17 on: 25 / May / 2013, 10:11:33 »
My conclusion is, that the code is not correkt loaded into the memory or there is no jump to the entry section?
Wrong addresses here?
https://github.com/UweM/chdk-ixus240/blob/master/platform/ixus240_elph320hs/sub/102a/makefile.inc
MEMISOSTART is the same for 101a and 102a, 101a booted, so I think that other values are correct.
I updated ixus240 platform code, now it compiles with current chdk trunk version (rev 2798).  Source code for 101a and 102a is available.

EDIT: out of date file deleted.
« Last Edit: 24 / July / 2013, 09:03:23 by nafraf »


*

Offline Uwe

  • *
  • 18
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #18 on: 25 / May / 2013, 17:42:31 »
I think my problem was in my build enviroment: I switched from windows to linux and now my own build boots like a charme - same yours.

I'm now going to look deeper into it. My current state is that i can draw pixels direct under my finger. Yea :)
I'll post here if I run into problems or have any results.

*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #19 on: 26 / May / 2013, 05:26:28 »
Added the
  • IXUS 240 / ELPH 320 1.02A
full 16MB dump (dumped with cBasic udumper) by Uwe from this forum post to the CHDK P&S FW dumps repository.
...also updated the wikia.

 

Related Topics