Commit Graph

352 Commits

Author SHA1 Message Date
chs 35b7579ba4 add more sd and pci devices.
remove duplicate ch0.
2012-09-23 01:15:17 +00:00
bouyer f2b31f39d0 Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls in COMPAT_LINUX
Allocate a character major number, and create /dev/mfi0 by default
on amd64 and i386.
This allows (along with a hand-created /emul/linux/proc/devices file)
to run the MegaCLI linux binary provided by LSI.
2012-09-19 21:24:28 +00:00
abs 7e916bb8a9 Add 'bpf' to all ramdisk targets (*), or floppy targets if ramdisk calls that.
Sort bpf to come directly after 'std' where relevant.
* (apart from etc.evbppc who's ramdisk target *only* builds md0,
  which just doesn't make sense).
Should allow a fighting chance for dhcpcd to get an IP address.
2012-08-16 13:31:24 +00:00
reinoud 40d2eec2c6 Disable GENERIC_USERMODE kernel auto-build to avoid problems with the current
autobuild-system.
2012-07-04 13:54:20 +00:00
reinoud e631798833 Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.
2012-06-30 15:03:56 +00:00
martin c2e51849fc Per discussion on tech-userlevel, finally fix PR 10127:
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
2012-06-13 20:49:11 +00:00
christos 05e9a23818 give wedges to everyone 2012-04-07 17:22:10 +00:00
mlelstv 149eeb0360 bootmenu doesn't parse "prompt" as part of a command list, it must
stand alone.
2011-12-21 14:33:13 +00:00
tls 1177cf8de7 Use random seed file (saved entropy) from default location by default
in i386 and amd64 boot.cfg.
2011-12-09 06:50:36 +00:00
jmcneill 0ce410dc8d default powerd=YES if acpi is present 2011-12-04 13:09:07 +00:00
jym cec3d05bda Arch-specific rc.conf files are not really autonomous rc.conf
files, they are appended to the end of etc/defaults/rc.conf.

So rename them to rc.conf.append for clarity, as suggested by mrg@. Adapt
Makefile accordingly.
2011-08-22 20:48:38 +00:00
jym f56903492e Modify etc/defaults/Makefile so that architectures can specify an additional
rc.conf file. This one should reside under etc/etc.${MACHINE}/, and will
get automatically appended to etc/defaults/rc.conf at build time if present.

This is used by i386 and amd64 to append a small MD rc.conf(5) configuration
at the end of the defaults/rc.conf file, so that powerd(8) can be started
by default when we are running in a Xen environment. This is needed to support
save/restore functions for domains.

From all the alternatives proposed to fix that issue (from /etc/rc.conf
parsing in postinstall to etc/defaults/rc.conf arch-hooks) I believe
this one will appease everyone because it:
- does not touch etc/defaults/rc.conf template file,
- patches it at build time for MD hooks only when required,
- does not need to parse/modify a user-specified file like /etc/rc.conf (which
is a complex, error-prone operation),
- only enables powerd(8) by default when conditions are met (Xen environment)
while still allowing root to shoot himself in the foot if he wants to
override this manually in /etc/rc.conf.

See also http://mail-index.netbsd.org/tech-userlevel/2011/07/25/msg005246.html
2011-08-22 18:54:05 +00:00
ahoka 2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
jym d67b6a35e5 Reinstate INSTALL kernel for embedded ramdisk installs.
Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
2011-02-10 00:43:19 +00:00
tron 65817d0cbb Build the "MONOLITHIC" kernel configuration by default and include
in the release.

Using the modularise "GENERIC" kernel on an existing NetBSD 5.0 system
is difficult and error-prone. The "MONOLITHIC" kernel provides an
easy way to test a new kernel or to upgrade an existing system.
2009-10-01 11:51:03 +00:00
tsutsui 78b680c5cf Revert previous per comment from ad@ in PR 41668, which is no longer orphaned. 2009-07-16 10:43:22 +00:00
tsutsui 73cf34a890 Add MONOLITHIC kernel to i386 release binaries. PR#41668 2009-07-15 14:11:02 +00:00
cegger 45e175c9c5 remove Xen2 from the list of kernels to build for a release.
ok bouyer@
2009-03-07 17:28:31 +00:00
bouyer 33a5d738a9 Add XEN3PAE_DOM0 to the list of kernels to build for a release. 2009-03-05 20:06:13 +00:00
christos 4cc3f6a334 add clear=1 2008-12-13 23:30:03 +00:00
joerg d490657a1e Now that the installation floppies are including tmpfs as well, stop
distinguishing MAKEDEV init and MAKEDEV all for x86.
2008-11-04 14:25:10 +00:00
joerg 3c39079d4a Create 8 dk instances by default. 2008-10-31 16:26:47 +00:00
joerg 3ecd0576c6 Can't type. xkbd -> xbd. 2008-10-31 16:25:29 +00:00
joerg 0a4bf6163b Create 4 Xen disks by default and all three Xen devices to make it
usable out-of-the-box.
2008-10-31 16:14:23 +00:00
abs 3388ad407f Add a constty entry, marked 'off', with otherwise the same settings
as the console. Now when coming up in single user mode the tset in
/.profile can set the terminal type correctly.
Note: I believe constty should be 'on' and console 'off', but thats a
separate discussion
2008-10-07 10:00:00 +00:00
tsutsui d6a9de7378 Move "makedev cfs" for the vcoda device from MI MAKEDEV.tmpl to
MD MAKEDEV.conf.  Not all ports have vcoda in their majors.foo files
and we shouldn't (re)assign major numbers on all ports before 5.0.

Should close PR port-sgimips/38962.
2008-09-13 11:46:18 +00:00
ad 51a52ea260 i386 doesn't need ld.so.conf at this time. 2008-06-03 18:49:59 +00:00
chris 2d9b8b788b As part of make release copy the miniroot.kmod into installation/miniroot/
and create sums for it.

This means all the pieces to do network installation are easily accessible
following a release build (and will also come out of the build servers).

netbsd-GENERIC is in binary/kernel/
pxeboot_ia32.bin is in installation/misc/
miniroot.kmod is in installation/miniroot/
2008-05-11 12:31:45 +00:00
ad 59978d093b Put the GENERIC kernel onto i386 installation CDs and load a kernel module
from the boot loader to provide the miniroot.
2008-05-02 23:13:05 +00:00
ad 928d6a0983 Give i386 and amd64 a default boot.cfg. 2008-04-30 16:48:53 +00:00
ad da694a1ffc For PR kern/38537:
- Make MULTIPROCESSOR mandatory on i386.

Installation changes:

- Update installation section of release notes to match reality.
- Rename INSTALL to INSTALL_FLOPPY, retire INSTALL_LARGE.
- Build INSTALL kernel from GENERIC, like on amd64.
- Update boot menu to allow disabling ACPI and/or SMP.
- Remove GENERIC.NOACPI from the installed kernel list.
- TODO: install default boot.cfg in etc.tgz.
- TODO: possibly enable PCI fixup stuff at runtime if ACPI is disabled.

Build changes:

- No longer build ALL, it's for verification, is slow to build and the
  build process is already crippled by the number of kernels built.
- No longer build GENERIC.NOACPI.
2008-04-30 15:29:11 +00:00
lukem 2c1c2b60b2 Convert all the etc/etc.*/Makefile.inc to use RELEASEDIR/RELEASEMACHINEDIR
just like etc/Makefile does.
2008-03-18 04:20:36 +00:00
bouyer 61d4b35251 build XEN3PAE kernels as part of release. 2008-01-23 19:52:24 +00:00
ad f4c9b5b65a Make SMP the default on i386. For the time being the noacpi kernel does
not have it enabled.
2007-12-25 01:03:31 +00:00
ad 2fdfbee8ac -GENERIC_DIAGNOSTIC 2007-12-02 23:55:52 +00:00
joerg 611565d05b Remove GENERIC_LAPTOP and INSTALL_LAPTOP. To compensate, switch
bootfloppy-big to actually use INSTALL_LARGE (with ACPI) and 5 floppies.
2007-11-15 00:31:19 +00:00
pavel 8a0862e62b Add a comment reminding to update the release notes if the list of
kernels change.
2007-07-24 10:28:05 +00:00
hubertf ae218465f7 Add GENERIC.NOACPI kernel that offers - surprise! - no ACPI
(in contrast to GENERIC).
2007-05-17 01:50:48 +00:00
martti 94f749229e Create /dev/bio 2007-05-16 13:06:03 +00:00
bouyer ff6bcd05a5 For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
  image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
  (for thoses who want to build el-torito floppy emulation boot CD) and use
  INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
2007-03-06 21:47:45 +00:00
he 5f00d6d5a0 Install pxeboot_ia32.bin as part of a "make release" on i386 and amd64. 2007-02-27 18:17:28 +00:00
tron da3cb8f550 Increase the number of raid(4) device node sets to four and the number
of wd(4) device node sets to eight. This fixes another problem
reported in PR port-amd64/35532
2007-02-09 21:17:11 +00:00
dyoung df51b53ccc Create /dev/cmos. 2007-02-06 21:27:43 +00:00
hubertf 6a5bb11672 Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.

See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html

Fixes PR 26511 properly.

OK'd by wrstuden@
2007-01-15 23:35:11 +00:00
ad 7334cf17bb Enable /dev/io for COMPAT_FREEBSD. 2006-12-29 19:16:30 +00:00
dsl bc1f6e73ad Stop building the INSTALL_SMALL, INSTALL_TINY, INSTALL_PS2, GENERIC_TINY and
GENERIC_PS2TINY kernels.
These kernels are for i386 (and small i486) systems that have almost all
long since met their makers.
Add ALL (to help avoid bitrot).
2006-11-19 11:21:19 +00:00
dsl 7e3bc3c991 Put the kernels one per line for easier commenting out 2006-11-18 21:04:40 +00:00
tron 4241fec1bf Bluetooth fixes by Iain Hibbert:
Change the way in which bluetooth devices attach to system. The
new way is for devices to attach directly to a btdevN device via
its own control file /dev/btdevN.
- bthub(4) is replaced by btdev(4).
- /dev/bthubctl is replaced by /dev/btdevN.
- configuration now uses proplib(3) property lists.
- btcontrol(8) updated to use new API, and now uses private
- XML config file /var/db/btdev.xml.
2006-07-26 10:30:59 +00:00
bouyer d252c65e9c Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.
2006-07-23 12:01:25 +00:00
bouyer 75e3593f2c Add new xen device xsd_kva (for Xen3 dom0 operations) 2006-07-04 21:39:55 +00:00