This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Test problems


Hi all,
I'm trying to develop the "hello word" application on our board. Now I want
to pass the test but I have some problems. I think the ldi file is right
(see below)

LDi file:
MEMORY
{
    ram  : ORIGIN = 0xA0000000, LENGTH = 0x00800000
    rom  : ORIGIN = 0x00000000, LENGTH = 0x00400000
}

SECTIONS
{
    SECTIONS_BEGIN
    SECTION_rom_vectors (rom, 0x00000000, LMA_EQ_VMA)
    SECTION_text (rom, ALIGN (0x1), 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 (ram, 0xA0000020, LMA_EQ_VMA)
    SECTION_data (ram, ALIGN (0x4),  LMA_EQ_VMA)
    SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA)
    CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
    SECTIONS_END
}


When I try to make the test I have the same Errors. What is the problem?

ERROR results:

xscale-elf-gcc -L/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/lib
-Ttarget.ld -o
/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/tests/hal/common/curr
ent/tests/context tests/context.o -Wl,--gc-sections -Wl,-static -g -O2
-nostdlib -Wl,-Map,mapFile.map 
/usr/lib/gcc-lib/xscale-elf/2.96.1/../../../../xscale-elf/bin/ld: address
0x3f of
/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/tests/hal/common/curr
ent/tests/context.exe section .rom_vectors is not within region ram
/usr/lib/gcc-lib/xscale-elf/2.96.1/../../../../xscale-elf/bin/ld: address
0x74a0 of
/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/tests/hal/common/curr
ent/tests/context.exe section .text is not within region ram
/usr/lib/gcc-lib/xscale-elf/2.96.1/../../../../xscale-elf/bin/ld: address
0x74a0 of
/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/tests/hal/common/curr
ent/tests/context.exe section .fini is not within region ram
/usr/lib/gcc-lib/xscale-elf/2.96.1/../../../../xscale-elf/bin/ld: address
0x7919 of
/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/tests/hal/common/curr
ent/tests/context.exe section .rodata is not within region ram
/usr/lib/gcc-lib/xscale-elf/2.96.1/../../../../xscale-elf/bin/ld: address
0x791c of
/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/tests/hal/common/curr
ent/tests/context.exe section .rodata1 is not within region ram
/usr/lib/gcc-lib/xscale-elf/2.96.1/../../../../xscale-elf/bin/ld: address
0x791c of
/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/tests/hal/common/curr
ent/tests/context.exe section .fixup is not within region ram
/usr/lib/gcc-lib/xscale-elf/2.96.1/../../../../xscale-elf/bin/ld: address
0x791c of
/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/tests/hal/common/curr
ent/tests/context.exe section .gcc_except_table is not within region ram
/usr/lib/gcc-lib/xscale-elf/2.96.1/../../../../xscale-elf/bin/ld: address
0x8080 of
/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/tests/hal/common/curr
ent/tests/context.exe section .data is not within region ram
/usr/lib/gcc-lib/xscale-elf/2.96.1/../../../../xscale-elf/bin/ld: address
0xe288 of
/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/tests/hal/common/curr
ent/tests/context.exe section .bss is not within region ram
/usr/lib/gcc-lib/xscale-elf/2.96.1/../../../../xscale-elf/bin/ld:
/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_install/tests/hal/common/curr
ent/tests/context.exe: Not enough room for program headers, try linking with
-N
make[1]: Leaving directory
`/ecos-d/SOURCE~1/eCos/JULIOP~1/TEMPLA~1/dspv20_build/hal/common/current'
/usr/lib/gcc-lib/xscale-elf/2.96.1/../../../../xscale-elf/bin/ld: final link
failed: Bad value


Best regards

Julio C Díaz Díaz-Chirón
Panel Sistemas Informaticos


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]