public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] EB40A
@ 2004-07-08 16:28 Enis SARAÇ
  2004-07-08 16:34 ` Jani Monoses
  0 siblings, 1 reply; 5+ messages in thread
From: Enis SARAÇ @ 2004-07-08 16:28 UTC (permalink / raw)
  To: ecos-discuss

Hi there.

While I am triying to compile redboot for EB40A
I am getting following error message. any help would be appreciated

Thanks in Advance

arm-elf-gcc -c -I/ecos-c/redboot/red_install/include -I/opt/ecos/ecos-2.0/pa
ckages/hal/arm/arch/current -I/opt/ecos/ecos-2.0/packages/hal/arm/arch/curre
nt/src -I/opt/ecos/ecos-2.0/packages/hal/arm/arch/current/tests -I. -I/opt/e
cos/ecos-2.0/packages/hal/arm/arch/current/src/ -finline-limit=7000 -mcpu=ar
m7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winl
ine -Wundef -g -O2 -ffunction-sections -fdata-sections -fno-exceptions -Wp,-
MD,src/redboot_linux_exec.tmp -o src/hal_arm_arch_redboot_linux_exec.o
/opt/ecos/ecos-2.0/packages/hal/arm/arch/current/src/redboot_linux_exec.c

/opt/ecos/ecos-2.0/packages/hal/arm/arch/current/src/redboot_linux_exec.c:80
:3: #error

make[1]: Leaving directory `/ecos-c/redboot/red_build/hal/arm/arch/current'

make[1]: *** [src/redboot_linux_exec.o.d] Error 1

make: Leaving directory `/ecos-c/redboot/red_build'

make: *** [build] Error 2







-- 
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] 5+ messages in thread

* Re: [ECOS] EB40A
  2004-07-08 16:28 [ECOS] EB40A Enis SARAÇ
@ 2004-07-08 16:34 ` Jani Monoses
  2004-07-08 17:56   ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Jani Monoses @ 2004-07-08 16:34 UTC (permalink / raw)
  To: ecos-discuss


> 
> make[1]: Leaving directory `/ecos-c/redboot/red_build/hal/arm/arch/current'
> 
> make[1]: *** [src/redboot_linux_exec.o.d] Error 1
> 
> make: Leaving directory `/ecos-c/redboot/red_build'
> 
> make: *** [build] Error 2

set CYGBLD_BUILD_REDBOOT_WITH_EXEC to 0 in the .ecc file. It defaults to 1
but not all platforms support loading linux.


-- 
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] 5+ messages in thread

* Re: [ECOS] EB40A
  2004-07-08 16:34 ` Jani Monoses
@ 2004-07-08 17:56   ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2004-07-08 17:56 UTC (permalink / raw)
  To: Jani Monoses; +Cc: eCos Discussion

On Thu, 2004-07-08 at 10:31, Jani Monoses wrote:
> > 
> > make[1]: Leaving directory `/ecos-c/redboot/red_build/hal/arm/arch/current'
> > 
> > make[1]: *** [src/redboot_linux_exec.o.d] Error 1
> > 
> > make: Leaving directory `/ecos-c/redboot/red_build'
> > 
> > make: *** [build] Error 2
> 
> set CYGBLD_BUILD_REDBOOT_WITH_EXEC to 0 in the .ecc file. It defaults to 1
> but not all platforms support loading linux.

Also, updating to the CVS version (rather than 2.0) would be prudent as
there have been many changes, especially in the EB40 area.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
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] 5+ messages in thread

* [ECOS] EB40A
@ 2004-02-19  8:39 j-b
  0 siblings, 0 replies; 5+ messages in thread
From: j-b @ 2004-02-19  8:39 UTC (permalink / raw)
  To: ecos-discuss

Hi all,

Does anybody uses the eval board EB40A together with ARM ADS ?

I need a scatter file for this eval board...

Any help would be great.

Jeroen Boonen

Barco View - Avionics
Software Engineer
Th. Sevenslaan 106
8500 Kortrijk
Tel: 056/23.31.31



-- 
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] 5+ messages in thread

* [ECOS] eb40a
@ 2002-12-10  1:20 Christian Pellegrin
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Pellegrin @ 2002-12-10  1:20 UTC (permalink / raw)
  To: ecos-discuss


Hi, sorry for the bad reply but I read the list in digested mode. To
make angel and redboot/my ecos hello world app to live happly
toghether with just 256k internal SRAM I changed the eb40 target in
the following files (disclaimer I'm just starting with ecos
developement so what I'm saying can be higly inelegant altough
working, I hope to make a nice working eb40a target (with all the
diffs from this ml integrated) when I understand all the configuration
system (BTW: any suggestion on this will be appreciated :-)):

- Changed the clock speed in hal_arm_at91.cdl

- The right memory map with the following diff (first 128K ecos,
second Angel. I used the later to do the download in ram via gdb rdi):

--------8<--------------
--- oldy/mlt_arm_at91_eb40_ram.h	2002-11-17 11:51:11.000000000 
+0000
+++ mlt_arm_at91_eb40_ram.h	2002-11-17 12:24:07.000000000 +0000
@@ -10,11 +10,11 @@
 #define CYGMEM_REGION_sram (0)
 #define CYGMEM_REGION_sram_SIZE (0x1000)
 #define CYGMEM_REGION_sram_ATTR (CYGMEM_REGION_ATTR_R | 
CYGMEM_REGION_ATTR_W)
-#define CYGMEM_REGION_ram (0x2000000)
-#define CYGMEM_REGION_ram_SIZE (0x80000)
+#define CYGMEM_REGION_ram (0x2000)
+#define CYGMEM_REGION_ram_SIZE (0x1e000)
 #define CYGMEM_REGION_ram_ATTR (CYGMEM_REGION_ATTR_R | 
CYGMEM_REGION_ATTR_W)
 #ifndef __ASSEMBLER__
 extern char CYG_LABEL_NAME (__heap1) [];
 #endif
 #define CYGMEM_SECTION_heap1 (CYG_LABEL_NAME (__heap1))
-#define CYGMEM_SECTION_heap1_SIZE (0x2080000 - (size_t) CYG_LABEL_NAME 
(__heap1))
+#define CYGMEM_SECTION_heap1_SIZE (0x20000 - (size_t) CYG_LABEL_NAME 
(__heap1))
--- oldy/mlt_arm_at91_eb40_ram.ldi	2002-11-17 11:51:11.000000000 
+0000
+++ mlt_arm_at91_eb40_ram.ldi	2002-11-17 12:25:44.000000000 +0000
@@ -7,14 +7,14 @@
 MEMORY
 {
     sram : ORIGIN = 0, LENGTH = 0x1000
-    ram : ORIGIN = 0x2000000, LENGTH = 0x80000
+    ram : ORIGIN = 0x2000, LENGTH = 0x1e000
 }
 
 SECTIONS
 {
     SECTIONS_BEGIN
     SECTION_fixed_vectors (sram, 0x20, LMA_EQ_VMA)
-    SECTION_rom_vectors (ram, 0x2020000, LMA_EQ_VMA)
+    SECTION_rom_vectors (ram, 0x2000, LMA_EQ_VMA)
     SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA)
--- oldy/mlt_arm_at91_eb40_ram.mlt	2002-11-17 11:51:11.000000000 
+0000
+++ mlt_arm_at91_eb40_ram.mlt	2002-11-17 12:24:42.000000000 +0000
@@ -1,8 +1,8 @@
 version 0
 region sram 0 1000 0 !On-chip SRAM
-region ram 2000000 80000 0 !
+region ram 2000 1e000 0 !
 section fixed_vectors 0 1 0 1 1 0 1 0 20 20 !
-section rom_vectors 0 1 0 1 1 1 1 1 2020000 2020000 text text !
+section rom_vectors 0 1 0 1 1 1 1 1 2000 2000 text text !
 section text 0 4 0 1 0 1 0 1 fini fini !
 section fini 0 4 0 1 0 1 0 1 rodata rodata !
 section rodata 0 4 0 1 0 1 0 1 rodata1 rodata1 !
--------8<--------------


Bye!






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

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

end of thread, other threads:[~2004-07-08 17:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-08 16:28 [ECOS] EB40A Enis SARAÇ
2004-07-08 16:34 ` Jani Monoses
2004-07-08 17:56   ` Gary Thomas
  -- strict thread matches above, loose matches on Subject: below --
2004-02-19  8:39 j-b
2002-12-10  1:20 [ECOS] eb40a Christian Pellegrin

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).