2002-02-07 00:30:25 +03:00
|
|
|
# $NetBSD: OFWGENCFG,v 1.17 2002/02/06 21:30:27 thorpej 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).
|
|
|
|
#
|
|
|
|
|
|
|
|
include "arch/arm32/conf/std.arm32"
|
2002-02-07 00:30:25 +03:00
|
|
|
include "arch/arm32/conf/std.ofwgencfg"
|
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
|
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.
|
|
|
|
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.
|
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
|
|
|
|
#options MEMORY_DISK_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-01-27 16:23:08 +03:00
|
|
|
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
|
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
|
|
|
|
|
|
|
|
# The boot cpu
|
|
|
|
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
|
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
|