Commit Graph

282 Commits

Author SHA1 Message Date
wiz e217b7d046 Remove superfluous Tn macros. 2017-08-15 21:21:18 +00:00
mrg c62a157eb2 merge the rest of sbmips into evbmips. install the stand files in
/usr/mdec/sbmips/ and document them in installboot(8) even though
it isn't really ported yet.  also build the SBMIPS kernels.

unfortunately, sbmips has been broken since mips64 merge, but the
fix can happen in the evbmips version, which we might merge into
the older trees anyway.

XXX: releng can turn off sbmips* builds now for -current.
2017-08-15 10:11:31 +00:00
christos fbbb03bfac don't complain if the mbr was all 0's. 2017-07-17 18:43:45 +00:00
wiz 01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
wiz 27790f6369 Bump date for previous. 2017-03-15 11:22:47 +00:00
bad 4046b64730 Document option console=auto. Works since at least NetBSD 6. [i386,amd64] 2017-03-14 13:50:40 +00:00
joerg f9c2736326 Disable a couple of warnings until further investigation. 2017-01-11 12:19:43 +00:00
alnsn ff92ad9fb1 Fix a typo: s/can be use/can be used/ 2016-06-21 21:53:55 +00:00
mlelstv 1cd8415fdc Handle getfsspecname errors. 2015-07-25 10:37:22 +00:00
joerg 8cd9de5e58 Linking against libutil is not appropiate for tools. 2015-06-06 15:45:47 +00:00
mlelstv 182e6e3b91 Can't use getfsspecname (and thus wedge names) while building tools. 2015-06-05 07:44:39 +00:00
mlelstv 18bcb9c15b Support wedge names. 2015-06-05 05:03:21 +00:00
mlelstv bddb934a67 Compute bootloader checksum correctly also on little endian systems. 2015-06-05 05:02:48 +00:00
wiz e74dc903d0 Use An in AUTHORS section. 2015-03-22 22:35:08 +00:00
ast 64fd4bb542 Appease various mandoc -Tlint warnings and update copyright while we're here 2015-03-22 09:45:50 +00:00
christos 039e20963e Use VAX_LABELOFFSET here; It needs to be the machine-specific one. Thanks
to gcc-4.8 for discovering the bug and to Atari for having a LABELOFFSET of
516 > 512 :-)
XXX: Perhaps we should put all those constants in <sys/bootblock.h> instead
of spreading them around.
2014-11-13 16:02:25 +00:00
skrll 6d3ceb1d61 Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
christos a74a5abffb XXX: gcc initialize a variable 2013-10-21 15:37:46 +00:00
christos 4013b33b0e move all the unused code inside #if 0 2013-10-19 17:08:15 +00:00
dholland 2737439da3 fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)
2013-06-23 02:06:04 +00:00
dholland f1333577b5 Rename ambiguous macros:
MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE
   NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR
   INOPB -> FFS_INOPB, LFS_INOPB
   INOPF -> FFS_INOPF, LFS_INOPF
   blksize -> ffs_blksize, ext2_blksize, or lfs_blksize
   sblksize -> ffs_blksize

These are not the only ambiguously defined filesystem macros, of
course, there's a pile more. I may not have found all the ambiguous
definitions of blksize(), too, as there are a lot of other things
called 'blksize' in the system.
2013-06-19 17:51:25 +00:00
martin 23e8ed59f1 In the tool build <nbinclude/vax/disklabel.h> is enough. 2013-06-16 19:05:00 +00:00
msaitoh 0893cfd5dd Remove trailng whitespaces. 2013-06-14 03:54:43 +00:00
matt 252b82608c Make this build with the disk label change. 2013-05-03 21:32:04 +00:00
martin 67c2857b08 Provide an empty __CTASSERT() for toolbuilds 2013-04-04 16:11:12 +00:00
martin e23a017d74 Fix installboot for VAX, as discussed on port-vax. Problem pointed out
by Jonny Billquist, thanks to Marl Pizzolato for patiently explaining
the various ways of booting a vax to me.
Now VAX 780 can boot directly from VMB.EXE again.
2013-04-04 12:55:30 +00:00
dholland dcd34a91c5 Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
   ROOTINO -> UFS_ROOTINO
   WINO -> UFS_WINO
   NXADDR -> UFS_NXADDR
   NDADDR -> UFS_NDADDR
   NIADDR -> UFS_NIADDR
   MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
   MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.
2013-01-22 09:39:11 +00:00
joerg 9edf9a0457 Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply
to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.
2012-08-10 12:10:27 +00:00
gson 4caffa5d5e When printing the list of valid console names, don't treat the consoles[]
array as NULL terminated, because it's not.
2012-04-06 10:10:11 +00:00
wiz d59179dffb Add missing word. 2012-03-10 19:38:16 +00:00
dsl 095ac4e735 Some FAT16 filesystems don't have 'hidden sectors' correctly set to
the offset of the filesystem on the disk.
Let '-b s1blk' be used to fix the value.
2012-03-10 18:42:18 +00:00
ast bdf0a8da40 Use "NetBSD 6.0" and not "NetBSD 6" and sound less like a broken record.
Add note where the actual example is because that's where it's expected.
Part of earlier commit ok-ed by releng@
2012-02-11 07:27:25 +00:00
wiz 9328365c03 Remove trailing whitespace. Put macro arguments on same line. 2012-02-10 16:25:47 +00:00
ast 7964aa2984 Update the amd64 and i386 examples to use /usr/mdec/bootxx_ffsv2,
i.e. DEFAULT_UFS2 as src/distrib/utils/sysinst/bsddisklabel.c does
since post-NetBSD5.  This avoids rendering an i386 or amd64 system
unbootable if the given example is thoughtlessly cut-and-pasted on
a NetBSD6.x system (been there, done that ;-) Qualify the descriptions
of /usr/mdec/bootxx_ffsv{1,2} along those lines.

Fixed a small typo in comment of distrib/utils/sysinst/arch/amd64/md.h.

Ok by releng@
2012-02-09 18:35:44 +00:00
skrll 71f408f0ea Update for hp700. Bump date. 2012-01-09 19:40:09 +00:00
skrll 4d8cde761c s/ISO9660/ISO 9660/ for consistency with rest of man page. 2012-01-09 19:39:18 +00:00
skrll 008d551992 Make it an error for the partition to exceed the PDC limit.
Inspired by PR/45742
2012-01-09 11:44:53 +00:00
martin 77a3a1ee2a Minor usage tweaks for SMALLPROG 2011-11-03 20:46:41 +00:00
martin d1852e4e9b Minor nits in the sparc64 example 2011-11-03 20:09:18 +00:00
joerg bec77c5f43 Use __dead 2011-08-31 13:32:36 +00:00
alnsn e0e35e91bd Typo. 2011-08-29 14:09:01 +00:00
christos 7a3dc95e5c fix various gcc-4.5 warnings 2011-08-14 17:50:16 +00:00
gdt c623d1003e Explain how to use -e -v without -o to see the current options.
Caution that installing a new primary bootstrap will reset options to
default values.
2011-08-03 14:47:28 +00:00
mrg c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
mrg 75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
matt b418df248c A small bit of constification 2011-06-14 05:35:08 +00:00
martin 0210de65a6 Use rsd0c instead of the (far less common) rwd0c as boot disk in the
sparc64 example.
2011-04-25 07:04:50 +00:00
tsutsui 14d39e456d Fix botch in previous revision. Sorry for a stupid change. 2011-02-10 23:25:11 +00:00
pooka 5f7e80a834 Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
2011-01-26 01:18:43 +00:00
jym d0e5481abd Sort options. 2010-11-21 21:07:46 +00:00