This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: arm evaluator e7t hangs when executing example progs/tests
- From: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
- To: "Matt Kober" <mattkober at web dot de>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 15 Apr 2003 08:56:00 +0100
- Subject: Re: [ECOS] arm evaluator e7t hangs when executing example progs/tests
- Organization: Sweeney Design
- References: <200304142137.h3ELbLq06291@mailgate5.cinetic.de>
- Reply-to: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
----- Original Message -----
From: "Matt Kober" <mattkober at web dot de>
To: "JonathanLarmour" <jifl at eCosCentric dot com>
Cc: <ecos-discuss at sources dot redhat dot 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 \
> /ecos-d/workdir/redboot/redboot_e7t_install/lib/version.o
> make[1]: 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[1]: *** [/ecos-d/workdir/redboot/redboot_e7t_install/bin/redboot.elf] Error 1
> make: *** [build] Error 2
>
> thanks,
>
> Matt
>
Chris
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss