[ECOS] linux client---synthetic target ecos application

Andrew Lunn andrew@lunn.ch
Tue Mar 8 20:50:00 GMT 2005


On Tue, Mar 08, 2005 at 11:55:36PM +0530, B.E.Comp Project wrote:
> Hello,
> 
> 
> 1)
> 
> i need to test a daemon running on the synthetic target, using
> standard linux client.
> 
> What should be the addresses set to in the configtool:
> 
> Basic networking framework:
> 	initailization options for eth0:
> 	   	 address setups for eth0:
> 		 		 ip addr for eth0  ?
> 				 network mask      ?
> 				 broadcast addr    ?
> 				 gateway/router ip ?
> 				 server ip         ?		 
> 

You probably want to read

http://ecos.sourceware.org/docs-latest/ref/synth-running.html

and then talk to your system administator to help you set up the
networking.
 
> 2)
> 
> secondly when i choose a template "net" for hardware: "i386 PC target
> with RTL 8139 ethernet"
> with floppy startup i getr following error:
> 
> 
> [root@localhost mytest]# i386-elf-gcc -o trial
> -I/home/ron/ecos-work/new_net_floppy/mmm_install/include test.c
> yytest.c -L/home/ron/ecos-work/new_net_floppy/mmm_install/lib
> -Ttarget.ld -nostdlib
> 
> /opt/ecos/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/../../../../i386-elf/bin/ld:
> address 0xa4f58 of trial section .bss is not within region ram
> collect2: ld returned 1 exit status
> [root@localhost mytest]#
> 
> what could this be?

You have run out of RAM. The floppy target can only access the first
640kBytes of memory becasue of the way it starts up. You might want to
change to grub which the current linker file allows images of upto
16Mbytes.

        Andrew

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



More information about the Ecos-discuss mailing list