Subject: PXE boot on WRAP
To: None <tech-net@netbsd.org>
From: Nino Dehne <ndehne@gmail.com>
List: tech-net
Date: 06/19/2005 05:03:34
Hi,

I decided to toy around with WRAP's PXE booting capability.

WRAP BIOS 1.08 contains

ROM segment 0xe000 length 0x8000 reloc 0x00020000
Etherboot 5.3.12 (GPL) http://etherboot.org
Drivers: NATSEMI   Images: NBI PXE   Exports: PXE
Relocating _text from: [00089370,0009b230) to [07eee140,07f00000)
Boot from (N)etwork (D)isk or (Q)uit?

On a side note, has anyone succeeded in upgrading the embedded
Etherboot to the recent 5.4.0? The procedure is quite simple according
to the readme.txt in the WRAP BIOS archive. Generating a "Binary ROM
Image(.zrom)" on http://www.rom-o-matic.org/ with the provided options,
followed by cat(1)ing together some binaries and flashing the result
to the board should suffice. However, for me it doesn't work in that
I never get the Etherboot banner, whether or not I enable Etherboot
in the WRAP BIOS.

Anyway, back to NetBSD.

I'm using netbsd-3 with a custom patch to turn gateA20() in
sys/arch/i386/stand/lib/gatea20.c into a no-op. Otherwise the
boot loader hangs.

Booting looks fine at first:

Probing pci nic...
[dp83815]
natsemi_probe: MAC addr [...] at ioaddr 0X1000
natsemi_probe: Vendor:0X100B Device:0X0020
dp83815: Transceiver default autoneg. enabled, advertise 100 full duplex.
dp83815: Transceiver status 7869 advertising 05E1
dp83815: Setting full-duplex based on negotiated link capability.
Searching for server (DHCP)...
Me: 192.168.1.254, Server: 192.168.1.1, Gateway 192.168.1.254
Loading 192.168.1.1:pxeboot_ia32.bin (PXE)done


>> NetBSD/i386 PXE Boot, Revision 1.1
>> ([...], Sat Jun 18 05:31:22 CEST 2005)
>> Memory: 614/128824 k
Press return to boot now, any other key for boot menu
Starting in 0
PXE BIOS Version 2.1

At this point it hangs. Note that I get the same result whether I
use pxeboot_ia32.bin or pxeboot_ia32_com0.bin.

Somehow I'm suspecting Etherboot's PXE support since in the past, there
was always a distinction between booting via Etherboot vs. booting via
PXE, for example with GRUB. PXE must be new to Etherboot, although I
must confess I never used it before. I rather used PXE when available.

Just asking if anyone with more debugging skills maybe had the same
problem since I'm at a loss here.

Thanks

ND