Author Topic: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread  (Read 73857 times)

Offline HarpoMa

  • Full Member
  • ***
  • Posts: 218
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #360 on: 10 / March / 2010, 22:45:06 »
I'm working on zebra atm.  When I get that finished I will release a 875 patch and the new firmwares. 
Harpo
Canon Models - SD300, SD780, & SX210

Offline danstr

  • Rookie
  • *
  • Posts: 48
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #361 on: 10 / March / 2010, 23:27:04 »
 :D Thank you, HarpoMa, very good to hear from you!
SD780, SX200, SX1, SD890 and SD980 - O.K. Way too many cameras, not enough photos!

Offline HarpoMa

  • Full Member
  • ***
  • Posts: 218
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #362 on: 12 / March / 2010, 09:29:41 »
Since it appears zebra will take a lot more work than I thought I will post this 875 patch that adds SD780 support.  Don't be surprised if zebra crashes.

Harpo
Canon Models - SD300, SD780, & SX210

Offline danstr

  • Rookie
  • *
  • Posts: 48
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #363 on: 13 / March / 2010, 03:10:39 »
Sorry for the noob question, HarpoMa, how and to what do I apply this patch?
Dan :blink:
SD780, SX200, SX1, SD890 and SD980 - O.K. Way too many cameras, not enough photos!

Offline HarpoMa

  • Full Member
  • ***
  • Posts: 218
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #364 on: 13 / March / 2010, 03:46:30 »
It is unlikely that you will want to use this.  This would be for developers only.  I will release a firmware on post #1 that you can place directly on the camera for actual use.

Harpo
Canon Models - SD300, SD780, & SX210

Offline danstr

  • Rookie
  • *
  • Posts: 48
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #365 on: 13 / March / 2010, 04:27:57 »
Thanks, and thanks for the quick reply. :) With the resolution on this camera, I am really looking forward to when it hits beta or final stages. I appreciate the amount of work that's been going into the port!
Dan
SD780, SX200, SX1, SD890 and SD980 - O.K. Way too many cameras, not enough photos!

Offline fe50

  • Guru Member
  • ******
  • Posts: 2602
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #366 on: 13 / March / 2010, 21:14:40 »
Since it appears zebra will take a lot more work than I thought I will post this 875 patch that adds SD780 support.  Don't be surprised if zebra crashes.

The Ixus100 / SD780 1.00c port is in the CHDK trunk now, binaries are available from the Autobuild server. (SVN changeset #876)

@HarpoMa
To add your patch to the trunk, i've made some small modifications:
- modemap (main.c) line 50
- added notes.txt
- main makefile preparations for AB server
- camera.h layout, needs some more clean-up
- stub files added

Offline danstr

  • Rookie
  • *
  • Posts: 48
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #367 on: 13 / March / 2010, 22:14:34 »
Thanks for the BETA! Do most of the points on the first post still apply? ie: scripts, ignored stuff, etc?
Regards,
Dan
SD780, SX200, SX1, SD890 and SD980 - O.K. Way too many cameras, not enough photos!

Offline HarpoMa

  • Full Member
  • ***
  • Posts: 218
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #368 on: 14 / March / 2010, 00:31:24 »
I'll do an update of the first page this weekend with the details of work.
Canon Models - SD300, SD780, & SX210

CHDK Forum

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #368 on: 14 / March / 2010, 00:31:24 »

Offline danstr

  • Rookie
  • *
  • Posts: 48
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #369 on: 14 / March / 2010, 01:05:30 »
 :DMuch appreciated. Will try it out when I get home and have the camera in hand again. :lol
Dan
SD780, SX200, SX1, SD890 and SD980 - O.K. Way too many cameras, not enough photos!

Offline Benoe

  • Rookie
  • *
  • Posts: 12
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #370 on: 14 / March / 2010, 15:03:08 »
I downloaded the latest beta (877) today and copied onto the sd card. But after "firmware update" the screen goes black, and the chdk is not starting.

I need to remove battery to make the camera working again with stock firmware.

Prealpha version downloaded from post 1 is still working ok.

Offline anferney

  • Newbie
  • *
  • Posts: 2
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #371 on: 14 / March / 2010, 19:36:13 »
Great to see there's some more progress on this.  Been using CHDK lots and looking forward to a stable version.

Quote
I downloaded the latest beta (877) today and copied onto the sd card. But after "firmware update" the screen goes black, and the chdk is not starting.

I need to remove battery to make the camera working again with stock firmware.

Prealpha version downloaded from post 1 is still working ok.

Same here.

Offline louisiukas

  • Newbie
  • *
  • Posts: 4
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #372 on: 14 / March / 2010, 20:36:42 »
Damned... If both LEDs show up, that means that the dumper found the BOOTDISK signature and also a function pointer that could be possible the WriteSDCard function. I compared the functions of the SD780 1.0C dump with the G11 functions, and there are almost the same. I am wondering that it is not working... :blink:
@ERR99
I have the 1.00B too and tried to dump it. I tried the DISKBOOT.BIN you provided and both LEDs lit up. I had formatted the card with a 20MB fat16 and filled it with zeros and only copied the DISKBOOT.BIN over. The md5sum of the FAT16 partition before and after it was run in the camera showed it was exactly the same :-(

Offline HarpoMa

  • Full Member
  • ***
  • Posts: 218
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #373 on: 14 / March / 2010, 20:51:45 »
I'll try the 877 myself and see what the deal is.....  I confirm that it's not working from the autobuild server.  I will check it out from svn and see if I can build a working copy....

Harpo
« Last Edit: 14 / March / 2010, 21:01:13 by HarpoMa »
Canon Models - SD300, SD780, & SX210

Offline HarpoMa

  • Full Member
  • ***
  • Posts: 218
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #374 on: 15 / March / 2010, 08:03:53 »
@fe50 - I don't pretend to understand how this would occur but I'll tell you what I found.

The stubs_entry.S that you generated for the sd780 seems to have a consistent offset in their location.  

The 4th digit is always off by 1.  So for AllocateMemory 0xffa3df5c is correct but the file has 0xffa4df5c....

I think it's because I included some padding in the front of the firmware dump....My padding is exactly the size of the offset. 

I have attached the working stubs_entry.S

Harpo

Mine:
// !!! THIS FILE IS GENERATED. DO NOT EDIT. !!!
#include "stubs_asm.h"

NSTUB(AllocateMemory, 0xffa3df5c)
NSTUB(AllocateUncacheableMemory, 0xff827448)
NSTUB(Close, 0xff823c98)
NSTUB(CreateTask, 0xff81afac)
NSTUB(DeleteFile_Fut, 0xff823544)
// ERROR: EnterToCompensationEVF is not found!
NSTUB(ExecuteEventProcedure, 0xff86a590)
// ERROR: ExitFromCompensationEVF is not found!
// Best match: 57%
NSTUB(ExitTask, 0xff81b23c)
NSTUB(Fclose_Fut, 0xff8236c0)
NSTUB(Feof_Fut, 0xff8238ac)
NSTUB(Fflush_Fut, 0xff8238e8)
NSTUB(Fgets_Fut, 0xff823814)
NSTUB(Fopen_Fut, 0xff823680)
NSTUB(Fread_Fut, 0xff82376c)
NSTUB(FreeMemory, 0xffa3df54)


Yours

NSTUB(AllocateMemory, 0xffa4df5c)
NSTUB(AllocateUncacheableMemory, 0xff837448)
NSTUB(Close, 0xff833c98)
NSTUB(CreateTask, 0xff82afac)
NSTUB(DeleteFile_Fut, 0xff833544)
// ERROR: EnterToCompensationEVF is not found!
NSTUB(ExecuteEventProcedure, 0xff87a590)
// ERROR: ExitFromCompensationEVF is not found!
// Best match: 57%
NSTUB(ExitTask, 0xff82b23c)
NSTUB(Fclose_Fut, 0xff8336c0)
NSTUB(Feof_Fut, 0xff8338ac)
NSTUB(Fflush_Fut, 0xff8338e8)
NSTUB(Fgets_Fut, 0xff833814)
NSTUB(Fopen_Fut, 0xff833680)
NSTUB(Fread_Fut, 0xff83376c)
NSTUB(FreeMemory, 0xffa4df54)

« Last Edit: 15 / March / 2010, 08:40:03 by HarpoMa »
Canon Models - SD300, SD780, & SX210

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal