public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problem with memory layout (.ldi file)
@ 2009-04-03  6:42 Himanshu Patel
  2009-04-03  7:17 ` [ECOS] " John Dallaway
  0 siblings, 1 reply; 5+ messages in thread
From: Himanshu Patel @ 2009-04-03  6:42 UTC (permalink / raw)
  To: eCos Discuss

Hi,

We are porting eCos onto board with LPC2458 processor. The board has
segmented RAM memory speared across 32-bit address space. 

Segment 1: start address 0x40000000, Length = 0xFFE0
Segment 2: Start address 0x7FE00000, Length = 0x4000  

We want to have .bss section mapped in section (Segment 1) and data and
heap to be mapped in section(Segment 2). We tried to modify the .ldi and
.h file. However we are getting error (heap.cxx: invalid operands of
type "int" and "char" to binary operator).

.ldi file:

#include <cyg/infra/cyg_type.inc>
#include <pkgconf/hal_arm_lpc24xx_aftek2458.h>

MEMORY
{
    rom    : ORIGIN = 0x00000000, LENGTH = 0x80000
    sram   : ORIGIN = 0x40000000, LENGTH = 0xFFE0
    sram2   : ORIGIN = 0x7FE00000, LENGTH = 0x4000
}

SECTIONS
{
    SECTIONS_BEGIN
    SECTION_rom_vectors (rom, 0x00000000, LMA_EQ_VMA)
    SECTION_text (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fini (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata1 (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_gcc_except_table (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fixed_vectors (sram, 0x40000400, LMA_EQ_VMA)
    SECTION_data (sram2, 0x7FE00000, FOLLOWING (.gcc_except_table))
    SECTION_bss (sram, 0x40000540, FOLLOWING(.fixed_vectors))
    CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
    SECTIONS_END
}

.h file:

// eCos memory layout - Wed Apr 11 13:49:55 2001

// This is a generated file - do not edit

#ifndef __ASSEMBLER__
#include <cyg/infra/cyg_type.h>
#include <stddef.h>

#endif
#define CYGMEM_REGION_sram (0x40000000)
#define CYGMEM_REGION_sram_SIZE (0x0000FFE0)
#define CYGMEM_REGION_sram_ATTR (CYGMEM_REGION_ATTR_R |
CYGMEM_REGION_ATTR_W)


#define CYGMEM_REGION_rom (0x00000000)
#define CYGMEM_REGION_rom_SIZE (0x00080000)
#define CYGMEM_REGION_rom_ATTR (CYGMEM_REGION_ATTR_R)


#ifndef __ASSEMBLER__
extern char CYG_LABEL_NAME (__heap1) [];
#endif
#define CYGMEM_SECTION_heap1 (CYG_LABEL_NAME (__heap1))
#define CYGMEM_SECTION_heap1_SIZE (0x40010000 - (size_t) CYG_LABEL_NAME
(__heap1) - 32)

What is going wrong? Is anyone has tried with similar configuration
(segemented RAM or two different RAM memory)? If yes, please send the
same for reference.

Regards,

Himanshu Patel



--
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] Re: Problem with memory layout (.ldi file)
  2009-04-03  6:42 [ECOS] Problem with memory layout (.ldi file) Himanshu Patel
@ 2009-04-03  7:17 ` John Dallaway
  2009-04-03 12:54   ` [ECOS] " Himanshu Patel
  0 siblings, 1 reply; 5+ messages in thread
From: John Dallaway @ 2009-04-03  7:17 UTC (permalink / raw)
  To: Himanshu Patel; +Cc: eCos Discuss

Hi Himanshu

Himanshu Patel wrote:

> We are porting eCos onto board with LPC2458 processor. The board has
> segmented RAM memory speared across 32-bit address space. 
> 
> Segment 1: start address 0x40000000, Length = 0xFFE0
> Segment 2: Start address 0x7FE00000, Length = 0x4000  
> 
> We want to have .bss section mapped in section (Segment 1) and data and
> heap to be mapped in section(Segment 2). We tried to modify the .ldi and
> .h file. However we are getting error (heap.cxx: invalid operands of
> type "int" and "char" to binary operator).

A copy of the precise error message in context would help.

>     SECTION_bss (sram, 0x40000540, FOLLOWING(.fixed_vectors))

The .bss section is not relocated from ROM, so the third parameter
should be LMA_EQ_VMA in the above line.

> .h file:

> #define CYGMEM_REGION_sram (0x40000000)
> #define CYGMEM_REGION_sram_SIZE (0x0000FFE0)
> #define CYGMEM_REGION_sram_ATTR (CYGMEM_REGION_ATTR_R | CYGMEM_REGION_ATTR_W)

You should add similar definitions to the .h file for memory region sram2.

I hope this helps

John Dallaway

-- 
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] RE: Problem with memory layout (.ldi file)
  2009-04-03  7:17 ` [ECOS] " John Dallaway
@ 2009-04-03 12:54   ` Himanshu Patel
  2009-04-06  9:06     ` [ECOS] " John Dallaway
  0 siblings, 1 reply; 5+ messages in thread
From: Himanshu Patel @ 2009-04-03 12:54 UTC (permalink / raw)
  To: 'John Dallaway'; +Cc: 'eCos Discuss'

[-- Attachment #1: Type: text/plain, Size: 1463 bytes --]

Hi John,

We tried modifying the .ldi file as per your suggestion. However we are
getting the same error. Please find herewith output file for reference.

Regards,

Himanshu Patel

-----Original Message-----
From: John Dallaway [mailto:john@dallaway.org.uk] 
Sent: Friday, April 03, 2009 12:47 PM
To: Himanshu Patel
Cc: eCos Discuss
Subject: Re: Problem with memory layout (.ldi file)

Hi Himanshu

Himanshu Patel wrote:

> We are porting eCos onto board with LPC2458 processor. The board has
> segmented RAM memory speared across 32-bit address space. 
> 
> Segment 1: start address 0x40000000, Length = 0xFFE0
> Segment 2: Start address 0x7FE00000, Length = 0x4000  
> 
> We want to have .bss section mapped in section (Segment 1) and data and
> heap to be mapped in section(Segment 2). We tried to modify the .ldi and
> .h file. However we are getting error (heap.cxx: invalid operands of
> type "int" and "char" to binary operator).

A copy of the precise error message in context would help.

>     SECTION_bss (sram, 0x40000540, FOLLOWING(.fixed_vectors))

The .bss section is not relocated from ROM, so the third parameter
should be LMA_EQ_VMA in the above line.

> .h file:

> #define CYGMEM_REGION_sram (0x40000000)
> #define CYGMEM_REGION_sram_SIZE (0x0000FFE0)
> #define CYGMEM_REGION_sram_ATTR (CYGMEM_REGION_ATTR_R |
CYGMEM_REGION_ATTR_W)

You should add similar definitions to the .h file for memory region sram2.

I hope this helps

John Dallaway


[-- Attachment #2: output.txt --]
[-- Type: text/plain, Size: 51634 bytes --]

sh -c "export PATH=/home/prajakta/BTSCR/gnutools/arm-elf/bin:$PATH; unset GDBTK_LIBRARY; unset GCC_EXEC_PREFIX; export ECOS_REPOSITORY=/home/prajakta/BTSCR/ecos_working/packages; make --directory /home/prajakta/BTSCR/Projects/aftek_2April_build"

make: *** /home/prajakta/BTSCR/Projects/aftek_2April_build: No such file or directory.  Stop.
sh -c "export PATH=/home/prajakta/BTSCR/gnutools/arm-elf/bin:$PATH; unset GDBTK_LIBRARY; unset GCC_EXEC_PREFIX; export ECOS_REPOSITORY=/home/prajakta/BTSCR/ecos_working/packages; make --directory /home/prajakta/BTSCR/Projects/aftek_2April_build"

make: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build'
make -r -C hal/common/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/common/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/common/current'
make -r -C io/common/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/common/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/common/current'
make -r -C io/serial/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/serial/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/serial/current'
make -r -C infra/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/infra/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/infra/current'
make -r -C kernel/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/kernel/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/kernel/current'
make -r -C services/memalloc/common/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/services/memalloc/common/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/services/memalloc/common/current'
make -r -C isoinfra/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/isoinfra/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/isoinfra/current'
make -r -C language/c/libc/common/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/common/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/common/current'
make -r -C language/c/libc/i18n/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/i18n/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/i18n/current'
make -r -C language/c/libc/setjmp/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/setjmp/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/setjmp/current'
make -r -C language/c/libc/signals/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/signals/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/signals/current'
make -r -C language/c/libc/startup/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/startup/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/startup/current'
make -r -C language/c/libc/stdio/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/stdio/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/stdio/current'
make -r -C language/c/libc/stdlib/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/stdlib/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/stdlib/current'
make -r -C language/c/libc/string/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/string/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/string/current'
make -r -C language/c/libc/time/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/time/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libc/time/current'
make -r -C language/c/libm/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libm/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/language/c/libm/current'
make -r -C error/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/error/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/error/current'
make -r -C hal/arm/arch/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/arm/arch/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/arm/arch/current'
make -r -C hal/arm/lpc24xx/var/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/arm/lpc24xx/var/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/arm/lpc24xx/var/current'
make -r -C hal/arm/lpc24xx/aftek2458/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/arm/lpc24xx/aftek2458/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/arm/lpc24xx/aftek2458/current'
make -r -C devs/wallclock/arm/lpc2xxx/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/wallclock/arm/lpc2xxx/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/wallclock/arm/lpc2xxx/current'
make -r -C devs/serial/generic/16x5x/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/serial/generic/16x5x/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/serial/generic/16x5x/current'
make -r -C devs/serial/arm/lpc24xx/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/serial/arm/lpc24xx/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/serial/arm/lpc24xx/current'
make -r -C io/spi/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/spi/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/spi/current'
make -r -C devs/spi/arm/lpc24xx/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/spi/arm/lpc24xx/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/spi/arm/lpc24xx/current'
make -r -C devs/disk/lpc24xx/aftek2458/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/disk/lpc24xx/aftek2458/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/disk/lpc24xx/aftek2458/current'
make -r -C devs/pn532/arm/lpc24xx/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/pn532/arm/lpc24xx/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/pn532/arm/lpc24xx/current'
make -r -C io/usb/slave/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/usb/slave/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/usb/slave/current'
make -r -C io/disk/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/disk/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/disk/current'
make -r -C compat/linux/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/compat/linux/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/compat/linux/current'
make -r -C services/blib/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/services/blib/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/services/blib/current'
make -r -C io/fileio/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/fileio/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/fileio/current'
make -r -C fs/fat/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/fs/fat/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/fs/fat/current'
make -r -C io/usb/common/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/usb/common/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/usb/common/current'
make -r -C devs/usb/lpc2458/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/usb/lpc2458/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/usb/lpc2458/current'
make -r -C devs/flash/arm/lpc24xx/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/flash/arm/lpc24xx/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/devs/flash/arm/lpc24xx/current'
make -r -C io/wallclock/current headers
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/wallclock/current'
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/wallclock/current'
headers finished
make -r -C hal/arm/arch/current arm.inc
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/arm/arch/current'
arm-elf-gcc -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions    -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/hal/arm/arch/current -I/home/prajakta/BTSCR/ecos_working/packages/hal/arm/arch/current/src -I/home/prajakta/BTSCR/ecos_working/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S /home/prajakta/BTSCR/ecos_working/packages/hal/arm/arch/current/src/hal_mk_defs.c
fgrep .equ hal_mk_defs.tmp | sed s/#// > arm.inc
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/arm/arch/current'
make -r -C services/memalloc/common/current heapgeninc.tcl
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/services/memalloc/common/current'
arm-elf-gcc -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions    -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/tests -I. -Wp,-MD,heapgen.tmp -E /home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/heapgen.cpp -o heapgeninc.tcl
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/services/memalloc/common/current'
make -r -C services/memalloc/common/current heaps.cxx
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/services/memalloc/common/current'
XPWD=`pwd` ; cd /home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src ; sh heapgen.tcl "/home/prajakta/BTSCR/Projects/aftek_2April_install" "$XPWD"
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/services/memalloc/common/current'
make -r -C hal/common/current build
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/common/current'
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/drv_api.tmp -o src/hal_common_drv_api.o /home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src/drv_api.c
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/dbg-threads-syscall.tmp -o src/hal_common_dbg-threads-syscall.o /home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src/dbg-threads-syscall.c
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/hal_if.tmp -o src/hal_common_hal_if.o /home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src/hal_if.c
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/hal_misc.tmp -o src/hal_common_hal_misc.o /home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src/hal_misc.c
arm-elf-ar rcs /home/prajakta/BTSCR/Projects/aftek_2April_install/lib/libtarget.a src/hal_common_drv_api.o src/hal_common_dbg-threads-syscall.o src/hal_common_hal_if.o src/hal_common_hal_misc.o
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/dummy.tmp -o src/hal_common_dummy.o /home/prajakta/BTSCR/ecos_working/packages/hal/common/current/src/dummy.c
arm-elf-ar rcs /home/prajakta/BTSCR/Projects/aftek_2April_install/lib/libextras.a src/hal_common_dummy.o
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/hal/common/current'
make -r -C io/common/current build
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/common/current'
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/io/common/current -I/home/prajakta/BTSCR/ecos_working/packages/io/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/io/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/io/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/ioinit.tmp -o src/io_common_ioinit.o /home/prajakta/BTSCR/ecos_working/packages/io/common/current/src/ioinit.cxx
arm-elf-ar rcs /home/prajakta/BTSCR/Projects/aftek_2April_install/lib/libextras.a src/io_common_ioinit.o
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/io/common/current -I/home/prajakta/BTSCR/ecos_working/packages/io/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/io/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/io/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/iosys.tmp -o src/io_common_iosys.o /home/prajakta/BTSCR/ecos_working/packages/io/common/current/src/iosys.c
arm-elf-ar rcs /home/prajakta/BTSCR/Projects/aftek_2April_install/lib/libtarget.a src/io_common_iosys.o
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/common/current'
make -r -C io/serial/current build
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/serial/current'
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current/src -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current/src/common/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/common/serial.tmp -o src/common/io_serial_serial.o /home/prajakta/BTSCR/ecos_working/packages/io/serial/current/src/common/serial.c
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current/src -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current/src/common/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/common/tty.tmp -o src/common/io_serial_tty.o /home/prajakta/BTSCR/ecos_working/packages/io/serial/current/src/common/tty.c
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current/src -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/io/serial/current/src/common/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/common/haldiag.tmp -o src/common/io_serial_haldiag.o /home/prajakta/BTSCR/ecos_working/packages/io/serial/current/src/common/haldiag.c
arm-elf-ar rcs /home/prajakta/BTSCR/Projects/aftek_2April_install/lib/libextras.a src/common/io_serial_serial.o src/common/io_serial_tty.o src/common/io_serial_haldiag.o
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/io/serial/current'
make -r -C infra/current build
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/infra/current'
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/startup.tmp -o src/infra_startup.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/startup.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/prestart.tmp -o src/infra_prestart.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/prestart.cxx
/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/startup.cxx:102: warning: `
   void led_blink1()' defined but not used
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/pkgstart.tmp -o src/infra_pkgstart.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/pkgstart.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/userstart.tmp -o src/infra_userstart.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/userstart.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/dummyxxmain.tmp -o src/infra_dummyxxmain.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/dummyxxmain.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/null.tmp -o src/infra_null.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/null.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/simple.tmp -o src/infra_simple.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/simple.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/fancy.tmp -o src/infra_fancy.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/fancy.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/buffer.tmp -o src/infra_buffer.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/buffer.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/diag.tmp -o src/infra_diag.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/diag.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/tcdiag.tmp -o src/infra_tcdiag.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/tcdiag.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/memcpy.tmp -o src/infra_memcpy.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/memcpy.c
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/memset.tmp -o src/infra_memset.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/memset.c
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/delete.tmp -o src/infra_delete.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/delete.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/eprintf.tmp -o src/infra_eprintf.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/eprintf.c
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/pure.tmp -o src/infra_pure.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/pure.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/infra/current -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/infra/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/gccsupport.tmp -o src/infra_gccsupport.o /home/prajakta/BTSCR/ecos_working/packages/infra/current/src/gccsupport.cxx
arm-elf-ar rcs /home/prajakta/BTSCR/Projects/aftek_2April_install/lib/libtarget.a src/infra_startup.o src/infra_prestart.o src/infra_pkgstart.o src/infra_userstart.o src/infra_dummyxxmain.o src/infra_null.o src/infra_simple.o src/infra_fancy.o src/infra_buffer.o src/infra_diag.o src/infra_tcdiag.o src/infra_memcpy.o src/infra_memset.o src/infra_delete.o src/infra_eprintf.o src/infra_pure.o src/infra_gccsupport.o
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/infra/current'
make -r -C kernel/current build
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/kernel/current'
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/common/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/common/clock.tmp -o src/common/kernel_clock.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/common/clock.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/common/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/common/timer.tmp -o src/common/kernel_timer.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/common/timer.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/common/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/common/kapi.tmp -o src/common/kernel_kapi.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/common/kapi.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/common/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/common/thread.tmp -o src/common/kernel_thread.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/common/thread.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/common/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/common/except.tmp -o src/common/kernel_except.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/common/except.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/intr/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/intr/intr.tmp -o src/intr/kernel_intr.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/intr/intr.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sched/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/sched/bitmap.tmp -o src/sched/kernel_bitmap.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sched/bitmap.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sched/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/sched/lottery.tmp -o src/sched/kernel_lottery.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sched/lottery.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sched/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/sched/mlqueue.tmp -o src/sched/kernel_mlqueue.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sched/mlqueue.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sched/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/sched/sched.tmp -o src/sched/kernel_sched.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sched/sched.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/sync/bin_sem.tmp -o src/sync/kernel_bin_sem.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/bin_sem.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/sync/cnt_sem.tmp -o src/sync/kernel_cnt_sem.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/cnt_sem.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/sync/flag.tmp -o src/sync/kernel_flag.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/flag.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/sync/cnt_sem2.tmp -o src/sync/kernel_cnt_sem2.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/cnt_sem2.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/sync/mbox.tmp -o src/sync/kernel_mbox.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/mbox.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/sync/mutex.tmp -o src/sync/kernel_mutex.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/sync/mutex.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/debug/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/debug/dbg-thread-demux.tmp -o src/debug/kernel_dbg-thread-demux.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/debug/dbg-thread-demux.c
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/debug/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/debug/dbg_gdb.tmp -o src/debug/kernel_dbg_gdb.o /home/prajakta/BTSCR/ecos_working/packages/kernel/current/src/debug/dbg_gdb.cxx
arm-elf-ar rcs /home/prajakta/BTSCR/Projects/aftek_2April_install/lib/libtarget.a src/common/kernel_clock.o src/common/kernel_timer.o src/common/kernel_kapi.o src/common/kernel_thread.o src/common/kernel_except.o src/intr/kernel_intr.o src/sched/kernel_bitmap.o src/sched/kernel_lottery.o src/sched/kernel_mlqueue.o src/sched/kernel_sched.o src/sync/kernel_bin_sem.o src/sync/kernel_cnt_sem.o src/sync/kernel_flag.o src/sync/kernel_cnt_sem2.o src/sync/kernel_mbox.o src/sync/kernel_mutex.o src/debug/kernel_dbg-thread-demux.o src/debug/kernel_dbg_gdb.o
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/kernel/current'
make -r -C services/memalloc/common/current build
make[1]: Entering directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/services/memalloc/common/current'
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/dlmalloc.tmp -o src/services_memalloc_common_dlmalloc.o /home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/dlmalloc.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/memfixed.tmp -o src/services_memalloc_common_memfixed.o /home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/memfixed.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/memvar.tmp -o src/services_memalloc_common_memvar.o /home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/memvar.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/sepmeta.tmp -o src/services_memalloc_common_sepmeta.o /home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/sepmeta.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions   -Wp,-MD,src/debug.tmp -o src/services_memalloc_common_debug.o /home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/debug.c
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/kapi.tmp -o src/services_memalloc_common_kapi.o /home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/kapi.cxx
arm-elf-gcc -c  -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/tests -I. -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions   -Wp,-MD,src/malloc.tmp -o src/services_memalloc_common_malloc.o /home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src/malloc.cxx
arm-elf-gcc -finline-limit=7000 -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions    -I/home/prajakta/BTSCR/Projects/aftek_2April_install/include -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/src -I/home/prajakta/BTSCR/ecos_working/packages/services/memalloc/common/current/tests -I. -Wp,-MD,heaps.tmp -c -o services_memalloc_common_heaps.o heaps.cxx
make[1]: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build/services/memalloc/common/current'
heaps.cxx:19: invalid operands of types `int' and `char[]' to binary `operator-
make: Leaving directory `/home/prajakta/BTSCR/Projects/aftek_2April_build'
   '
make[1]: *** [heaps.o.d] Error 1
make: *** [build] Error 2


[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

-- 
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] Re: Problem with memory layout (.ldi file)
  2009-04-03 12:54   ` [ECOS] " Himanshu Patel
@ 2009-04-06  9:06     ` John Dallaway
  2009-04-08  9:37       ` [ECOS] " Himanshu Patel
  0 siblings, 1 reply; 5+ messages in thread
From: John Dallaway @ 2009-04-06  9:06 UTC (permalink / raw)
  To: Himanshu Patel; +Cc: eCos Discussion

Hi Himanshu

Himanshu Patel wrote:

> We tried modifying the .ldi file as per your suggestion. However we are
> getting the same error. Please find herewith output file for reference.

In that case, I suggest you:

a) Try building eCos using a completely new build tree if you have not
done this already. You can achieve this simply by saving your
configuration to a different .ecc file from within the eCos
Configuration Tool.

b) Verify that everything works when building for a similar target such
as "ea2468".

c) Compare the generated heaps.cxx files for the "ea2468" and
"aftek2458" builds.

This should give you a better idea of what is going wrong.

John Dallaway

-- 
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] RE: Problem with memory layout (.ldi file)
  2009-04-06  9:06     ` [ECOS] " John Dallaway
@ 2009-04-08  9:37       ` Himanshu Patel
  0 siblings, 0 replies; 5+ messages in thread
From: Himanshu Patel @ 2009-04-08  9:37 UTC (permalink / raw)
  To: 'John Dallaway'; +Cc: 'eCos Discussion'

[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]

Hi John,

Thanks for your help. We could solve the issue. I am sending herewith .ldi
and .h file for reference.

Regards,

Himanshu Patel

-----Original Message-----
From: John Dallaway [mailto:john@dallaway.org.uk] 
Sent: Monday, April 06, 2009 2:27 PM
To: Himanshu Patel
Cc: eCos Discussion
Subject: Re: Problem with memory layout (.ldi file)

Hi Himanshu

Himanshu Patel wrote:

> We tried modifying the .ldi file as per your suggestion. However we are
> getting the same error. Please find herewith output file for reference.

In that case, I suggest you:

a) Try building eCos using a completely new build tree if you have not
done this already. You can achieve this simply by saving your
configuration to a different .ecc file from within the eCos
Configuration Tool.

b) Verify that everything works when building for a similar target such
as "ea2468".

c) Compare the generated heaps.cxx files for the "ea2468" and
"aftek2458" builds.

This should give you a better idea of what is going wrong.

John Dallaway


[-- Attachment #2: mlt_arm_lpc24xx_aftek2458_rom.h --]
[-- Type: application/octet-stream, Size: 969 bytes --]

// eCos memory layout - Wed Apr 11 13:49:55 2001

// This is a generated file - do not edit

#ifndef __ASSEMBLER__
#include <cyg/infra/cyg_type.h>
#include <stddef.h>

#endif
#define CYGMEM_REGION_sram (0x40000000)
#define CYGMEM_REGION_sram_SIZE (0x0000FFE0)
#define CYGMEM_REGION_sram_ATTR (CYGMEM_REGION_ATTR_R | CYGMEM_REGION_ATTR_W)

#define CYGMEM_REGION_sram2 (0x7FE00000)
#define CYGMEM_REGION_sram2_SIZE (0x4000)
#define CYGMEM_REGION_sram2_ATTR (CYGMEM_REGION_ATTR_R | CYGMEM_REGION_ATTR_W)

#define CYGMEM_REGION_rom (0x00000000)
#define CYGMEM_REGION_rom_SIZE (0x00080000)
#define CYGMEM_REGION_rom_ATTR (CYGMEM_REGION_ATTR_R)


#ifndef __ASSEMBLER__
extern char CYG_LABEL_NAME (__heap1) [];
#endif
#define CYGMEM_SECTION_heap1 (CYG_LABEL_NAME (__heap1))
//#define CYGMEM_SECTION_heap1_SIZE (0x40010000 - (size_t) CYG_LABEL_NAME (__heap1) - 32)
#define CYGMEM_SECTION_heap1_SIZE (0x7FE04000 - (size_t) CYG_LABEL_NAME (__heap1) )

[-- Attachment #3: mlt_arm_lpc24xx_aftek2458_rom.ldi --]
[-- Type: application/octet-stream, Size: 899 bytes --]

#include <cyg/infra/cyg_type.inc>
#include <pkgconf/hal_arm_lpc24xx_aftek2458.h>

MEMORY
{
    rom    : ORIGIN = 0x00000000, LENGTH = 0x80000
    sram   : ORIGIN = 0x40000000, LENGTH = 0xFFE0
    sram2   : ORIGIN = 0x7FE00000, LENGTH = 0x4000
}

SECTIONS
{
    SECTIONS_BEGIN
    SECTION_rom_vectors (rom, 0x00000000, LMA_EQ_VMA)
    SECTION_text (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fini (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata1 (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_gcc_except_table (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fixed_vectors (sram, 0x40000400, LMA_EQ_VMA)
    SECTION_data (sram2, 0x7FE00000, FOLLOWING (.gcc_except_table))
    SECTION_bss (sram, 0x40000540, LMA_EQ_VMA)
    CYG_LABEL_DEFN(__heap1) = 0x7FE01800;
    SECTIONS_END
}



[-- Attachment #4: Type: text/plain, Size: 148 bytes --]

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

end of thread, other threads:[~2009-04-08  8:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-03  6:42 [ECOS] Problem with memory layout (.ldi file) Himanshu Patel
2009-04-03  7:17 ` [ECOS] " John Dallaway
2009-04-03 12:54   ` [ECOS] " Himanshu Patel
2009-04-06  9:06     ` [ECOS] " John Dallaway
2009-04-08  9:37       ` [ECOS] " Himanshu Patel

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