2005-01-31 19:54:32 +03:00
|
|
|
# $NetBSD: OFWGENCFG,v 1.16 2005/01/31 16:55:29 hannken Exp $
|
1998-06-13 03:29:27 +04:00
|
|
|
#
|
|
|
|
# OFWGENCFG: 'generic' configuration for Open Firmware boards.
|
|
|
|
#
|
|
|
|
# Uses all 'generic' drivers (except for 'ofrom', which is
|
|
|
|
# close enough to generic).
|
|
|
|
#
|
|
|
|
|
2002-10-10 13:17:05 +04:00
|
|
|
include "arch/shark/conf/std.shark"
|
2002-02-10 04:53:06 +03:00
|
|
|
include "arch/shark/conf/std.ofwgencfg"
|
1998-06-13 03:29:27 +04:00
|
|
|
|
2002-04-25 19:06:20 +04:00
|
|
|
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
|
|
|
|
1998-06-13 03:29:27 +04:00
|
|
|
# estimated number of users
|
|
|
|
|
|
|
|
maxusers 32
|
|
|
|
|
|
|
|
# Standard system options
|
|
|
|
|
2001-11-20 15:56:17 +03:00
|
|
|
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
|
|
|
#options NTP # NTP phase/frequency locked loop
|
1998-06-13 03:29:27 +04:00
|
|
|
|
|
|
|
# CPU options
|
|
|
|
|
1998-06-19 02:32:33 +04:00
|
|
|
options CPU_SA110 # Support the SA110 core
|
2000-11-13 21:40:34 +03:00
|
|
|
makeoptions COPTS="-O2 -march=armv4 -mtune=strongarm"
|
1998-06-13 03:29:27 +04:00
|
|
|
|
|
|
|
# Architecture options
|
|
|
|
|
1998-06-19 02:32:33 +04:00
|
|
|
options OFWGENCFG # Enable Open Firmware bits specific to GENERIC configuration
|
1998-06-13 03:29:27 +04:00
|
|
|
|
|
|
|
# FPA options
|
|
|
|
|
|
|
|
#options ARMFPE # ARM Ltd FPE
|
|
|
|
|
|
|
|
# File systems
|
|
|
|
|
|
|
|
file-system FFS # UFS
|
|
|
|
#file-system LFS # log-structured file system
|
|
|
|
file-system MFS # memory file system
|
|
|
|
file-system NFS
|
1998-06-19 02:32:33 +04:00
|
|
|
#file-system ADOSFS # AmigaDOS-compatible file system
|
|
|
|
#file-system EXT2FS # second extended file system (linux)
|
1998-06-13 03:29:27 +04:00
|
|
|
#file-system CD9660 # ISO 9660 + Rock Ridge file system
|
|
|
|
#file-system MSDOSFS # MS-DOS file system
|
|
|
|
#file-system FDESC # /dev/fd
|
1998-08-14 07:56:21 +04:00
|
|
|
#file-system FILECORE # Acorn filecore file system
|
1998-06-13 03:29:27 +04:00
|
|
|
file-system KERNFS # /kern
|
|
|
|
#file-system NULLFS # loopback file system
|
|
|
|
#file-system PORTAL # portal filesystem (still experimental)
|
|
|
|
#file-system PROCFS # /proc
|
|
|
|
#file-system UMAPFS # NULLFS + uid and gid remapping
|
|
|
|
#file-system UNION # union file system
|
|
|
|
|
|
|
|
# File system options
|
1998-06-19 02:32:33 +04:00
|
|
|
#options QUOTA # UFS quotas
|
|
|
|
#options NFSSERVER
|
2001-11-20 15:56:17 +03:00
|
|
|
options NFS_BOOT_DHCP # NFS booting via DHCP
|
|
|
|
options NFS_BOOT_RWSIZE=1024 # OFW driver can't cope with more
|
1998-06-13 03:29:27 +04:00
|
|
|
|
|
|
|
# Networking options
|
|
|
|
|
1998-06-19 02:32:33 +04:00
|
|
|
#options GATEWAY # packet forwarding
|
2001-11-20 15:56:17 +03:00
|
|
|
options INET # IP + ICMP + TCP + UDP
|
|
|
|
#options MROUTING # IP multicast routing
|
2004-09-05 03:29:44 +04:00
|
|
|
#options PIM # Protocol Independent Multicast
|
1998-06-19 02:32:33 +04:00
|
|
|
#options NS # XNS
|
2001-11-20 15:56:17 +03:00
|
|
|
#options NSIP # XNS tunneling over IP
|
1998-06-19 02:32:33 +04:00
|
|
|
#options ISO,TPIP # OSI
|
|
|
|
#options EON # OSI tunneling over IP
|
|
|
|
#options CCITT,LLC,HDLC # X.25
|
2001-11-20 15:56:17 +03:00
|
|
|
#options PFIL_HOOKS # pfil(9) packet filter hooks (Required
|
1998-06-13 03:29:27 +04:00
|
|
|
# if you enable the pseudo-device ipl).
|
2001-07-08 20:32:12 +04:00
|
|
|
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
1998-06-13 03:29:27 +04:00
|
|
|
|
|
|
|
# Compatibility options
|
|
|
|
|
2001-11-20 15:56:17 +03:00
|
|
|
options COMPAT_43 # 4.3BSD compatibility.
|
2003-09-13 17:30:01 +04:00
|
|
|
options COMPAT_16 # NetBSD 1.6 compatibility.
|
2001-11-20 15:56:17 +03:00
|
|
|
options COMPAT_12 # NetBSD 1.2 compatibility.
|
|
|
|
#options COMPAT_11 # NetBSD 1.1 compatibility.
|
|
|
|
#options COMPAT_10 # NetBSD 1.0 compatibility.
|
|
|
|
#options COMPAT_09 # NetBSD 0.9 compatibility.
|
2001-07-08 20:32:12 +04:00
|
|
|
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
2004-11-10 20:54:02 +03:00
|
|
|
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
|
1998-06-13 03:29:27 +04:00
|
|
|
|
|
|
|
# Shared memory options
|
|
|
|
|
2001-11-20 15:56:17 +03:00
|
|
|
options SYSVMSG # System V-like message queues
|
|
|
|
options SYSVSEM # System V-like semaphores
|
|
|
|
options SYSVSHM # System V-like memory sharing
|
|
|
|
options SHMMAXPGS=1024 # 1024 pages is the default
|
1998-06-13 03:29:27 +04:00
|
|
|
|
|
|
|
# Device options
|
|
|
|
|
2001-11-20 15:56:17 +03:00
|
|
|
#options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
2002-04-02 09:30:34 +04:00
|
|
|
#options MEMORY_DISK_ROOT_SIZE=0 # Size in KBytes
|
1998-06-13 03:29:27 +04:00
|
|
|
|
|
|
|
# Miscellaneous kernel options
|
2001-11-20 15:56:17 +03:00
|
|
|
options KTRACE # system call tracing, a la ktrace(1)
|
|
|
|
options IRQSTATS # manage IRQ statistics
|
1998-06-19 02:32:33 +04:00
|
|
|
#options LKM # loadable kernel modules
|
2001-11-20 15:56:17 +03:00
|
|
|
options KMEMSTATS # kernel memory statistics
|
2002-09-18 06:43:53 +04:00
|
|
|
options USERCONF # userconf(4) support
|
2002-01-27 16:23:08 +03:00
|
|
|
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
|
2004-07-15 07:53:44 +04:00
|
|
|
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
|
1998-06-13 03:29:27 +04:00
|
|
|
|
|
|
|
# Development and Debugging options
|
|
|
|
|
2001-11-20 15:56:17 +03:00
|
|
|
#options ARM700BUGTRACK # track the ARM700 swi bug
|
|
|
|
#options PORTMASTER # Enable PortMaster only options
|
|
|
|
options DIAGNOSTIC # internally consistency checks
|
|
|
|
#options IPKDB # remote kernel debugging
|
|
|
|
options DDB # in-kernel debugger
|
1998-06-13 03:29:27 +04:00
|
|
|
#makeoptions DEBUG="-g" # compile full symbol table
|
|
|
|
|
|
|
|
config netbsd root on ofnet0 type nfs
|
|
|
|
#config netbsd root nfs swap nfs
|
|
|
|
|
|
|
|
# The main bus device
|
|
|
|
mainbus0 at root
|
|
|
|
|
2004-02-13 14:36:08 +03:00
|
|
|
# The boot CPU
|
1998-06-13 03:29:27 +04:00
|
|
|
cpu0 at mainbus?
|
|
|
|
|
|
|
|
# Open Firmware devices
|
|
|
|
ofbus* at root
|
|
|
|
ofbus* at ofbus?
|
|
|
|
ofdisk* at ofbus?
|
|
|
|
ofnet* at ofbus?
|
|
|
|
ofcons* at ofbus?
|
|
|
|
ofrtc* at ofbus?
|
|
|
|
ofrom* at ofbus?
|
|
|
|
|
2001-11-20 15:56:17 +03:00
|
|
|
pseudo-device loop 1 # network loopback
|
|
|
|
pseudo-device bpfilter 8 # packet filter
|
|
|
|
#pseudo-device sl 2 # CSLIP
|
1998-06-13 03:29:27 +04:00
|
|
|
#pseudo-device ppp 2 # PPP
|
|
|
|
#pseudo-device tun 2 # network tunneling over tty
|
|
|
|
#pseudo-device ipfilter 1 # ip filter
|
|
|
|
|
2000-09-24 19:59:26 +04:00
|
|
|
pseudo-device pty # pseudo-terminals
|
1998-06-13 03:29:27 +04:00
|
|
|
#pseudo-device tb 1 # tablet line discipline
|
2001-11-20 15:56:17 +03:00
|
|
|
pseudo-device vnd 4 # disk-like interface to files
|
1998-06-13 03:29:27 +04:00
|
|
|
#pseudo-device ccd 2 # concatenated disk devices
|
2005-01-31 19:54:32 +03:00
|
|
|
#pseudo-device fss 4 # file system snapshot device
|
1999-03-27 10:11:35 +03:00
|
|
|
pseudo-device rnd # /dev/random and /dev/urandom
|
1998-06-13 03:29:27 +04:00
|
|
|
|
|
|
|
#pseudo-device md 1 # Ramdisk driver
|
2002-06-17 09:14:02 +04:00
|
|
|
pseudo-device clockctl # user control of clock subsystem
|
2004-08-29 21:40:12 +04:00
|
|
|
pseudo-device openfirm # /dev/openfirm
|