[ECOS] arm evaluator e7t hangs when executing example progs/tests
Tue Apr 15 07:54:00 GMT 2003
----- Original Message -----
From: "Matt Kober" <firstname.lastname@example.org>
To: "JonathanLarmour" <jifl@eCosCentric.com>
Sent: Monday, April 14, 2003 10:37 PM
Subject: Re: [ECOS] arm evaluator e7t hangs when executing example progs/tests
> as soon as i import the ecm file that loads the flashdriver and the zlib package the build
> fails due to a invalid undefined reference to `_flash_info'
Are you loading the correct ecm file? The flashdriver is not loaded with the ecm file I use.
( ecos-2.0b1/packages/hal/arm/e7t/v2_0b1/misc/redboot_ROM.ecm )
> i unloaded the the zlib and flash package and the build succeeds. also downloading
> and running redboot is no problem, but when i want to debug the hello world example, gdb
> just displays 'continuing' even though i have assertions and tracing enabled.
> isn't it sufficient to use the template in conjunction the ecm file to build a valid image ?
> did i totally miss something ? here are my build results.
Selecting the E7T/Redboot template and importing the ecm file should be sufficient to build
a valid image. It works on my system anyway!
> arm-elf-gcc -mcpu=arm7tdmi -mno-short-load-words -Wl,--gc-sections -Wl,-static -g -nostdlib -L/ecos-d/workdir \
> /redboot/redboot_e7t_install/lib -Ttarget.ld -o /ecos-d/workdir/redboot/redboot_e7t_install/bin/redboot.elf \
> make: Leaving directory `/ecos-d/workdir/redboot/redboot_e7t_build/redboot/v2_0b1'
> /ecos-d/workdir/redboot/redboot_e7t_install/lib/libtarget.a(redboot_main.o): In function `do_reset':
> make: Leaving directory `/ecos-d/workdir/redboot/redboot_e7t_build'
> /ecos-d/cygwin/opt/ecos/ecos-2.0b1/packages/redboot/v2_0b1/src/main.c:149: undefined reference to `_flash_info'
> collect2: ld returned 1 exit status
> make: *** [/ecos-d/workdir/redboot/redboot_e7t_install/bin/redboot.elf] Error 1
> make: *** [build] Error 2
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss