port for A3300IS / what reference port to use?

  • 288 Replies
  • 23725 Views
Re: port for A3300IS / what reference port to use?
« Reply #100 on: 01 / January / 2012, 14:02:24 »
Advertisements
Quote
Sorry, I thought you just wanted the actual questions seperated, I just had much to try to explain and didnt know how to get it all out.
Better - thanks.

Change line 77 in core/kbd.c like this :

Code: [Select]
#if defined(CAMERA_a430) || defined(CAMERA_a460) || defined(CAMERA_a530) || defined (CAMERA_a540) || \
defined(CAMERA_a550) || defined(CAMERA_a560) || defined(CAMERA_a570) || defined(CAMERA_a580) || defined(CAMERA_a590) || \
defined(CAMERA_ixus860_sd870) || defined(CAMERA_ixus960_sd950) || defined(CAMERA_ixus80_sd1100) || \
defined(CAMERA_ixus970_sd890) || defined(CAMERA_ixus980_sd990) || defined(CAMERA_a1100) || defined(CAMERA_a3000) |||| defined(CAMERA_a3300)
#define ZSTEP_TABLE_SIZE 8
static int nTxtbl[]={0,1,2,3,4,5,6,7};
#endif

Recompile.

*

Offline reyalp

  • ******
  • 10069
Re: port for A3300IS / what reference port to use?
« Reply #101 on: 01 / January / 2012, 14:08:22 »
../../../../tools/finsig_dryos: ../../../../tools/finsig_dryos: cannot execute binary file

You need to figure out why that is happening.  I'd guess it means your build environment is messed up somehow, but I'm not sure. That line comes from platform/makefile_sub.inc

The ZSTEP_TABLE_SIZE and nTxtbl should be self explanatory, look at core/kbd.c
Don't forget what the H stands for.

Re: port for A3300IS / what reference port to use?
« Reply #102 on: 01 / January / 2012, 14:13:10 »
How did you setup E:\CHDK2\TRUNK\TRUNK2200\ ?   Is there a E:\CHDK2\TRUNK\TRUNK2200\tools directory ?

Re: port for A3300IS / what reference port to use?
« Reply #103 on: 01 / January / 2012, 14:16:40 »
ERRR!!! I am so stupid, lol!!!

It was the a2200 trunk, I was using the trunk from the a2200 zip.

I got the latest version of CHDK_3.42 all updated, went back to the 1509 truck, added the a2200 loader and platform folder to that trunk.

I then renamed them to a3300.

Then added it to CSV and also the Ztable in kbd.c

Fixed my makefile.inc.

Recompiled and here is the result, No more sig error finally. And I see stubs were auto generated 8]

I trust me, I dont mind starting fresh, feels good to get it right and clean.

========== E:\CHDK3\TRUNK\TRUNK1509\BIN\LOGS\ERR-A3300-100A.TXT ==========

Time to generate stubs 17.67 seconds
shooting.c:83:4: error: 'MODE_LIVE' undeclared here (not in a function)
shooting.c:86:4: error: 'MODE_SCN_BLUR_REDUCTION' undeclared here (not in a function)
shooting.c:103:4: error: 'MODE_DISCREET' undeclared here (not in a function)
E:\chdk3\gcc451\bin\gmake.exe[2]: *** [shooting.o] Error 1
E:\chdk3\gcc451\bin\gmake.exe[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive] Error 1



Re: port for A3300IS / what reference port to use?
« Reply #104 on: 01 / January / 2012, 14:19:10 »
And yeah, I knew what the ztable error was about, already added it last time, I just wanted to start clean and show you results before I even touched anything.

Just like this last error is self explanatory, just wanted to take one step at a time and show you result.

Re: port for A3300IS / what reference port to use?
« Reply #105 on: 01 / January / 2012, 14:31:17 »
Code: [Select]
shooting.c:83:4: error: 'MODE_LIVE' undeclared here (not in a function)
shooting.c:86:4: error: 'MODE_SCN_BLUR_REDUCTION' undeclared here (not in a function)
shooting.c:103:4: error: 'MODE_DISCREET' undeclared here (not in a function)
You need to fix up the modemap[] values in platform/a3300/shooting.c.   The available values are all in your new stubs_entry.S file.   And the valid names for those modes are in include/modelist.h.    You can add new mode names at the bottom if the ones used by your camera are not there already.



Re: port for A3300IS / what reference port to use?
« Reply #106 on: 01 / January / 2012, 14:39:44 »
ok, thats actually what i am working on right now.

trying to get it back to where it was for you, but of coarse with a working stubs option 8]

Re: port for A3300IS / what reference port to use?
« Reply #107 on: 01 / January / 2012, 14:40:41 »
trying to get it back to where it was for you, but of coarse with a working stubs option 8]
Good - that way stubs_entry.S can work for you.


Re: port for A3300IS / what reference port to use?
« Reply #108 on: 01 / January / 2012, 14:44:18 »
One question before i mess it up again, a2200 had stuff in the stubs.min file.

Do I need to erase all but first line in that file too before I rebuild, just to see if I have to do it again?

Also, once everything is built, do I uncheck the gen stubs and sigs?

Re: port for A3300IS / what reference port to use?
« Reply #109 on: 01 / January / 2012, 14:47:26 »
One question before i mess it up again, a2200 had stuff in the stubs.min file.
Do I need to erase all but first line in that file too before I rebuild, just to see if I have to do it again?
No - but you should check each value in that file against what you find in stubs_entry.S.  Use the values from stubs_entry.S if they are different.

Quote
Also, once everything is built, do I uncheck the gen stubs and sigs?
You can - it will build faster without it.

 

Related Topics