From owner-freebsd-hackers Wed Jan 31 08:58:34 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA16277 for hackers-outgoing; Wed, 31 Jan 1996 08:58:34 -0800 (PST) Received: from srv1.thuntek.net (root@[206.206.98.20]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA16271 for ; Wed, 31 Jan 1996 08:58:32 -0800 (PST) Received: from scott.cr.usgs.gov (aslpca.cr.usgs.gov [136.177.121.30]) by srv1.thuntek.net (8.6.12/8.6.12) with SMTP id JAA12541 for ; Wed, 31 Jan 1996 09:59:59 -0700 Message-Id: <2.2.32.19960131170652.0114d7a0@thuntek.net> X-Sender: thor@thuntek.net X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 31 Jan 1996 10:06:52 -0700 To: hackers@freebsd.org From: Scott Halbert Subject: NE2000 Boot ROMs Sender: owner-hackers@freebsd.org Precedence: bulk What's the deal with setting up a NE2000 for a FreeBSD netboot PROM? Is there some special options that need to be set in the Makefile or wierd jumpers to set on the card? I've gotten this to work fine on a 3C509. I've burned several proms of different sizes. The rom code is about 13k so it won't fit on a 8k prom. My last attempts were to a 27c256 32k prom. I set the ROMSIZE in the makefile to 32768. Most of my NE2000 cards are configured with a floppy--no jumpers. Some cards permit the romsizem to be set, some do not. I have tried it with different rom base addresses. Mostly D000. The IO base in the makefile matches what is set for the card. It never seems to run the code in the prom at all. It just asks me for a boot floppy as if it never saw the prom. Here is the beginning of the makefile for ns8390.rom: PROG= nb8390.com nb3c509.com nb8390.rom nb3c509.rom # Order is very important on the SRCS line for this prog SRCS= start2.S main.c misc.c bootmenu.c rpc.c BINDIR= /usr/mdec BINMODE= 555 CFLAGS= -O2 -DNFS -DROMSIZE=${ROMSIZE} -DRELOC=${RELOCADDR} NS8390= -DINCLUDE_NE -DNE_BASE=0x280 CLEANFILES+= netboot.com CLEANFILES+= makerom start2.ro 3c509.o ns8390.o LDFLAGS+= -N -T ${RELOCADDR} -e _start -nostdlib NOSHARED= YES NOMAN= STRIP= ROMSIZE=32768 RELOCADDR=0x90000 Thanks... ---Scott Halbert Thunder Network Technologies