lukem
3e8e744696
getopt returns -1 not EOF
1997-11-01 06:49:14 +00:00
cjs
bcced1d9be
Check return values from lseek; use SEEK_SET instead of 0.
1997-10-18 22:27:46 +00:00
drochner
969e506de4
Oops, last change made "make depend" work incompletely. Don't define
...
a "depend" rule here.
1997-09-06 14:26:47 +00:00
drochner
281398581a
-Wall fixes
1997-09-06 14:08:27 +00:00
drochner
3b191b29c0
enable -Wall
1997-09-06 14:07:57 +00:00
drochner
be8a78e9b5
-use DHCP extensions in bootp()
...
-enable -Wall
1997-09-06 14:06:53 +00:00
drochner
80d9738db8
-Wall fixes
1997-09-06 14:03:55 +00:00
drochner
d99aa8efc0
Collect prototypes here.
1997-09-06 14:02:51 +00:00
drochner
7546d66094
Make sure the <machine/*.h> includes come from current kernel sources,
...
not from installed userland.
1997-09-06 14:02:13 +00:00
thorpej
7df7a43ce7
When loading a symbol section, make sure it is aligned.
1997-09-05 21:50:34 +00:00
thorpej
ba8becebfc
installbood_cd9660 no longer exists.
1997-09-05 20:20:17 +00:00
cgd
9d532f482c
don't forget to set hwrpbsize to zero explicitly
1997-08-13 20:49:56 +00:00
cgd
d86134ca68
fill in the new pointers in the bootinfo_v1 structure.
1997-07-25 07:00:42 +00:00
thorpej
8e341ad358
If loading an Elf kernel, load the symbol table immediately after
...
the kernel image.
1997-07-25 00:09:01 +00:00
thorpej
f65454b2a6
Set up a version 1 bootinfo for the kernel.
1997-07-25 00:07:56 +00:00
drochner
bdb232d2b6
Don't use <lib/libsa/if_ether.h> anymore. This was a copy of the
...
old (before ARP changes) <netinet/if_ether.h>, intended for
temporary use.
1997-07-22 17:41:01 +00:00
mrg
f66658c8e0
move man pages into share/man.
1997-06-22 05:05:17 +00:00
cjs
ecada6375b
bzero() wants pointers, not ints, for its first arg.
1997-06-20 07:06:43 +00:00
mycroft
ad19544997
Remove bogus .PATHs.
1997-05-18 12:14:55 +00:00
mycroft
cc4a1553a1
Eliminate bogus redefinitions of standard targets.
1997-05-09 07:50:03 +00:00
thorpej
6a2fc99857
STRIP -> STRIPFLAG
1997-04-17 07:27:46 +00:00
cgd
ad61973f36
add installboot_cd9660, which is installboot(8) modified to place a boot
...
block (and faked-up disklabel) into an ISO-9660 file system image.
1997-04-10 23:03:38 +00:00
cgd
562fa9b97d
clean up NetBSD RCS ID strings
1997-04-06 08:39:37 +00:00
cgd
044c6288bf
slightly relax the block size checks; they were a bit to paranoid
1997-04-01 17:27:33 +00:00
cgd
776b6dcbca
hack to fake up disklabel
1997-04-01 17:23:04 +00:00
cgd
c944e200eb
fix up new-arp goofups
1997-03-18 07:27:58 +00:00
is
07b064e02e
New ARP system, supports IPv4 over any hardware link.
...
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
cgd
3192bd314f
turn Alpha's ELF_TOOLCHAIN checks to ECOFF_TOOLCHAIN checks
1997-02-23 20:42:24 +00:00
cgd
90466a7b42
protect against multiple inclusion, make HEAP_LIMIT define libsa-specific
1997-02-16 21:27:06 +00:00
cgd
00c2c62911
use strerror() to print errors, rather than just printing error numbers
1997-01-25 01:06:30 +00:00
cgd
21ad990583
reorganize Alpha boot block sources: put common sources in a 'common'
...
directory (so they don't clutter up the arch/alpha/stand), and put
not-common sources in programs' directories.
1997-01-24 01:52:35 +00:00
cgd
ce93ba490a
kill unnecessary newline
1997-01-24 01:46:46 +00:00
cgd
1fca013b1e
add support for reading gzipped kernels.
1997-01-23 23:10:34 +00:00
cgd
1c88f56c26
update for new kernel library build process
1997-01-23 22:31:32 +00:00
cgd
7878fdb4f2
add a manual page for setnetbootinfo
1997-01-20 22:31:09 +00:00
cgd
58cde8b551
update date to date of last real modification
1997-01-20 20:37:09 +00:00
cgd
0512081ce4
bump version
1997-01-18 01:59:32 +00:00
cgd
d3bfc848a9
if a file name is given (i.e. BOOTED_FILE) is set, boot only that file,
...
but if not then try to boot "netbsd", "netbsd.bak", "netbsd.old", and
"onetbsd" (in that order) until one is found or until the list of names
is exhausted.
1997-01-18 01:58:32 +00:00
cgd
6d5dc4aba9
kill bogux printf
1997-01-18 01:56:09 +00:00
cgd
b9b13b5fb1
add cd9660 file system ops to the file system ops table
1997-01-18 01:51:58 +00:00
cgd
f6409bfad4
printfs newline cosmetics
1997-01-18 01:49:29 +00:00
cgd
d5260695b3
move an 'int debug;' into boot.c (it was the only diff between boot.c and
...
netboot.c), and nuke netboot.c (using boot.c instead for network boot blocks).
1997-01-18 00:59:46 +00:00
cgd
d3f4f54676
program to hard code an ethernet address into a network boot.
1997-01-18 00:50:29 +00:00
cgd
d1c39ec928
note that enet address can be hard-coded
1997-01-18 00:37:13 +00:00
cgd
ad56529a58
make 'make depend' not fall over here. it doesn't work right, either, though.
1997-01-18 00:35:23 +00:00
cgd
b1369cb79d
add setnetbootinfo to list of subdirs
1997-01-18 00:34:39 +00:00
cgd
e2bd92c0e6
allow netboot ethernet address to be hard-coded into binary so that
...
machines with old firmware which doesn't pass it in the boot device
can work. Assume that if the ethernet address isn't passed in, it
uses the old (dain-bramaged) 'read' interface works on my 3000/300LX.
1997-01-18 00:34:01 +00:00
cgd
abcd6f59bf
remove a kludge which was breaking multiple opens/closes of the disk
1997-01-18 00:31:48 +00:00
cgd
b6d17629c1
update for bbinfo padding changes
1997-01-18 00:28:59 +00:00
cgd
7db6ff8449
move the sync() calls to the correct place...
1997-01-18 00:27:50 +00:00
cgd
8523a4deff
add padding to structures for future expansion. add a netbbinfo
...
structure to allow netboot information to be hard-coded in network
boot blocks, so that they can be made to work even on systems with
firmware which doesn't support the new "ethernet address in boot device"
convention.
1997-01-18 00:24:15 +00:00
cgd
7e7bb6e04d
clean up a bit. include libraries more carefully, so that when compressed
...
read code is integrated into libsa things will work properly.
1997-01-17 21:14:31 +00:00
cgd
71db072b94
update copyright
1997-01-16 20:41:54 +00:00
cgd
1a2b5aa691
clean up, deal with secondary bootstrap programs not on 'a' partition
...
'a' partition not starting at 0.
1997-01-16 20:40:05 +00:00
cgd
274cf3fbf9
move the secondary bootstrap down (to 0x20004000), and add a HEAP_LIMIT
...
so that we don't exhaust our bootstrap address space (when using the new,
not yet checked in, memory allocator).
1997-01-16 07:50:34 +00:00
cgd
cfe73ab59b
clean up
1997-01-16 03:00:22 +00:00
cgd
3fb0a713f5
seriously clean up makefiles. use libsa/libkern/libz as appropriate,
...
and don't build the various sources into objs locally by specifying
them directly in the Makefiles.
1997-01-16 02:59:08 +00:00
cgd
653e0e50fe
more carefully include libkern and libsa headers
1997-01-16 01:21:36 +00:00
cgd
904a2dc374
link installboot statically, and include libutil
1997-01-16 01:20:24 +00:00
cgd
f9d0b7e37f
fix up field names for recent rpb.h changes
1996-11-25 16:18:16 +00:00
cgd
89e06b9449
build manual page and install it in the right place.
1996-11-06 23:09:13 +00:00
cgd
050d4ebd12
NetBSD/alpha installboot manual page. Copied from the sparc and lightly
...
tweaked by Curt Sampson <cjs@portal.ca>, then largely redone by me.
1996-11-06 23:07:55 +00:00
thorpej
150c33e60b
Use ${INSTALL}.
1996-10-18 05:55:26 +00:00
cgd
8cab2f173f
update for changes in asm.h
1996-10-17 02:50:38 +00:00
christos
8d9699acda
backout previous kprintf change
1996-10-13 02:59:55 +00:00
christos
946833855f
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:51:21 +00:00
cgd
c11ba5f711
key on ELF_TOOLCHAIN being defined (presumably in /etc/mk.conf)
...
to signal that the build is happening on a machine with an ELF
toolchain. This is temporary, until a better toolchain-recognition
scheme is worked out.
1996-10-06 18:32:22 +00:00
cgd
000f32225c
bump the version
1996-10-02 21:26:17 +00:00
cgd
f0e79e47bf
spaces/tabs cleanup
1996-10-02 21:18:45 +00:00
cgd
0783bd2801
clean and polish a bit
1996-10-02 21:06:56 +00:00
cgd
c54f6f32d9
update for ELF toolchain support
1996-09-23 04:32:59 +00:00
cgd
a47aa08a3e
define ELFSIZE to 64, for exec_elf.h
1996-09-23 04:32:44 +00:00
cgd
3bd3e6250d
checkpoint current development, add ELF toolchain build support
1996-09-23 04:30:56 +00:00
cgd
6048292ba8
add -DECOFF_COMPAT to CPPFLAGS if ELF_TOOLCHAIN not defined.
1996-09-23 04:28:46 +00:00
cgd
c225908c90
add netboot
1996-09-23 04:28:23 +00:00
cgd
8644dce05c
start on some network boot blocks. they work, but:
...
(1) the if_prom code needs to be cleaned up quite a bit
(right now it hard-codes client's ethernet address), and
(2) much of this code (esp: getsecs.c, netboot.c, newvers.sh,
rpcc.S) should be shared with other Alpha boot blocks,
and dev_net.[ch] should maybe go in libsa proper.
1996-09-18 20:03:04 +00:00
cgd
675e59d762
fix for elf loading, from Matt Thomas
1996-09-18 19:34:33 +00:00
cgd
886dba6dff
(1) split load-file functionality out from the 'main program' of the
...
boot block, since it will be shared with the network boot block.
(2) Kill a.out support, since it never worked was never used, and will
never be.
(3) Add support for booting of ELF kernels, from Matt Thomas. (Currently
untested, but it compiles.)
1996-09-17 22:00:24 +00:00
cgd
a68b586a74
add _rtt as an XLEAF into start which (like 'halt') just halts
1996-09-17 21:26:45 +00:00
cgd
ef8b4f596a
clean up entry printf
1996-06-14 20:04:45 +00:00
cgd
643339aa90
Don't pass arguments to the kernel, trim unnecessary environment
...
calls, kill 'ask' loop (i.e. if boot fails, halt), seperate
ECOFF and a.out support into seperate options.
1996-06-14 20:02:52 +00:00
cgd
386aeb320f
clean up copyright notices
1996-06-13 18:31:49 +00:00
cgd
3393d0e53b
a few more minor ecoff-header-related tweaks.
1996-05-10 00:15:04 +00:00
cgd
56017a3c1e
update to include <sys/exec_ecoff.h>, rather than the alpha-specific
...
(and redundant) coff.h file (which has now been removed).
1996-05-09 23:54:07 +00:00
cgd
576c769331
clean up copyrights and RCS IDs
1996-04-12 06:07:05 +00:00
cgd
1d001142a9
don't forget dkcksum.c, now that it's seperate
1996-04-12 01:35:15 +00:00
mycroft
88e512b693
LOCORE -> _LOCORE
1996-02-01 22:28:24 +00:00
cgd
2db5c9e1ef
deal with ufs -> ffs transition.
1995-12-20 00:17:49 +00:00
cgd
29d9eeabd1
kill these. they're no longer used.
1995-11-27 23:28:00 +00:00
cgd
deb4082f80
wholesale update from my NetBSD/Alpha source tree. Includes:
...
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
1995-11-23 02:33:17 +00:00
cgd
f9e02471d0
make boot blocks work on AlphaStation systems
1995-06-28 00:58:44 +00:00
cgd
504990e332
fill up device switches, clean up a couple of mistakes.
1995-02-27 16:36:07 +00:00
cgd
b2c99bfbc2
RCS ids, some missing copyrights.
1995-02-16 02:32:50 +00:00
cgd
85854cb4ad
preliminary Alpha support. note that NOT ALL OF THE MODIFICATIONS TO
...
THE REST OF THE KERNEL ARE IN THE TREE YET. Also, some of this is
_incredibly_ hack-ish, etc., but it works.
1995-02-13 23:06:39 +00:00