IXUS 255 IS/ELPH 330 IS porting thread - page 2 - DryOS Development - CHDK Forum

IXUS 255 IS/ELPH 330 IS porting thread

  • 61 Replies
  • 36942 Views
Re: IXUS 255 IS/ELPH 330 IS porting thread
« Reply #10 on: 19 / February / 2014, 04:41:31 »
Advertisements
Thanks for checking!

Re: IXUS 255 IS/ELPH 330 IS porting thread
« Reply #11 on: 20 / February / 2014, 18:23:45 »
I've started a port based on the IXUS140 / ELPH130IS port:
https://github.com/mpetroff/chdk-elph330hs

So far, I've found the I/O LED address, 0xc022c020, and have gotten debug code that flashes the LED working. The boot process currently works through creating the spy task, but I have not been able to get the camera to fully boot, and the screen never turns on. As I've never done a port before, this might take a while.

*

Offline nafraf

  • *****
  • 1308
Re: IXUS 255 IS/ELPH 330 IS porting thread
« Reply #12 on: 20 / February / 2014, 19:13:33 »
Hi mpetroff,
For stubs_entry_2.S address:
MakeDirectory_Fut = mkdir
finish_shutdown = TurnOffE1_FW

Patch in attachment.

Re: IXUS 255 IS/ELPH 330 IS porting thread
« Reply #13 on: 22 / February / 2014, 16:59:42 »
I still haven't made any progress in getting the camera to boot, even with all of the task hooks commented out. I have been able to follow the boot process through line 457 of boot.c, which never returns. I think the issue might be with a call to the CreateController function, but I'm not really sure. Any pointers someone more experienced could give me for getting the camera to boot would be appreciated. Thanks.

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS 255 IS/ELPH 330 IS porting thread
« Reply #14 on: 22 / February / 2014, 18:49:47 »
I still haven't made any progress in getting the camera to boot, even with all of the task hooks commented out. I have been able to follow the boot process through line 457 of boot.c, which never returns.
Are you sure about the play/rec mode related code at the start of sub_FF00038C_my()? If not, choose a working DIGIC 5 port, and find the equivalent part(s) in your firmware.

Re: IXUS 255 IS/ELPH 330 IS porting thread
« Reply #15 on: 22 / February / 2014, 20:25:35 »
I still haven't made any progress in getting the camera to boot, even with all of the task hooks commented out. I have been able to follow the boot process through line 457 of boot.c, which never returns.
Are you sure about the play/rec mode related code at the start of sub_FF00038C_my()? If not, choose a working DIGIC 5 port, and find the equivalent part(s) in your firmware.

That fixed it; thanks! I had updated the values, but I left in a offset, which the ELPH330 doesn't have. After rechecking the firmware, I removed the offset, and the camera now boots with the task hooks commented out.

Re: IXUS 255 IS/ELPH 330 IS porting thread
« Reply #16 on: 24 / February / 2014, 20:36:13 »
I don't mean to slow progress on this, but I noticed that the port that was started is with a camera that is based on DIGIC 4.  I noticed that there is another port based on the 320HS, which I'm wondering if it'll be a closer fit, since it's based on DIGIC 5, which the 330HS has?  Granted, it's an alpha build, as well as my being clueless to this process.

Would it be because this camera isn't touch screen like the 320?  Spec-wise, I did notice the 110HS which uses DIGIC 5 and no touch screen is also in alpha build.  How does one decide which port to start with?

As I don't know anything, I apologize in advance if I'm stepping on any toes.
« Last Edit: 24 / February / 2014, 20:43:27 by airpain »

*

Offline reyalp

  • ******
  • 14126
Re: IXUS 255 IS/ELPH 330 IS porting thread
« Reply #17 on: 24 / February / 2014, 23:09:24 »
I don't mean to slow progress on this, but I noticed that the port that was started is with a camera that is based on DIGIC 4.  I noticed that there is another port based on the 320HS, which I'm wondering if it'll be a closer fit, since it's based on DIGIC 5, which the 330HS has?  Granted, it's an alpha build, as well as my being clueless to this process.
Digic version makes very little difference (for digic II-digic V)
Quote
How does one decide which port to start with?
Generally, similar release date, a mature port, and similar hardware are good things to look for, but it doesn't actually matter a whole lot, all the camera specific stuff needs to be done no matter what.
Don't forget what the H stands for.

Re: IXUS 255 IS/ELPH 330 IS porting thread
« Reply #18 on: 25 / February / 2014, 02:00:21 »
Good to know, thanks for the info!

Re: IXUS 255 IS/ELPH 330 IS porting thread
« Reply #19 on: 25 / February / 2014, 23:07:59 »
I currently have power button detection working and the boot process almost working. The camera boots, "memory card locked" disappears, and the LED flashes, but the camera then crashes instead of showing the CHDK splash screen. I assume this is due to an address I haven't found yet (bitmap_buffer or viewport_buffers?).

 

Related Topics


SimplePortal © 2008-2014, SimplePortal