Commit Graph

62 Commits

Author SHA1 Message Date
lukem
9e4faf5cb2 no more ../../sparc/stand/installboot 2002-05-07 12:45:18 +00:00
mrg
b74059e5cf move everything to arch/sparc/stand; leave the Makefile behind. 2000-08-20 14:53:19 +00:00
mrg
b8dfc193d0 merged with the sparc installboot 2000-08-10 12:18:14 +00:00
mrg
44b648a013 make "make depend" work. 2000-08-07 13:50:55 +00:00
mycroft
11142830f9 Switch back to newvers_stand.sh. Dunno why it bombed the first time. 2000-07-25 21:53:55 +00:00
mycroft
714a495a4a Duh, hp300 -> sparc64. 2000-07-25 20:48:19 +00:00
mycroft
234b20f27c Put back missing newvers.sh. 2000-07-25 20:47:44 +00:00
mycroft
b65d3e93c9 Make this a bit safer against errors by using some .tmp files. 2000-07-24 02:00:39 +00:00
mycroft
62fe935649 Give this a prayer of working with obj dirs. 2000-07-24 01:55:59 +00:00
mycroft
8de9ab874b Make this at least pretend to compile. 2000-07-24 01:51:44 +00:00
mycroft
51b68e1fdd Fix compiler warnings. 2000-07-24 01:49:37 +00:00
jdolecek
01d7296690 switch to sys/conf/newvers_stand.sh for generation of version file
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
sync the message in boot/version with other ports using newvers_stand.sh
2000-07-21 22:06:11 +00:00
pk
cacf690261 Try both the BOOTPARAM and DHCP protocol (in that order as is the custom
with Sun machines).
2000-07-07 12:59:16 +00:00
eeh
6a1f10a7d5 Added two new options to the bootblock: -V turns on verbose mode and -D
makes it load but not execute.  If fcode-debug? is enabled in the firmware
an arbitrary file can then be loaded with:

ok " <path>" do-boot
2000-07-06 17:15:07 +00:00
eeh
1b31fdcbb7 Fix uninitialized variable bug. 2000-06-08 22:58:42 +00:00
eeh
907ed5fa81 Add `-D' flag to drop to the PROM before jumping to the kernel. 2000-05-26 22:59:51 +00:00
eeh
62d33e59ff Align things pessimistically so a 64-bit kernel will accept symbols from a 32-bit loader. 2000-05-22 19:15:33 +00:00
mrg
542f08a422 add a version file. 2000-04-13 09:38:12 +00:00
mrg
508af4078f - go through a list of kernels like other ports do.
- don't drop off the partition from the boot device, so that we
  can boot from partitions that aren't the start of the disk...
2000-04-05 06:23:33 +00:00
mrg
66ca8568fe minor cleanup. 2000-04-05 06:21:14 +00:00
eeh
4a8841ada2 Try to page align all segments up to 4MB pages. 2000-03-06 01:29:04 +00:00
eeh
c979dd8b7f Change this to use bsd.prog.mk properly. 2000-01-23 21:05:02 +00:00
mycroft
7b49d242ce Clean up the machine symlink stuff ever so slightly. Needs to be
standardized between files.
2000-01-23 17:04:03 +00:00
eeh
f1985e61f9 Add bootblk directory and only compile things on sparc64 machines. 1999-12-30 16:27:54 +00:00
pk
249aa2e089 Target `machine' symlink explicitly at the sparc64 headers. 1999-11-25 14:46:08 +00:00
pk
b797a06151 Make symlink to appropriate header directory and have cpp use it. 1999-11-25 13:25:09 +00:00
mrg
dcba4f5e10 use a portable invocation for cc -E 1999-11-25 06:06:03 +00:00
mrg
d4cf67e2d2 s/CEXTRAFLAG/CEXTRAFLAGS/ so it works. 1999-11-24 01:54:34 +00:00
kleink
522cbf0248 Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
eeh
793cc7a41b Update to post 1.4. 1999-10-11 01:57:43 +00:00
eeh
e5dc5cec71 Fixup non-DEBUG kernels. 1999-05-09 19:24:19 +00:00
eeh
ae3fd5e972 I don't expect to ever have the need to finish the fcode boot code, so remove it. 1999-05-09 19:15:08 +00:00
eeh
914547e475 Move origin to 8MB; it seems that 16MB has problems at times. 1999-05-09 19:14:15 +00:00
eeh
adabbf4f0f Enhance the code that tries to locate a kernel to search for other possibilities. 1999-05-09 18:32:14 +00:00
eeh
197ee16c7a Move the origin to 1000000 to reduce the likelyhood of conflicts with other
bootloaders/kernels.
1999-05-09 18:31:21 +00:00
drochner
fe310dd299 include <lib/libkern/libkern.h> for intoa()/inet_ntoa() 1999-05-07 16:19:27 +00:00
eeh
69d1f9d0d3 COMPAT_SPARC32 -> COMPAT_NETBSD32 1999-03-26 04:29:20 +00:00
hubertf
56f2d188fc RCS ID police 1999-02-15 04:54:34 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
eeh
2dd29df04b Let's try to add network support. 1999-01-17 20:07:52 +00:00
mrg
12d0e6e8f7 move sparc{,64} installboot.8 back to src/share, to avoid splitting sources for users who dont get everything. 1998-12-22 02:34:09 +00:00
mrg
30964865f6 change -d (debug) to -n (nowrite) as they have the same effective meaning, but -n is what sparc uses. use partition c as that will generally be what the user wants. 1998-12-11 12:15:44 +00:00
mrg
a73ed687d6 add an installboot man page, based on the old sparc on but with large bits ripped out 1998-12-11 12:14:53 +00:00
mrg
29a68943af note installboot.8 is built in share. 1998-12-11 12:14:22 +00:00
mrg
7a39c6352a - exec the command
- exit 0 if we don't run it
- look for the disk in /dev/${disk} /dev/${disk}a as well as ${disk}
- look for the bootblock in /usr/mdec.
- exit if we can't find either the bootblock or disk.
1998-12-11 11:46:54 +00:00
mrg
ed2db65750 add WARNS=0 for now. 1998-11-24 12:56:55 +00:00
mrg
7ad164b566 use rm -f. this makefile needs to be fixed.. 1998-11-24 12:56:40 +00:00
mrg
3660a1e953 make sure we do not write more than 7.5k of bootblock. 1998-11-24 00:03:19 +00:00
mrg
84826f1771 add installboot 1998-11-23 08:16:10 +00:00
mrg
cd3e42513b add a sparc64 installboot script. just dd the bootblk to the right part of the disk. can be improved... 1998-11-23 08:15:11 +00:00