SDM 1.85 Released - Microfunguy's Builds - CHDK Forum

SDM 1.85 Released

  • 38 Replies
  • 17200 Views
SDM 1.85 Released
« on: 21 / February / 2011, 08:02:45 »
Advertisements
New camera supported are the following (main CHDK porters in brackets) :-

IXUS105/SD1300 (cLOud)
S95 (waldo)

RAW files are now always saved with a DNG header file.
Using a SanDisk Extreme III 2GB SD memory card, raw saving times are 0.8 sec(A460), 0.9 sec (S95) and 0.95 sec (A620).

The RAW images may be fullsize, stereo image strips or in-camera composite images created from multiple strips.
This allows the creation of high-resolution 360 degree panoramas, scientific or creative 'streak' images or images recording the entire periphery of a rotating object.
A mixed folder of such images may be quickly converted to DNG and displayed as a slideshow on a Windows PC or a Mac PC.


http://stereo.jpn.org/eng/sdm/download.htm
« Last Edit: 21 / February / 2011, 08:14:40 by Microfunguy »

Re: SDM 1.85 Released
« Reply #1 on: 23 / April / 2011, 04:55:46 »
Hi Microfunguy,

Since S95 is ported now (many thanks to you and waldo) I try to add my changes also into the 1.85 build.
(finally I found some time to go ahead with developing on SDM, but still too few time  ;))
I downloaded the source from the link you provided above.
But if I compile it I get an error that the tools directory is missing
(here compiling for my older IXUS 860):

gmake PLATFORM=ixus860 PLATFORMSUB=100c fir
**** Build: 148
>> Entering to tools
C:\SDM\gcc451\bin\gmake.exe: *** tools: No such file or directory.  Stop.
gmake: *** [all-recursive] Error 1

I remember for my IXUS860 the tools directory comes with the source ;-)
Where can I get the tools directory from for 1.85?

Thanks for any help!
« Last Edit: 23 / April / 2011, 04:59:20 by mr.burns »
2 x IXUS 860IS 100c
2 x Powershot S110 103a

Re: SDM 1.85 Released
« Reply #2 on: 23 / April / 2011, 06:22:20 »
Yes, you just use the CHDK one http://tools.assembla.com/chdk/browser/trunk/tools

Let me know if it compiles OK.


David

Re: SDM 1.85 Released
« Reply #3 on: 23 / April / 2011, 06:33:15 »
Hi David,

thanks for quick reply, the link you provided contains lots of files and folders. Do I have to download each file individually? Or is there a zip-file somewhere? Thanks again!
2 x IXUS 860IS 100c
2 x Powershot S110 103a


Re: SDM 1.85 Released
« Reply #4 on: 23 / April / 2011, 06:35:42 »
Hi David,

sorry -  I got it now, there's a link on the root/trunk page ;-)
2 x IXUS 860IS 100c
2 x Powershot S110 103a

Re: SDM 1.85 Released
« Reply #5 on: 23 / April / 2011, 06:43:44 »
Hi David,

just to let you know, it compiles fine now!

Thanks!
2 x IXUS 860IS 100c
2 x Powershot S110 103a

Re: SDM 1.85 Released
« Reply #6 on: 23 / April / 2011, 08:23:09 »
Hi David,

it compiles fine, but I cannot access SDM main menu :-(.
I just downloaded the source you provided, added the tools directory as you explained and compile.
I get the DISKBOOT.BIN and copy it to the SD-Card.
If I switch on the cam I can see the big 1.85, then I press ALT and MENU to enter the SDM settings, but all I get is the submenu 'Zebra/Histogram'.
Even if I choose '<Back' of this menu I cannot enter main menu of SPM it still shows 'Zebra/Histogram' submenu.
If I replace the created DISKBOOT.BIN by the original one from http://stereo.jpn.org/eng/sdm/download.htm then I can enter SPM main menu without problems.

What can I do to get SPM main menu back? Thanks!
2 x IXUS 860IS 100c
2 x Powershot S110 103a

Re: SDM 1.85 Released
« Reply #7 on: 23 / April / 2011, 08:28:41 »
Hi David,

may it helps, here what the compiler shows during compiling:
(there are lot's of warnings, can I ignore them?)


**** Build of configuration Default for project SDM185_1 ****

gmake PLATFORM=ixus860 PLATFORMSUB=100c fir
**** Build: 148
>> Entering to tools
pakwif.c -> pakwif.o
pakwif.o -> pakwif.exe
gensig.c -> gensig.o
gensig.o -> gensig.exe
-> signatures_dryos.h
CAUTION! Signature generation is turned off!
finsig.c -> finsig.o
finsig.o -> finsig.exe
dancingbits.c -> dancingbits.o
dancingbits.o -> dancingbits.exe
<< Leaving tools
>> Entering to lib
>> Entering to lib/font
font_8x16.c -> font_8x16.o
rbf_font.c -> rbf_font.o
rbf_font.c: In function 'rbf_load_from_8x16':
rbf_font.c:138:9: warning: pointer targets in passing argument 2 of 'rbf_assign_char_8x16' differ in signedness
rbf_font.c:104:13: note: expected 'char *' but argument is of type 'unsigned char *'
font_8x16.o rbf_font.o -> libfont.a
<< Leaving lib/font
>> Entering to lib/math
d2d.c -> d2d.o
wrapper.c -> wrapper.o
d2d.o wrapper.o -> libmath.a
<< Leaving lib/math
>> Entering to lib/ubasic
camera_functions.c -> camera_functions.o
tokenizer.c -> tokenizer.o
ubasic.c -> ubasic.o
camera_functions.o tokenizer.o ubasic.o -> libubasic.a
<< Leaving lib/ubasic
>> Entering to lib/lang
lang.c -> lang.o
lang.o -> liblang.a
<< Leaving lib/lang
<< Leaving lib
>> Entering to platform
>> Entering to platform/ixus860
>> Entering to platform/ixus860/sub
>> Entering to platform/ixus860/sub/100c
boot.c -> boot.o
stubs_min.S -> stubs_min.o
stubs_auto.S -> stubs_auto.o
-> stubs_entry.S
CAUTION! 'stubs_entry.S' is not updated due to target firmware binary not found!
stubs_entry.S -> stubs_entry.o
lib.c -> lib.o
stubs_entry_2.S -> stubs_entry_2.o
capt_seq.c -> capt_seq.o
touch_wheel.c -> touch_wheel.o
movie_rec.c -> movie_rec.o
boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o touch_wheel.o movie_rec.o -> libplatformsub.a
<< Leaving platform/ixus860/sub/100c
<< Leaving platform/ixus860/sub
main.c -> main.o
lib.c -> lib.o
wrappers.c -> wrappers.o
In file included from wrappers.c:1:0:
../generic/wrappers.c: In function 'localtime':
../generic/wrappers.c:404:3: warning: #warning do something with this! - sizeof(x[]) must be >= sizeof(struct tm)
kbd.c -> kbd.o
shooting.c -> shooting.o
main.o lib.o wrappers.o kbd.o shooting.o -> libplatform.a
<< Leaving platform/ixus860
<< Leaving platform
>> Entering to core
entry.S -> entry.o
nothumb.c -> nothumb.o
main.c -> main.o
gui_menu.c -> gui_menu.o
gui_menu.c: In function 'menu_title':
gui_menu.c:139:7: warning: pointer targets in passing argument 1 of 'localtime' differ in signedness
../include/stdlib.h:243:20: note: expected 'const long unsigned int *' but argument is of type 'long int *'
gui_menu.c: In function 'gui_menu_draw':
gui_menu.c:612:7: warning: pointer targets in passing argument 1 of 'localtime' differ in signedness
../include/stdlib.h:243:20: note: expected 'const long unsigned int *' but argument is of type 'long int *'
draw_palette.c -> draw_palette.o
mbox_popup.c -> mbox_popup.o
gui_fselect.c -> gui_fselect.o
gui_fselect.c: In function 'fselect_marked_paste_cb':
gui_fselect.c:581:13: warning: 'sd' may be used uninitialized in this function
gui.c -> gui.o
kbd.c -> kbd.o
kbd.c: In function 'su':
kbd.c:900:2: warning: pointer targets in passing argument 1 of 'localtime' differ in signedness
../include/stdlib.h:243:20: note: expected 'const long unsigned int *' but argument is of type 'long int *'
kbd.c: In function 'time_lapse':
kbd.c:1255:5: warning: pointer targets in passing argument 1 of 'localtime' differ in signedness
../include/stdlib.h:243:20: note: expected 'const long unsigned int *' but argument is of type 'long int *'
conf.c -> conf.o
gui_read.c -> gui_read.o
histogram.c -> histogram.o
batt_grid.c -> batt_grid.o
gui_osd.c -> gui_osd.o
script.c -> script.o
raw.c -> raw.o
raw.c: In function 'raw_savefile':
raw.c:284:13: warning: passing argument 2 of 'write' makes pointer from integer without a cast
../include/stdlib.h:137:12: note: expected 'void *' but argument is of type 'int'
gui_lang.c -> gui_lang.o
motion_detector.c -> motion_detector.o
gui_sdm_config.c -> gui_sdm_config.o
edgeoverlay.c -> edgeoverlay.o
dng.c -> dng.o
suba.c -> suba.o
-> main.elf
   text      data       bss       dec       hex   filename
 177416      8312     50560    236288     39b00   main.elf
main.elf -> main.bin
<< Leaving core
>> Entering to loader
>> Entering to loader/ixus860
>> Entering to loader/ixus860/resetcode
entry.S -> entry.o
main.c -> main.o
-> main.elf
main.elf -> main.bin
<< Leaving loader/ixus860/resetcode
entry.S -> entry.o
main.c -> main.o
blobs.S -> blobs.o
-> main.elf
main.elf -> main.bin
<< Leaving loader/ixus860
<< Leaving loader
-> 1.85-148-ixus860-100c-57.FIR
**** Firmware creation completed successfully
 

Thanks for any help!
2 x IXUS 860IS 100c
2 x Powershot S110 103a


Re: SDM 1.85 Released
« Reply #8 on: 23 / April / 2011, 09:09:11 »

(there are lot's of warnings, can I ignore them?)

I do and the code will work.

If I had more time I could investigate some of them but I don't    :)

Re: SDM 1.85 Released
« Reply #9 on: 23 / April / 2011, 09:10:41 »
Hi David,

I found out more strange things.
If I am inside this 'Zebra/Histogram' submenu and move to one of the subentries e.g. 'Histogram mode' then the value on the right side changes automatically form Linear to Log in certain intervals but I do not touch any key.
So it changes from Linear to Log and back to Linear itself. The interval is random.
This happens also to other entries like 'Histogram layout', there also all values appear in random intervals.

What's this?

Thanks for any hint ;-)
2 x IXUS 860IS 100c
2 x Powershot S110 103a

 

Related Topics