# $NetBSD: OFWGENCFG,v 1.49 2018/08/01 20:04:14 maxv 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
include "conf/compat_netbsd12.config"
# 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 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
pseudo-device ksyms
#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 npf # NPF packet 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