IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread - page 38 - General Discussion and Assistance - CHDK Forum  

IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread

  • 678 Replies
  • 269367 Views
*

Offline Benoe

  • *
  • 12
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #370 on: 14 / March / 2010, 06:03:08 »
Advertisements
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.

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #371 on: 14 / March / 2010, 10: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.

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #372 on: 14 / March / 2010, 11: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 :-(

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #373 on: 14 / March / 2010, 11: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, 12:01:13 by HarpoMa »
Canon Models - SD300, SD780, & SX210


Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #374 on: 14 / March / 2010, 23: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: 14 / March / 2010, 23:40:03 by HarpoMa »
Canon Models - SD300, SD780, & SX210

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #375 on: 15 / March / 2010, 04:39:41 »
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. 

Yes, that makes sense  :)
I used a dump from my collection, without a check, just let the build process create the stub files.
I'm on the run now, but i'll check & update the dump and commit the correct stubs to the SVN repository this evening.

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #376 on: 15 / March / 2010, 16:48:10 »
Hello, I've tried the SVN Autobuild:

Tried out the Override shutter speed with 128s value and my yard was almoust clear as day with ISO 80  :D Thanks !
Tried TV bracketing - works like a charm, but still little slow when goes around few loops...
ND filter - OK
etc.

Bugs:
Video shot with CHDK shows as "Unidentified image" in Preview mode, but computer plays it normally...

DNG files turns out like this:


In the menu, next to OSD parameters sometimes CHDK shows this:
[ 6528 = 0x00080006 ]
[ 6512 = 0x00000000 ]
[ 6496 = 0x00000000 ]


Nothing more for now...
Good luck, bye!

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #377 on: 15 / March / 2010, 18:10:45 »
@HarpoMa:
SVN updated with corrected stubs_entry.S, also replaced the sd780 1.00c dump in chdkdumps2 with a cleaned one.


Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #378 on: 15 / March / 2010, 18:14:41 »
I tried the 878 build, get the same type of colored distortion in the raw files, tweaked the ult_intvl script because the parameters could not be saved , but was able to get bracketed tv working with custom timer. The jpg files are definitely bracketed by 1 ev which is what I shot, but no joy with the raw. Haven't tried motion detection yet, but bad_pixel.lua worked without any adjusting. Raw was working in the past, I remember getting some really nice sunrise shots, don't know what's changed there. I also get the numbers flashing but only while moving up in the menus, doesn't happen while moving down.
Looks promising, looking forward to a raw fix.
Keep up the awesome work, HarpoMa
Dan
« Last Edit: 15 / March / 2010, 18:35:09 by danstr »
SD780, SX200, SX1, SD890 and SD980 - O.K. Way too many cameras, not enough photos!

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #379 on: 15 / March / 2010, 21:03:47 »
Raw file issue confirmed and I now know the issue (Seems I left my head somewhere else) - Movie issue doesn't appear for me.  I see a regular image for mine.  I'll see what I can see and get back to you.  

I'll do some more qa for a release the minor patch.


Harpo
« Last Edit: 16 / March / 2010, 00:59:02 by HarpoMa »
Canon Models - SD300, SD780, & SX210

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal