[ECOS] AT91EB40 networking problem

Bryan Mok mkyui@yahoo.com
Fri Sep 21 00:31:00 GMT 2001


Hi all,
	I am working on AT91EB40 with AT91R40807 processor. I
have downloaded the pre-built binary in web and
followed the Redboot's user guide to install Redboot
to the board. Then I have built eCos and compiled
"hello world" testing program. It runs very well. 
	Now I am working on the communication programming for
the same board. I have add the TCP/IP
packet(net-1.0b1.epk) to eCos. I can build the eCos
from net template without error. But I can't build the
network testing program. The following is the commands
that I used to build the eCos and the testing program.

% ecosconfig new eb40 net
% ecosconfig tree
% make
% make -C net/tcpip/current tests

make: Entering directory
`/opt/ecos/ecos-1.3.1/eb40-net/net/tcpip/current'
arm-elf-gcc -mcpu=arm7tdmi -mno-short-load-words
-Wl,--gc-sections -Wl,-static -g -nostdlib
-L/opt/ecos/ecos-1.3.1/eb40-net/install/lib
-Ttarget.ld -o
/opt/ecos/ecos-1.3.1/eb40-net/install/tests/net/tcpip/current/tests/ping_lo_test
tests/ping_lo_test.o
/tools/H-i686-pc-linux-gnu/arm-elf/bin/ld: address
0x20a113c of
/opt/ecos/ecos-1.3.1/eb40-net/install/tests/net/tcpip/current/tests/ping_lo_test

section .bss is not within region ram
collect2: ld returned 1 exit status
make: ***
[/opt/ecos/ecos-1.3.1/eb40-net/install/tests/net/tcpip/current/tests/ping_lo_test]
Error 1
make: Leaving directory
`/opt/ecos/ecos-1.3.1/eb40-net/net/tcpip/current' 

	What should I do? Should I modify the memory layout
so that section .bss become within region ram? If yes,
which file should I modify?

	Thx for any help!

Regards,
  Bryan Mok

__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/



More information about the Ecos-discuss mailing list