ELPH 340 (IXUS 265) - DryOS Development - CHDK Forum

ELPH 340 (IXUS 265)

  • 174 Replies
  • 96310 Views
ELPH 340 (IXUS 265)
« on: 16 / June / 2014, 12:49:34 »
Advertisements
I just bought an ELPH 340 (IXUS 265) because I like the features (NFC, WiFi) and hoped that a CHDK existed or would be available soon. I don't find a current port or beta version. WILL THE CHDK FOR THE ELPH 330 WORK? Thanks for any help before I waste my time trying.

*

Offline srsa_4c

  • ******
  • 4451
Re: ELPH 340 (IXUS 265)
« Reply #1 on: 16 / June / 2014, 14:33:59 »
I just bought an ELPH 340 (IXUS 265) because I like the features (NFC, WiFi) and hoped that a CHDK existed or would be available soon. I don't find a current port or beta version.
FAQ - My camera isn't ported yet
Quote
WILL THE CHDK FOR THE ELPH 330 WORK?
NO, it will not. These models are completely different.

Re: ELPH 340 (IXUS 265)
« Reply #2 on: 16 / June / 2014, 18:04:05 »
I have attempted to start a blind port, for the ELPH 340 (IXUS 265-100a)

 Using revision 3462+, for Ixus265_elph340 using the Ixus265_elph340-100a dump and ixus255_elph330hs as a reference port.

I started yesterday, on boot.c  and I also edited some easy stuff.

1/ Is the Pid/Vid value known for the Ixus265_elph340.

2/ So far I have found about 20 Valid firmware offsets.

3/ Are there any alternative camera suggestions for the reference port.

4/ The ixus255_elph330hs seems to be a good, but not perfect, match.

5/ Any other suggestions for DIGIC 4+ and release 54 based cameras.

H-H
« Last Edit: 16 / June / 2014, 18:22:33 by Hardware_Hacker »

*

Offline srsa_4c

  • ******
  • 4451
Re: ELPH 340 (IXUS 265)
« Reply #3 on: 16 / June / 2014, 18:24:39 »
I have attempted to start a blind port, for the ELPH 340 (IXUS 265-100a)

 Using revision 3462+, for Ixus265_elph340 using the Ixus265_elph340-100a dump and ixus255_elph330hs as a reference port.

I started yesterday, on boot.c  and I also edited some easy stuff.

1/ Is the Pid/Vid value known for the Ixus265_elph340.

2/ So far I have found about 20 Valid firmware offsets.
Please use the sigfinder (finsig_dryos), it should find most of the needed stubs. It will be less successful on stuff belonging to stubs_min.S, but that's still more than nothing. It will also find the P-ID.
Place the camera's PRIMARY.BIN to platform/ixus265_elph340/sub/100a, then re-run the build.

Quote
3/ Are there any alternative camera suggestions for the reference port.
The SX510 is the latest DryOS r52 camera, some of its code might be closer to the Ixus265_elph340 than the ixus255's.

Re: ELPH 340 (IXUS 265)
« Reply #4 on: 16 / June / 2014, 18:32:10 »
I have attempted to start a blind port, for the ELPH 340 (IXUS 265-100a)

....So far I have found about 20 Valid firmware offsets.
Please use the sigfinder (finsig_dryos), .....

Place the camera's PRIMARY.BIN to platform/ixus265_elph340/sub/100a, then re-run the build. {Done]

The first Error Log is attached

Note that there is still a lot of stuff to be edited.

H-H

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: ELPH 340 (IXUS 265)
« Reply #5 on: 16 / June / 2014, 18:36:53 »
I have attempted to start a blind port, for the ELPH 340 (IXUS 265-100a)

....So far I have found about 20 Valid firmware offsets.
Please use the sigfinder (finsig_dryos), .....

Place the camera's PRIMARY.BIN to platform/ixus265_elph340/sub/100a, then re-run the build. {Done]

The first Error Log is attached

Note that there is still a lot of stuff to be edited.

H-H

Your ROMBASEADDR is probably wrong, or the firmware dump is incomplete.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: ELPH 340 (IXUS 265)
« Reply #6 on: 16 / June / 2014, 18:37:23 »
Quote
Place the camera's PRIMARY.BIN to platform/ixus265_elph340/sub/100a, then re-run the build. {Done]
The first Error Log is attached Note that there is still a lot of stuff to be edited.
If you copy the SX510 port and rename it ixus265_elph340 then a lot of the files you need will already be there.  To get the find_sig stuff to work, you might have to edit the ROMBASEADDR in makefile.inc in the 100a directory. Other edits can follow.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline nafraf

  • *****
  • 1308
Re: ELPH 340 (IXUS 265)
« Reply #7 on: 16 / June / 2014, 18:41:24 »
1/ Is the Pid/Vid value known for the Ixus265_elph340.
PLATFORMID = 12937 (0x3289)

*

Offline srsa_4c

  • ******
  • 4451
Re: ELPH 340 (IXUS 265)
« Reply #8 on: 16 / June / 2014, 18:45:08 »
Well, I messed up that dump. The sigfinder needs the bootloader area which is stripped from the dump.
You can download the whole 16MB dump from http://ul.to/un00588u (link is from here: http://forum.chdk-treff.de/viewtopic.php?f=16&t=3310#p29239 ), then erase the first 64kB from it. The new start address is 0xff010000, the dump will now start with the bootloader, and the sigfinder will accept it.

Re: ELPH 340 (IXUS 265)
« Reply #9 on: 16 / June / 2014, 23:35:57 »
"... The SX510 is the latest DryOS r52 camera, some of its code might be closer to
the Ixus265_elph340 than the Ixus255's... "

They Look OK, Ixus265 vs SX510.

49 same row(s)
44140 ignored unimportant difference row(s)
 5122 important left orphan row(s)
 5638 important right orphan row(s)

Ixus265-100a vs SX510-100c Attached Files are the, Selected, Significant, Differences.

Hex Ordered, Selected, Significant Differences in Rom_Dump.png.

Alpha Numeric ordered, Selected, Significant Differences in AlphaNumeric.png

Edit #1

They Look OK, Ixus265 vs Ixus255.

0 same row(s)
38672 ignored unimportant difference row(s)
10639 important left orphan row(s)
 6214 important right orphan row(s)

H-H
« Last Edit: 17 / June / 2014, 02:25:47 by Hardware_Hacker »

 

Related Topics


SimplePortal © 2008-2014, SimplePortal