network boot

Eric Norum eric.norum at
Wed Sep 26 14:42:54 UTC 2001

Davide Del Vento wrote:
> Hi all.
> I would like to configure RTMES (on a PC104 and with a 3c509 Ethernet card)
> to obtain a boot via network (NFS? FTP?). I found something on this archive,
> eg. the threads:
> but I miss something...
> Could someone give me some suggestions?

Chris is the expert on this, but I'll throw in my $0.02 anyhow.

I use etherboot to boot my PC targets.  I picked up the bootstrap PROM
image from  Here's the script I use to
produce a netboot image from the xxxxxx.exe produced by the RTEMS
application makefiles.


set -e

case "$#" in
	1)	;;
	*)	echo "Usage: $0 file.exe" >&2 ; exit 1 ;;
n=`basename "$1" .exe`

trap 'rm -f /tmp/jnk$$.bin ; exit $code' 0 1 2 3

i386-rtems-objcopy -O binary "$1" /tmp/jnk$$.bin
/opt/rtems/i386-rtems/pc386/build-tools/bin2boot -v "$" 0x00097E00
/opt/rtems/i386-rtems/pc386/lib/start16.bin 0x00097C00 0 /tmp/jnk$$.bin
0x00100000 0


I put the resulting image on my TFTP server.  The PC starts
up, gets its IP information from my DHCP server and downloads the
executable using TFTP.
Eric Norum                                 eric.norum at
Department of Electrical Engineering       Phone: (306) 966-5394
University of Saskatchewan                 FAX:   (306) 966-5407
Saskatoon, Canada.

More information about the users mailing list