Home | History | Annotate | Download | only in pxeboot
History log of /src/sys/arch/i386/stand/pxeboot/devopen.c
RevisionDateAuthorComments
 1.9  26-Oct-2009  cegger kill extra whitespaces
reviewed by tsutsui@
 1.8  18-Mar-2009  cegger bcopy -> memcpy
 1.7  11-Dec-2005  christos branches: 1.7.78; 1.7.86; 1.7.92;
merge ktrace-lwp.
 1.6  28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.5  12-Nov-2003  drochner Uhm - the last change broke everything but very simple setups.
(it only allowed to boot an nfs /netbsd automatically)
To make it work for people who can't tell the DHCP server to pass
the right kernel file to pxeboot, without losing flexibility for
people who can, do the following:
Use the filename given by the DHCP server if it contains a ":". A ":"
was already used to seperate filesystem and filename, so we don't
lose anything. Otoh, a path to pxeboot usually doesn't contain a ":",
so it should still work if we got the old pxeboot filename again.
 1.4  05-Nov-2003  mycroft So, on other platforms we use the BOOTP/DHCP file name for the boot program
and use a default file name of "netbsd" for the kernel. Do the same thing
here, as it hardly makes sense any other way.
 1.3  11-Mar-2003  drochner branches: 1.3.2;
If we get passed a filename (from the command line or default "netbsd"),
pass it to the BOOTP server in the "filename" field.
(as the "netboot" bootROMs already did)
So the user can easily switch between different kernels/configurations.
 1.2  17-Feb-2002  thorpej branches: 1.2.2; 1.2.4; 1.2.16;
Pay attention to the file name provided by the DHCP server, using
it rather than the default of "netbsd" if it's in the reply.
 1.1  16-Feb-2002  thorpej Add a PXE boot loader. PXE interface code is derived by code
written by Alfred Perlstein, Paul Saab, John Baldwin for FreeBSD.

Still needs some work, but this will load a kernel on a Soekris net4501.

Many thanks to Frank van der Linden and his simulator wizardry for
helping me debug the low-level startup code.
 1.2.16.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.16.1  17-Feb-2002  jdolecek file devopen.c was added on branch kqueue on 2002-06-23 17:37:35 +0000
 1.2.4.2  28-Feb-2002  nathanw Catch up to -current.
 1.2.4.1  17-Feb-2002  nathanw file devopen.c was added on branch nathanw_sa on 2002-02-28 04:10:30 +0000
 1.2.2.2  17-Feb-2002  thorpej Pay attention to the file name provided by the DHCP server, using
it rather than the default of "netbsd" if it's in the reply.
 1.2.2.1  17-Feb-2002  thorpej file devopen.c was added on branch sommerfeld_i386mp_1 on 2002-02-17 20:14:09 +0000
 1.3.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1  03-Aug-2004  skrll Sync with HEAD
 1.7.92.2  01-Nov-2009  jym Sync with HEAD.
 1.7.92.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.7.86.1  28-Apr-2009  skrll Sync with HEAD.
 1.7.78.2  11-Mar-2010  yamt sync with head
 1.7.78.1  04-May-2009  yamt sync with head.

RSS XML Feed