This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: AT91EB40 networking problem



--- Jesper Skov <jskov@redhat.com> wrote:
> >>>>> "Bryan" == Bryan Mok <mkyui@yahoo.com> writes:
> 
> Bryan> make: Entering directory
> Bryan>
> `/opt/ecos/ecos-1.3.1/eb40-net/net/tcpip/current'
> arm-elf-gcc
> Bryan> -mcpu=arm7tdmi -mno-short-load-words
> -Wl,--gc-sections
> Bryan> -Wl,-static -g -nostdlib
> Bryan> -L/opt/ecos/ecos-1.3.1/eb40-net/install/lib
> -Ttarget.ld -o
> Bryan>
>
/opt/ecos/ecos-1.3.1/eb40-net/install/tests/net/tcpip/current/tests/ping_lo_test
> Bryan> tests/ping_lo_test.o
> /tools/H-i686-pc-linux-gnu/arm-elf/bin/ld:
> Bryan> address 0x20a113c of
> Bryan>
>
/opt/ecos/ecos-1.3.1/eb40-net/install/tests/net/tcpip/current/tests/ping_lo_test
> 
> Bryan> section .bss is not within region ram
> collect2: ld returned 1
> Bryan> exit status make: ***
> Bryan>
>
[/opt/ecos/ecos-1.3.1/eb40-net/install/tests/net/tcpip/current/tests/ping_lo_test]
> Bryan> Error 1 make: Leaving directory
> Bryan>
> `/opt/ecos/ecos-1.3.1/eb40-net/net/tcpip/current'
> 
> Bryan> 	What should I do? Should I modify the memory
> layout so that
> Bryan> section .bss become within region ram? If
> yes, which file
> Bryan> should I modify?
> 
> Problem appears to be that the test is too big for
> the available
> memory. Look for the RAM startup .ldi file and make
> sure the memory
> size is correct. If it is, there's little you can
> do, other than try
> to reduce the size of the test.
> 
> Jesper


Hi,

I have checked the .ldi file. The memory size is
correct there. And I also tried to compile a "hello
world" test. It fails again with the same error :
"section .bss is not within region ram collect2: ld
returned 1". 
Is the problem of the starting address? Or does the
tcpip stack not available for the AT91EB40 platform
yet?

Bryan

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com


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