NetBSD/sys/arch/prep/conf/INSTALL

264 lines
7.4 KiB
Plaintext
Raw Normal View History

2003-10-20 02:00:01 +04:00
# $NetBSD: INSTALL,v 1.26 2003/10/19 22:00:01 kleink Exp $
2001-01-16 19:53:57 +03:00
#
# INSTALL -- Installation kernel
#
include "arch/prep/conf/std.prep"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
2001-01-16 19:53:57 +03:00
makeoptions COPTS="-Os -mmultiple" # -Os -mmultiple to reduce size.
# Enable the hooks used for initializing the ram-disk.
options MEMORY_DISK_HOOKS
options MEMORY_DISK_IS_ROOT # Force root on ram-disk
options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes
2001-01-16 19:53:57 +03:00
maxusers 8
2002-05-02 18:58:36 +04:00
# Platform support
2003-01-16 09:59:19 +03:00
options PLATFORM_IBM_6040 # IBM ThinkPad 820
2002-05-02 18:58:36 +04:00
options PLATFORM_IBM_6050 # IBM Personal Power Series 830
options PLATFORM_IBM_7248 # IBM RS/6000 7248-100/120/133
2002-05-30 20:10:03 +04:00
options PLATFORM_IBM_7043_140 # IBM RS/6000 43P 7043-140
2002-05-02 18:58:36 +04:00
options PLATFORM_MOTOROLA_ULMB60XA # Motorola ULMB60xA (?)
2002-05-30 20:10:03 +04:00
options OPENPIC # OpenPIC support (7043-140)
2001-01-16 19:53:57 +03:00
# Compatibility options
2002-05-30 20:10:03 +04:00
options COMPAT_13 # NetBSD 1.3,
options COMPAT_14 # NetBSD 1.4,
2002-05-30 20:10:03 +04:00
options COMPAT_15 # NetBSD 1.5,
2003-10-20 02:00:01 +04:00
options COMPAT_16 # NetBSD 1.6,
options COMPAT_43 # and 4.3BSD
2001-01-16 19:53:57 +03:00
# File systems
file-system FFS # UFS
file-system EXT2FS # second extended file system (linux)
file-system MFS # memory file system
file-system NFS # Network File System client
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
# File system options
options VNODE_OP_NOINLINE # Not inlining vnode op calls saves mem
#options FFS_EI # FFS Endian Independant support
2001-01-16 19:53:57 +03:00
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
# immutable) behave as system flags.
options USERCONF # userconf(4) support
options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
options MALLOC_NOINLINE # Not inlining MALLOC saves memory
2001-01-16 19:53:57 +03:00
# Networking options
options INET # IP + ICMP + TCP + UDP
options NFS_BOOT_BOOTPARAM
options NFS_BOOT_DHCP
#
# wscons options
#
# builtin terminal emulations
options WSEMUL_VT100 # VT100 / VT220 emulation
# different kernel output - see dev/wscons/wsdisplayvar.h
options WS_KERNEL_FG=WSCOL_GREEN
#options WS_KERNEL_BG=WSCOL_BLACK
# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
# allocate a number of virtual screens at autoconfiguration time
#options WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
options PCDISPLAY_SOFTCURSOR
2001-01-16 19:53:57 +03:00
# Kernel root file system and dump configuration.
config netbsd root on ? type ?
#
# Device configuration
#
mainbus0 at root
cpu0 at mainbus0
# Basic Bus Support
# PCI bus support
pci0 at mainbus0 bus ?
pci* at pchb? bus ?
2002-05-30 20:10:03 +04:00
pci* at ppb? bus ?
2001-01-16 19:53:57 +03:00
options PCI_NETBSD_CONFIGURE
2001-01-16 19:53:57 +03:00
# PCI bridges
pchb* at pci? dev ? function ? # PCI-Host bridges
pcib* at pci? dev ? function ? # PCI-ISA bridges
2002-05-30 20:10:03 +04:00
ppb* at pci? dev ? function ? # PCI-PCI bridges
2001-01-16 19:53:57 +03:00
# ISA bus support
isa* at pcib? # ISA on PCI-ISA bridge
# PCMCIA bus support
pcmcia* at pcic? controller ? socket ?
# ISA PCMCIA controllers
pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
#options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
#options PCIC_ISA_ALLOC_IOBASE=0x0400
#options PCIC_ISA_ALLOC_IOSIZE=0x0100
# ISA Plug-and-Play bus support
isapnp0 at isa?
# on-board I/O for IBM Personal Power Series 830 IDE controller
obio0 at mainbus0
2001-01-16 19:53:57 +03:00
# Console Devices
# wscons
pckbc0 at isa? # pc keyboard controller
pckbd* at pckbc? # PC keyboard
pms* at pckbc? # PS/2 mouse for wsmouse
vga* at pci?
wsdisplay* at vga? console ?
wskbd* at pckbd? console ?
wsmouse* at pms? mux 0
pcppi0 at isa? # PC prog. periph. interface
isabeep0 at pcppi? # "keyboard" beep
2001-01-16 19:53:57 +03:00
mcclock0 at isa? port 0x70 # mc146818 and compatible
2002-05-30 20:10:03 +04:00
mkclock0 at isa? port 0x74 # mk48t18 and compatible
2001-01-16 19:53:57 +03:00
# Serial Devices
# ISA serial interfaces
com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
com1 at isa? port 0x2f8 irq 3
# Parallel Printer Interfaces
# ISA parallel printer interfaces
lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
# SCSI Controllers and Devices
# PCI SCSI controllers
2001-08-29 21:37:47 +04:00
adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
2001-06-24 21:40:07 +04:00
ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
2002-05-30 20:10:03 +04:00
esiop* at pci? dev ? function ? # Symbios 53c825/875 and newer chips
iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
2001-01-16 19:53:57 +03:00
pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
2001-01-16 19:53:57 +03:00
# PCMCIA SCSI controllers
aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
# SCSI bus support
2001-08-29 21:37:47 +04:00
scsibus* at adw?
2001-06-24 21:40:07 +04:00
scsibus* at ahc?
2001-01-16 19:53:57 +03:00
scsibus* at aic?
2002-05-30 20:10:03 +04:00
scsibus* at esiop?
scsibus* at iha?
2001-01-16 19:53:57 +03:00
scsibus* at pcscp?
scsibus* at siop?
2001-01-16 19:53:57 +03:00
# SCSI devices
sd* at scsibus? target ? lun ? # SCSI disk drives
st* at scsibus? target ? lun ? # SCSI tape drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
# IDE and related devices
# IBM Personal Power Series 830 IDE controller
wdc0 at obio? port 0x1f0 irq 13
wdc1 at obio? port 0x170 irq 13
# ISA Plug-and-Play IDE controllers
wdc* at isapnp?
2001-01-16 19:53:57 +03:00
# PCMCIA IDE controllers
wdc* at pcmcia? function ?
# ATA (IDE) bus support
atabus* at ata?
2003-10-08 15:14:36 +04:00
2001-01-16 19:53:57 +03:00
# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
2003-10-08 15:14:36 +04:00
wd* at atabus? drive ? flags 0x0000
2001-01-16 19:53:57 +03:00
# ATAPI bus support
atapibus* at atapi?
2001-01-16 19:53:57 +03:00
# ATAPI devices
# flags have the same meaning as for IDE drives.
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
# Miscellaneous mass storage devices
# ISA floppy
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
2001-01-16 19:53:57 +03:00
fd* at fdc? drive ?
# Network Interfaces
# PCI network interfaces
ep* at pci? dev ? function ? # 3Com 3c59x
2002-04-24 13:46:15 +04:00
ex* at pci? dev ? function ? # 3Com 3c90x[BC]
2001-06-24 21:40:07 +04:00
fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
2001-01-16 19:53:57 +03:00
ne* at pci? dev ? function ? # NE2000-compatible Ethernet
pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
2001-06-24 21:40:07 +04:00
rtk* at pci? dev ? function ? # Realtek 8129/8139
sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
2002-04-17 06:22:41 +04:00
tlp* at pci? dev ? function ? # DECchip 21x4x and clones
2001-01-16 19:53:57 +03:00
vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
2001-06-24 21:40:07 +04:00
# ISA network interfaces
ep* at isa? port ? irq ? # 3Com 3c509 Ethernet
2001-01-16 19:53:57 +03:00
# ISA Plug-and-Play network intefaces
ep* at isapnp? # 3Com 3c509 Ethernet
2001-06-24 21:40:07 +04:00
ne* at isapnp? # NE2000-compatible Ethernet
2001-01-16 19:53:57 +03:00
# PCMCIA network interfaces
ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
ne* at pcmcia? function ? # NE2000-compatible Ethernet
# MII/PHY support
2002-04-24 13:46:15 +04:00
exphy* at mii? phy ? # 3Com internal PHYs
2001-06-24 21:40:07 +04:00
inphy* at mii? phy ? # Intel 82555 PHYs
nsphy* at mii? phy ? # NS83840 PHYs
qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
2001-01-16 19:53:57 +03:00
ukphy* at mii? phy ? # generic unknown PHYs
# Pseudo-Devices
# disk/mass storage pseudo-devices
pseudo-device md 1 # memory disk device (ramdisk)
# network pseudo-devices
pseudo-device loop # network loopback
# miscellaneous pseudo-devices
pseudo-device pty # pseudo-terminals
pseudo-device rnd # /dev/random and in-kernel generator
#options RND_COM # use "com" randomness as well