public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ecos/redboot arm at91 problems
@ 2007-03-30 14:51 Michael Dorin
  2007-03-30 15:07 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Dorin @ 2007-03-30 14:51 UTC (permalink / raw)
  To: ecos-discuss

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

ecos-2.0/packages/redboot/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/main.tmp -o
src/redboot_main.o
/home/mike/ecos/ecos-2.0/packages/redboot/v2_0/src/main.c
In file included from
/home/mike/ecos/ecos-2.0/packages/redboot/v2_0/src/main.c:57:
/home/mike/ecos/at91-pass2/install/include/redboot.h:64:25:
cyg/crc/crc.h: No such file or directory
/home/mike/ecos/ecos-2.0/packages/redboot/v2_0/src/main.c:621:
warning: weak declaration of `bist' after first use
results in unspecified behavior
make[1]: *** [src/main.o.d] Error 1
make[1]: Leaving directory
`/home/mike/ecos/at91-pass2/redboot/v2_
 


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] ecos/redboot arm at91 problems
  2007-03-30 14:51 [ECOS] ecos/redboot arm at91 problems Michael Dorin
@ 2007-03-30 15:07 ` Gary Thomas
  2007-03-30 16:40   ` Michael Dorin
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2007-03-30 15:07 UTC (permalink / raw)
  To: dorin; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] ecos/redboot arm at91 problems
  2007-03-30 15:07 ` Gary Thomas
@ 2007-03-30 16:40   ` Michael Dorin
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Dorin @ 2007-03-30 16:40 UTC (permalink / raw)
  To: Gary Thomas, dorin; +Cc: ecos-discuss



Downloading via cvs now.
I didn't know that I had such an old release.
I thought I had the new one!

Thanks,
 Mike

--- Gary Thomas <gary@mlbassoc.com> wrote:

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-30 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-30 14:51 [ECOS] ecos/redboot arm at91 problems Michael Dorin
2007-03-30 15:07 ` Gary Thomas
2007-03-30 16:40   ` Michael Dorin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).