Need SX40 1.00f with Native Calls enabled - Feature Requests - CHDK Forum  

Need SX40 1.00f with Native Calls enabled

  • 5 Replies
  • 4223 Views
Need SX40 1.00f with Native Calls enabled
« on: 02 / December / 2011, 06:58:09 »
Advertisements
I've been told this wasn't supposed to be difficult...

So i gave it a try, and got this on "error.txt"

--------------------------------------------------------
boot.c: In function 'blink':
boot.c:49:1: warning: 'noreturn' function does return

--------------------------------------------------------

i don't know what the hell that means, but i loaded the
compiled file to my SX40 anyway.

I'm testing some scripts but i don't know how to determine if
the problem is with the compiled file or it is the script that
is not working.

i'd like to know if there's any possibility for someone
to compile version 1.00f so i can be sure i have native calls
working properly.


I did steps 1/2/3 in the picture, i don't know if there's something else
i have to do.

i got a ZIP file on "trunk1444\bin" but the ZIP didn't contained the file "PS.FI2"
i just got DISKBOOT.BIN and i replaced it with the alpha version on the site.


Any guidence?

 :xmas thank you so much.


« Last Edit: 02 / December / 2011, 07:01:30 by Alejandro »
ELPH 300HS (IXUS 220)
EOS Rebel T3 (not T3i)
EOS 7D
SD770 IS
SX40 HS
SD1300 IS

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Need SX40 1.00f with Native Calls enabled
« Reply #1 on: 02 / December / 2011, 07:42:33 »
@Alejandro

Don't worry - a warning is not an error but merely a hint from GCC that it thinks the code could be formulated
better (select Compile Options -> OPT_WARNINGS and you'll get to see loads of them ...)

Can't see anything wrong with your steps to compile.

About the PS.FI2: read  /platform/fi2.inc.txt ...

Note that only your DISKBOOT.BIN now has native calls enabled, so you'll need to autoboot to
use native calls.

HTH,

wim

PS Just noticed that CHDK-DE now also supports sx40 .... and their version of Autobuilds have
     native calls enabled by default (link)
     If you go this way, you will (probably) want to set the language to English:
     Hauptmenü ->  Anzeige-Einstellungen -> Sprache ...  and then select 'english.lng'
« Last Edit: 02 / December / 2011, 08:05:59 by whim »

Re: Need SX40 1.00f with Native Calls enabled
« Reply #2 on: 02 / December / 2011, 08:19:48 »
SX40 is not in the list.

I've also notice that if i compile 1.00f normally, "DISKBOOT.BIN" doesn't match the ALPHA version on the site.

gotta be missing something else.

any chance you could upload 1.00f with NC enabled?

ELPH 300HS (IXUS 220)
EOS Rebel T3 (not T3i)
EOS 7D
SD770 IS
SX40 HS
SD1300 IS

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Need SX40 1.00f with Native Calls enabled
« Reply #3 on: 02 / December / 2011, 09:17:19 »
SX40 is not in the list.

I've also notice that if i compile 1.00f normally, "DISKBOOT.BIN" doesn't match the ALPHA version on the site.

gotta be missing something else.

any chance you could upload 1.00f with NC enabled?

- Aaargh, forgot: it only rebuilds daily (should be there tomorrow, SX40 support for r876 and later)
- Site /compiled binaries do not match because they use different compiler versions - CHDK-Shell comes
   with GCC 3.4.6, 4.4.0 and 4.5.1, while the Autobuild server uses 4.3.1 4.4.3. This makes for differently sized
   executables (higher versions -> slower compilation, but smaller binaries)
- See attached 100f binary (vanilla 1444 + native calls enabled, GCC 4.5.1)
 

HTH,

wim

[edit: sorry, got the Autobuild compiler version wrong]
« Last Edit: 02 / December / 2011, 10:26:21 by whim »


Re: Need SX40 1.00f with Native Calls enabled
« Reply #4 on: 02 / December / 2011, 15:50:34 »
Interested in the results?  8)

http://chdk.setepontos.com/index.php?topic=7191.0


this is great.
ELPH 300HS (IXUS 220)
EOS Rebel T3 (not T3i)
EOS 7D
SD770 IS
SX40 HS
SD1300 IS

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Need SX40 1.00f with Native Calls enabled
« Reply #5 on: 02 / December / 2011, 16:09:45 »
Mmmm... 21:50 - 15:17 -> ~ 6 hours
Looks like you're off to a flying start  :D :D

Have fun,

wim

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal