jdolecek
ed2badbd21
make vers.c depend on ${SOURCES} and remove .PHONY tag for it, so that it
...
would only be regenerated if any of the input files changed
2002-09-02 07:33:11 +00:00
lukem
fb7bc8541e
arch/*/stand stuff should be LDSTATIC=-static and not LDSTATIC?=-static.
...
It doesn't make sense to have standalone stuff dynamically linked just
because an end-user uses LDSTATIC="".
2002-08-27 08:53:14 +00:00
thorpej
4b8b317d4b
There are other systems besides the PS/2 L40 that enable A20
...
via the Configuration Port, so restructure the code a little
to allow for them, and list at least one other system that does
(anything based on AMD Elan SC520).
XXX We don't actually check for Elan SC520 yet.
2002-08-12 14:27:34 +00:00
grant
6742cb1812
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:36:17 +00:00
pooka
c558b464ba
Assign COPTS instead of adding to it, avoids situation where -mi386
...
is mixed with -march=something_incompatible
suggested by thorpej
2002-06-27 20:44:08 +00:00
gmcgarry
02ca40e27f
Make this compile with NETIF_DEBUG.
2002-06-21 23:18:45 +00:00
itojun
937b671271
use exit(int), not exit(void), consistently - even if the arg has no meaning.
2002-06-01 11:40:31 +00:00
thorpej
28afbb384c
Build with -ffreestanding.
2002-05-31 18:26:26 +00:00
itohy
d2a97e2196
_C_LABEL() police
2002-05-10 23:21:17 +00:00
tv
43df8ed28f
Add host-OS tools for i386, which end up in the "installation/misc"
...
directory of the release tree.
2002-04-12 23:11:58 +00:00
kanaoka
4081bcf395
Add (missing)pushl/popl for %edi in ENTRY(pxecall_pxenv).
2002-03-27 17:24:22 +00:00
kanaoka
e42f3e3081
Change scan step from 16 to 2, when pxe_init() check the presence of PXE.
...
This change improve checking the presence of PXE.
2002-03-26 08:02:05 +00:00
gmcgarry
3ed7e33e1d
Add commented-out default definitions for BASEREG and BASEMEM.
2002-03-23 03:45:04 +00:00
thorpej
c0d66944db
Make sure we override any optimization options specified by the
...
user; the boot blocks don't work when built with e.g. -mcpu=i486
(probably due to how branches are aligned in that case, causing
segment boundaries to be crossed).
2002-03-19 22:03:37 +00:00
thorpej
ca1294612c
Remove some globals defined in libsa.
2002-02-24 01:51:04 +00:00
thorpej
f777763ab3
* Rename the pxeboot binary from "pxeboot" to "pxeboot_ia32", since
...
there are other architectures (e.g. IA64) which also use PXE.
* Get the console right in pxeboot, from Andreas Gustafsson.
* Add a "com0" version of pxeboot, to address the same issue that
biosboot_com0 addresses.
2002-02-20 03:00:27 +00:00
thorpej
825d4ec152
Increase the reset delay in ex_reset() as per dev/ic/elinkxl.c
...
Pointed out by Love <lha@stacken.kth.se>
2002-02-19 20:38:28 +00:00
thorpej
dfeaa108c4
Add some comments to make some #if/#else/#endif's more clear.
2002-02-19 20:18:36 +00:00
thorpej
8545d4115b
Put the netif driver name in the version banner.
2002-02-19 19:55:01 +00:00
thorpej
1ecb20dd3b
Move the individual NIC ROM Makefiles into a subdirectories of
...
netboot. Requested by Christos.
2002-02-19 19:49:37 +00:00
thorpej
bf6823b1b5
Don't ask bootp() to put a "PXEClient" Vendor Class Identifier option
...
in the DHCP request.
2002-02-18 17:01:46 +00:00
thorpej
77fa5a7974
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.
2002-02-17 20:14:08 +00:00
thorpej
76ea45942b
Cleanup of i386 bootloader building:
...
* Add separate directories for the individual netboot ROMs and
always build them.
* Each bootloader Makefile explicitly specifies the start file
and link address it wishes to use.
* genprom becomes a proper host program.
* Make sure all generated files get cleaned up.
* Set BINDIR in Makefile.inc
* Add compressed image support to pxeboot.
* Make pxeboot use the default serial console speed (9600).
2002-02-17 20:03:05 +00:00
thorpej
45f23105c2
Make this compile again (update for changes to register bit names).
2002-02-17 19:49:58 +00:00
thorpej
bb1c9c42fa
Update for new location of the WD80x3 register description.
2002-02-17 19:47:41 +00:00
thorpej
49cec2b141
* Remove a debug-breakpoint that is no longer needed.
...
* Move the pxe_init() call to when we open the virtual netif.
* Make sure to call pxe_fini() when we close the virtual netif.
2002-02-16 16:52:10 +00:00
thorpej
0aec9f6508
Need private copies of these files for now.
2002-02-16 16:26:23 +00:00
thorpej
8bb2be2987
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.
2002-02-16 03:37:39 +00:00
gson
fe2fc5699c
Fix the bcea redefinition issue in a different way: instead
...
of removing the duplicate variables, make sure that any duplicate
variable that has an initial value in libsa also has an initial
value here; this keeps the linker from pulling in the libsa
definition.
2002-02-02 18:53:12 +00:00
gson
11111119ae
Make receiving packets work again after struct fxp_rfa grew.
2002-01-24 02:52:15 +00:00
gson
d4da6dc52d
Debug printf within #if 0..#endif did not compile if enabled.
2002-01-24 02:44:11 +00:00
gson
69ba1e26ce
Remove duplicate definition of global variable bcea which caused
...
linking to fail, along with other globals already
defined in lib/sa/globals.c
2002-01-24 02:37:53 +00:00
lukem
b0b0a32ad7
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
...
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
jmc
5ac54229c9
Don't make the symlinks on clean rules as well as obj rules. Breaks r/o source
...
trees that haven't gotten to the make obj recursion part of make build
otherwise.
2001-11-22 00:14:20 +00:00
dillo
3bad9b1f33
Repeat James Chacon's fix from sys/lib/lib{kern,sa,z}:
...
Don't make clean and cleandir depend on the lib subdir.
Just check for it's existance before running the submake.
This makes it possible to run a make build (which runs
cleandir before make obj) in a r/o source tree.
2001-11-22 00:04:55 +00:00
tv
48c09b6243
Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
...
include paths.
2001-11-14 23:01:13 +00:00
scw
45e7238a02
Bump the version numbers of all bootloaders which use loadfile_elfXX() now
...
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
yamt
5fa0dfa754
use biosdelay instead of adhoc loop.
2001-11-07 08:46:24 +00:00
yamt
7a6b533ba6
add btinfo stuff.
2001-11-03 12:02:28 +00:00
yamt
375b263ebc
- remove debug printf.
...
- reset the board in EtherStop.
2001-11-03 09:36:47 +00:00
yamt
b7574e5c56
add settings for ne2000.
...
(commented out)
2001-11-01 09:45:03 +00:00
yamt
3492b7a4c6
add ne2000 standalone driver.
2001-11-01 09:37:17 +00:00
thorpej
66f972ab70
Need byteorder.c for loadfile_elf*.c
2001-10-31 21:39:02 +00:00
thorpej
4810d73020
Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
...
objects.
2001-10-31 01:51:42 +00:00
jmc
60263432a6
Add the fact that SRCS depends on machine. This way the link is always created
...
Otherwise trying to do make installboot.o will fail
2001-10-04 04:15:17 +00:00
jmc
806aee01eb
Don't force CFLAGS to -g for all builds.
2001-09-30 23:02:25 +00:00
tls
9b9300274d
GCC 2.95 generates significantly larger code with -O2 than our old compiler did; this can cause the second-stage bootblock to exceed the number of blocks that fit in the list in the first-stage bootblock. I thought we used to explicitly set -Os in here; anyway, with this change, we do now!
2001-09-23 23:43:29 +00:00
tv
ab11c169b5
objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
...
now in bsd.own.mk).
2001-09-22 03:34:17 +00:00
wiz
d0b8cdc6a9
When using va_list, use vprintf, not printf.
2001-09-20 22:11:30 +00:00