4acb6306f5
There are quite a few configs that are missing some COMPAT_NN options in ways that don't make sense; this should probably get cleaned up too, but for the time being I've not added or removed anything.
145 lines
4.3 KiB
Plaintext
145 lines
4.3 KiB
Plaintext
# $NetBSD: OFWGENCFG,v 1.44 2014/08/23 20:26:59 dholland Exp $
|
|
#
|
|
# OFWGENCFG: 'generic' configuration for Open Firmware boards.
|
|
#
|
|
# Uses all 'generic' drivers (except for 'ofrom', which is
|
|
# close enough to generic).
|
|
#
|
|
|
|
include "arch/shark/conf/std.shark"
|
|
include "arch/shark/conf/std.ofwgencfg"
|
|
|
|
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
|
|
|
# estimated number of users
|
|
|
|
maxusers 32
|
|
|
|
# Standard system options
|
|
|
|
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
|
#options NTP # NTP phase/frequency locked loop
|
|
|
|
# CPU options
|
|
|
|
options CPU_SA110 # Support the SA110 core
|
|
makeoptions COPTS="-O2 -march=armv4 -mtune=strongarm"
|
|
|
|
# Architecture options
|
|
|
|
options OFWGENCFG # Enable Open Firmware bits specific to GENERIC configuration
|
|
|
|
# File systems
|
|
|
|
file-system FFS # UFS
|
|
#file-system LFS # log-structured file system
|
|
file-system MFS # memory file system
|
|
file-system NFS
|
|
#file-system ADOSFS # AmigaDOS-compatible file system
|
|
#file-system EXT2FS # second extended file system (linux)
|
|
#file-system CD9660 # ISO 9660 + Rock Ridge file system
|
|
#file-system MSDOSFS # MS-DOS file system
|
|
#file-system FDESC # /dev/fd
|
|
#file-system FILECORE # Acorn filecore file system
|
|
file-system KERNFS # /kern
|
|
#file-system NULLFS # loopback file system
|
|
#file-system PROCFS # /proc
|
|
#file-system UMAPFS # NULLFS + uid and gid remapping
|
|
#file-system UNION # union file system
|
|
#file-system PTYFS # /dev/pts/N support
|
|
|
|
# File system options
|
|
#options QUOTA # legacy UFS quotas
|
|
#options QUOTA2 # new, in-filesystem UFS quotas
|
|
#options NFSSERVER
|
|
options NFS_BOOT_DHCP # NFS booting via DHCP
|
|
options NFS_BOOT_RWSIZE=1024 # OFW driver can't cope with more
|
|
options FFS_NO_SNAPSHOT # No FFS snapshot support
|
|
|
|
# Networking options
|
|
|
|
#options GATEWAY # packet forwarding
|
|
options INET # IP + ICMP + TCP + UDP
|
|
#options MROUTING # IP multicast routing
|
|
#options PIM # Protocol Independent Multicast
|
|
# if you enable the pseudo-device ipl).
|
|
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
|
|
|
# Compatibility options
|
|
|
|
options COMPAT_43 # 4.3BSD compatibility.
|
|
#options COMPAT_09 # NetBSD 0.9,
|
|
#options COMPAT_10 # NetBSD 1.0,
|
|
#options COMPAT_11 # NetBSD 1.1,
|
|
options COMPAT_12 # NetBSD 1.2,
|
|
options COMPAT_16 # NetBSD 1.6,
|
|
options COMPAT_20 # NetBSD 2.0,
|
|
options COMPAT_30 # NetBSD 3.0, and
|
|
options COMPAT_40 # NetBSD 4.0 binary compatibility.
|
|
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
|
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
|
|
|
|
# Shared memory options
|
|
|
|
options SYSVMSG # System V-like message queues
|
|
options SYSVSEM # System V-like semaphores
|
|
options SYSVSHM # System V-like memory sharing
|
|
|
|
# Device options
|
|
|
|
#options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
|
#options MEMORY_DISK_ROOT_SIZE=0 # Size in KBytes
|
|
|
|
# Miscellaneous kernel options
|
|
options KTRACE # system call tracing, a la ktrace(1)
|
|
options IRQSTATS # manage IRQ statistics
|
|
options KMEMSTATS # kernel memory statistics
|
|
options USERCONF # userconf(4) support
|
|
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
|
|
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
|
|
|
|
# Development and Debugging options
|
|
|
|
#options ARM700BUGTRACK # track the ARM700 swi bug
|
|
#options PORTMASTER # Enable PortMaster only options
|
|
options DIAGNOSTIC # internal consistency checks
|
|
options DDB # in-kernel debugger
|
|
#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?
|
|
|
|
# Pull in optional local configuration
|
|
cinclude "arch/shark/conf/GENERIC.local"
|
|
|
|
pseudo-device loop # network loopback
|
|
pseudo-device bpfilter # packet filter
|
|
#pseudo-device sl # CSLIP
|
|
#pseudo-device ppp # PPP
|
|
#pseudo-device tun # network tunneling over tty
|
|
#pseudo-device ipfilter # ip filter
|
|
|
|
pseudo-device pty # pseudo-terminals
|
|
pseudo-device vnd # disk-like interface to files
|
|
#pseudo-device ccd # concatenated disk devices
|
|
#pseudo-device fss # file system snapshot device
|
|
|
|
#pseudo-device md # Ramdisk driver
|
|
pseudo-device clockctl # user control of clock subsystem
|
|
pseudo-device openfirm # /dev/openfirm
|