[ECOS] ecos/redboot arm at91 problems
Gary Thomas
gary@mlbassoc.com
Fri Mar 30 15:07:00 GMT 2007
Michael Dorin wrote:
> Hello,
> I am trying to get a basic ecos and reboot built
> going. Nothing fancy. Here are the steps I am
> taking right from the start. I am running
> on fedora core 6 and have installed ecos/redboot
> today. I have tried to make the build two ways,
> without luck. I can built without redboot, but I
> really want redboot too.
> Please help.
> -Mike
>
> 1) wget && sh ecos-install.tcl
>
> 2) Install arm-elf GNU tools
>
> 3) source ecosenv.sh
>
> 4) ecosconfig new at91 reboot
>
> results:
> U CYGSEM_HAL_USE_ROM_MONITOR, new inferred value 0
>
> 5) ecosconfig tree
>
> 6) results:
> cos-2.0/packages/hal/arm/arch/v2_0
> -I/home/mike/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src
> -I/home/mike/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/tests
> -I.
> -I/home/mike/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/
> -mcpu=arm7tdmi -mno-short-load-words -Wall
> -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
> -Woverloaded-virtual -g -O2 -ffunction-sections
> -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc
> -finit-priority -Wp,-MD,src/redboot_linux_exec.tmp -o
> src/hal_arm_arch_redboot_linux_exec.o
> /home/mike/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/redboot_linux_exec.c
> /home/mike/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/redboot_linux_exec.c:76:3:
> #error
> make[1]: *** [src/redboot_linux_exec.o.d] Error 1
> make[1]: Leaving directory
> `/home/mike/ecos/at91-pass3/hal/arm/arch/v2_0'
> make: *** [build] Error 2
>
>
> 7) Attempt #2
>
> 7.1) ecosconfig new at91
> 7.2) ecosconfig import ecosconfig import
> /home/mike/ecos/ecos-2.0/packages/hal/arm/at91/v2_0/misc/redboot_RAM.ecm
>
> 7.3) ecosconfig tree
> 7.4) make
> 7.5) results
This should work, but 7.1 needs to be:
ecosconfig new at91 redboot
Otherwise, you end up with the default configuration and a .ecm
file which tries to turn it into a RedBoot one which doesn't
work well at all.
Hint: you *really* should be using the CVS tree and not the old
2.0 "release" which is now *many* [in truth, nearly 5!] years old.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list