"make fir"?AFAIK, that would compile just for the default camera, A610.To compile for SD1000 you have to execute this:gmake PLATFORM=ixus70_sd1000 PLATFORMSUB=102a fir
export CFLAGS=""wget http://ftp.gnu.org/gnu/binutils/binutils-2.15.tar.bz2tar xjvf binutils-2.15.tar.bz2cd binutils-2.15mkdir binutils-arm-elfcd binutils-arm-elf../configure --srcdir=../ --target=arm-elfmake && make installwget http://ftp.gnu.org/gnu/gcc/gcc-3.4.6.tar.bz2tar xvjf gcc-3.4.6.tar.bz2cd gcc-3.4.6patch -p0 < ../gcc-3.4-arm.diffmkdir gcc-arm-elfcd gcc-arm-elf../configure --srcdir=../ --target=arm-elf --with-cpu=arm9 --with-newlib --enable-multilib --enable-languages=cmake && make installsvn co https://tools.assembla.com/svn/chdk/trunkcd trunkgmake PLATFORM=ixus70_sd1000 PLATFORMSUB=102a fir
It's supposed to be arm-elf-gcc (not gcc-arm-elf). Are you sure it's in your PATH? What do you see when you execute arm-elf-gcc --version ?
# arm-elf-gcc --versionarm-elf-gcc (GCC) 3.4.6
arm-elf-gcc -fno-inline -Os -fno-strict-aliasing -mthumb-interwork -I../include -DMEMBASEADDR=0x1900 -DMEMISOSTART=0xBEF70 -DMEMISOSIZE=0x40000 -DRESTARTSTART=0x50000 -DPLATFORM=\"ixus70_sd1000\" -DPLATFORMSUB=\"102a\" -DHDK_VERSION=\"allbest\" -DBUILD_NUMBER=\"51\" -DCAMERA_ixus70_sd1000=1 -Wall -Wno-unused -Wno-format -mthumb -o main.elf --start-group entry.o nothumb.o main.o gui_draw.o gui_menu.o gui_palette.o gui_mbox.o gui_reversi.o gui_debug.o gui_fselect.o gui_read.o gui.o kbd.o conf.o histogram.o gui_batt.o gui_space.o gui_osd.o script.o raw.o gui_sokoban.o gui_calendar.o gui_lang.o gui_bench.o gui_mpopup.o gui_grid.o motion_detector.o raw_merge.o ../platform/ixus70_sd1000/libplatform.a ../platform/ixus70_sd1000/sub/102a/libplatformsub.a ../lib/font/libfont.a ../lib/math/libmath.a ../lib/ubasic/libubasic.a ../lib/lang/liblang.a -lgcc --end-group -L../lib/math -L../lib/font -L../lib/libc -L../lib/ubasic -L../platform/ixus70_sd1000 -L../platform/ixus70_sd1000/sub/102a -nostdlib -Wl,--allow-shlib-undefined -Wl,-T,../tools/link-boot.ld -Wl,-N,-Ttext,0xBEF70
text data bss dec hex filename 136903 8412 56728 202043 3153b main.elf
arm-elf-objcopy -O binary main.elf main.bin
# arm-elf-objcopy -O binary -v main.elf main.bincopy from main.elf(elf32-littlearm) to main.bin(binary)
# arm-elf-objcopy --versionGNU objcopy 2.15Copyright 2004 Free Software Foundation, Inc.This program is free software; you may redistribute it under the terms ofthe GNU General Public License. This program has absolutely no warranty.# arm-elf-objcopy --infoBFD header file version 2.15elf32-littlearm (header little endian, data little endian) armelf32-bigarm (header big endian, data big endian) armelf32-little (header little endian, data little endian) armelf32-big (header big endian, data big endian) armsrec (header endianness unknown, data endianness unknown) armsymbolsrec (header endianness unknown, data endianness unknown) armtekhex (header endianness unknown, data endianness unknown) armbinary (header endianness unknown, data endianness unknown) armihex (header endianness unknown, data endianness unknown) arm elf32-littlearm elf32-bigarm elf32-little elf32-big srec arm elf32-littlearm elf32-bigarm elf32-little elf32-big srec symbolsrec tekhex binary ihex arm symbolsrec tekhex binary ihex
Started by MasterFX General Discussion and Assistance
Started by SergeiA General Discussion and Assistance
Started by Paco General Discussion and Assistance
Started by Recyclojunk64 General Discussion and Assistance
Started by LeTomas « 1 2 » General Discussion and Assistance