Self compiled CHDK for a720 does't work - General Discussion and Assistance - CHDK Forum supplierdeeply

Self compiled CHDK for a720 does't work

  • 4 Replies
  • 2365 Views
Self compiled CHDK for a720 does't work
« on: 18 / March / 2008, 17:34:17 »
Advertisements
Hi. I tried to compile the CHDK trunk #332 for the a720. The compiling gives me the following:
Quote
D:\Canon_a720\chdk\trunk>gmake PLATFORM=a720 PLATFORMSUB=100c
>> Entering to tools
pakwif.o -> pakwif.exe
gensig.c -> gensig.o
gensig.o -> gensig.exe
-> signatures_dryos.h
CAUTION! 'signatures_dryos.h' is not uptated due to 'sig_ref_dryos_1.bin` is em
ty!
finsig.c -> finsig.o
finsig.o -> finsig.exe
<< Leaving tools
>> Entering to lib
>> Entering to lib/font
font_8x16.c -> font_8x16.o
rbf_font.c -> rbf_font.o
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/a720
>> Entering to platform/a720/sub
>> Entering to platform/a720/sub/100c
boot.c -> boot.o
stubs_min.S -> stubs_min.o
stubs_min.S:13:2: warning: #warning A720 - incorrect value, points to zero: 'DE
(canon_shoot_menu_active,0xFFE9CDB4)'
stubs_min.S:17:2: warning: #warning A720 - incorrect value, points to zero: 'DE
(recreview_hold, 0xFFE9CDB4)'
stubs_auto.S -> stubs_auto.o
-> stubs_entry.S
CAUTION! 'stubs_entry.S' is not uptated 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
boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o
> libplatformsub.a
<< Leaving platform/a720/sub/100c
<< Leaving platform/a720/sub
main.c -> main.o
lib.c -> lib.o
wrappers.c -> wrappers.o
In file included from wrappers.c:1:
../generic/wrappers.c:297:2: warning: #warning A650, A720 do something with thi
! - sizeof(x[]) must be >= sizeof(struct tm) : 'static int x[9];'
../generic/wrappers.c:359:2: warning: #warning A650, A720 do something with thi
! - sizeof(de[]) must be >= sizeof(struct dirent): 'static char de[40];'
kbd.c -> kbd.o
shooting.c -> shooting.o
main.o lib.o wrappers.o kbd.o shooting.o -> libplatform.a
<< Leaving platform/a720
<< Leaving platform
>> Entering to core
entry.S -> entry.o
nothumb.c -> nothumb.o
main.c -> main.o
gui_draw.c -> gui_draw.o
gui_menu.c -> gui_menu.o
gui_palette.c -> gui_palette.o
gui_mbox.c -> gui_mbox.o
gui_reversi.c -> gui_reversi.o
gui_debug.c -> gui_debug.o
gui_fselect.c -> gui_fselect.o
gui_read.c -> gui_read.o
gui.c -> gui.o
kbd.c -> kbd.o
conf.c -> conf.o
histogram.c -> histogram.o
gui_batt.c -> gui_batt.o
gui_space.c -> gui_space.o
gui_osd.c -> gui_osd.o
script.c -> script.o
raw.c -> raw.o
gui_sokoban.c -> gui_sokoban.o
gui_calendar.c -> gui_calendar.o
gui_lang.c -> gui_lang.o
gui_bench.c -> gui_bench.o
gui_mpopup.c -> gui_mpopup.o
gui_grid.c -> gui_grid.o
motion_detector.c -> motion_detector.o
raw_merge.c -> raw_merge.o
-> main.elf
   text    data     bss     dec     hex filename
 138668    7704   56408  202780   3181c main.elf
main.elf -> main.bin
<< Leaving core
>> Entering to loader
>> Entering to loader/a720
>> Entering to loader/a720/resetcode
entry.S -> entry.o
main.c -> main.o
-> main.elf
main.elf -> main.bin
<< Leaving loader/a720/resetcode
entry.S -> entry.o
main.c -> main.o
blobs.S -> blobs.o
-> main.elf
main.elf -> main.bin
<< Leaving loader/a720
<< Leaving loader
I thought the compiled image is core\main.bin. I renamed it to DISKBOOT.BIN and copied it to my SD-Card. But if I push the Power-Button nothing happens. Is this a fault by me or is it the "beta"-Source fault?

Re: Self compiled CHDK for a720 does't work
« Reply #1 on: 18 / March / 2008, 18:14:02 »
I thought the compiled image is core\main.bin. I renamed it to DISKBOOT.BIN and copied it to my SD-Card. But if I push the Power-Button nothing happens.


The compile file is DISKBOOT.BIN in the BIN folder.

You need to make the card bootable and then lock it.


Bootable SD card - CHDK Wiki



David

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Self compiled CHDK for a720 does't work
« Reply #2 on: 19 / March / 2008, 07:30:27 »
To compile DISKBOOT.BIN you have to execute
gmake ... fir
not just the
gmake ...
CHDK Developer.

Re: Self compiled CHDK for a720 does't work
« Reply #3 on: 19 / March / 2008, 13:22:10 »
The compile file is DISKBOOT.BIN in the BIN folder.

You need to make the card bootable and then lock it.

Bootable SD card - CHDK Wiki


David
1. there was no bin-folder
2. I know the card must be bootable, how do you think I get the last FMs to work?

To compile DISKBOOT.BIN you have to execute
gmake ... fir
not just the
gmake ...

Thats it, thank you! I thought I don't have to add "fir" because the a720 has no fir...


*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Self compiled CHDK for a720 does't work
« Reply #4 on: 19 / March / 2008, 13:40:39 »
Thats it, thank you! I thought I don't have to add "fir" because the a720 has no fir...
'gmake fir' makes both of them (of course for cameras which have .fir file).
CHDK Developer.

 

Related Topics