RPI revision 1.29
1# 2# $NetBSD: RPI,v 1.29 2013/03/24 13:56:24 jmcneill Exp $ 3# 4# RPi -- Raspberry Pi 5# 6 7include "arch/evbarm/conf/std.rpi" 8 9# estimated number of users 10 11maxusers 32 12 13# Standard system options 14 15options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 16#options NTP # NTP phase/frequency locked loop 17 18# CPU options 19 20options CPU_ARM1176 21options BCM2835 22options PMAPCOUNTERS 23options FPU_VFP 24 25# Architecture options 26 27# File systems 28 29file-system FFS # UFS 30#file-system LFS # log-structured file system 31file-system MFS # memory file system 32file-system NFS # Network file system 33#file-system ADOSFS # AmigaDOS-compatible file system 34file-system EXT2FS # second extended file system (linux) 35#file-system CD9660 # ISO 9660 + Rock Ridge file system 36file-system MSDOSFS # MS-DOS file system 37#file-system FDESC # /dev/fd 38file-system KERNFS # /kern 39file-system NULLFS # loopback file system 40file-system PROCFS # /proc 41#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 42#file-system UMAPFS # NULLFS + uid and gid remapping 43#file-system UNION # union file system 44file-system TMPFS # memory file system 45file-system PTYFS # /dev/pts/N support 46 47# File system options 48options QUOTA # legacy UFS quotas 49options QUOTA2 # new, in-filesystem UFS quotas 50#options FFS_EI # FFS Endian Independent support 51#options NFSSERVER 52options WAPBL # File system journaling support 53#options FFS_NO_SNAPSHOT # No FFS snapshot support 54 55# Networking options 56 57#options GATEWAY # packet forwarding 58options INET # IP + ICMP + TCP + UDP 59options INET6 # IPV6 60#options IPSEC # IP security 61#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 62#options IPSEC_DEBUG # debug for IP security 63#options MROUTING # IP multicast routing 64#options PIM # Protocol Independent Multicast 65#options NS # XNS 66#options NSIP # XNS tunneling over IP 67#options CCITT,LLC,HDLC # X.25 68#options NETATALK # AppleTalk networking 69#options PFIL_HOOKS # pfil(9) packet filter hooks 70#options PPP_BSDCOMP # BSD-Compress compression support for PPP 71#options PPP_DEFLATE # Deflate compression support for PPP 72#options PPP_FILTER # Active filter support for PPP (requires bpf) 73#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 74 75#options NFS_BOOT_BOOTP 76#options NFS_BOOT_DHCP 77#options NFS_BOOT_BOOTSTATIC 78#options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" 79#options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" 80#options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 81#options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" 82#options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" 83 84options NFS_BOOT_RWSIZE=1024 85 86# Compatibility options 87 88#options COMPAT_43 # 4.3BSD compatibility. 89options COMPAT_60 # NetBSD 6.0 compatibility. 90#options COMPAT_50 # NetBSD 5.0 compatibility. 91#options COMPAT_40 # NetBSD 4.0 compatibility. 92#options COMPAT_30 # NetBSD 3.0 compatibility. 93#options COMPAT_20 # NetBSD 2.0 compatibility. 94#options COMPAT_16 # NetBSD 1.6 compatibility. 95#options COMPAT_15 # NetBSD 1.5 compatibility. 96#options COMPAT_14 # NetBSD 1.4 compatibility. 97#options COMPAT_13 # NetBSD 1.3 compatibility. 98#options COMPAT_12 # NetBSD 1.2 compatibility. 99#options COMPAT_11 # NetBSD 1.1 compatibility. 100#options COMPAT_10 # NetBSD 1.0 compatibility. 101#options COMPAT_09 # NetBSD 0.9 compatibility. 102#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 103#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 104 105# Shared memory options 106 107options SYSVMSG # System V-like message queues 108options SYSVSEM # System V-like semaphores 109#options SEMMNI=10 # number of semaphore identifiers 110#options SEMMNS=60 # number of semaphores in system 111#options SEMUME=10 # max number of undo entries per process 112#options SEMMNU=30 # number of undo structures in system 113options SYSVSHM # System V-like memory sharing 114 115# Device options 116 117#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 118#options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks 119#options MEMORY_DISK_DYNAMIC 120#options MINIROOTSIZE=1000 # Size in blocks 121#options MEMORY_DISK_IS_ROOT # use memory disk as root 122 123# Miscellaneous kernel options 124options KTRACE # system call tracing, a la ktrace(1) 125#options KMEMSTATS # kernel memory statistics 126#options SCSIVERBOSE # Verbose SCSI errors 127#options MIIVERBOSE # Verbose MII autoconfuration messages 128#options DDB_KEYCODE=0x40 129#options USERCONF # userconf(4) support 130#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 131 132# Development and Debugging options 133#options PERFCTRS # performance counters 134options DIAGNOSTIC # internally consistency checks 135options DEBUG 136#options LOCKDEBUG 137#options IPKDB # remote kernel debugging 138#options VERBOSE_INIT_ARM # verbose bootstraping messages 139options DDB # in-kernel debugger 140options DDB_ONPANIC=1 141options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 142#options KGDB 143makeoptions DEBUG="-g" # compile full symbol table 144options SYMTAB_SPACE=800000 145options PLCONSOLE 146#options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00 147 148## USB Debugging options 149options USB_DEBUG 150#options EHCI_DEBUG 151#options OHCI_DEBUG 152#options UHUB_DEBUG 153 154 155# Valid options for BOOT_ARGS: 156# single Boot to single user only 157# kdb Give control to kernel debugger 158# ask Ask for file name to reboot from 159# pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> 160# memorydisk=<n> Set memorydisk size to <n> KB 161# quiet Show aprint_naive output 162# verbose Show aprint_normal and aprint_verbose output 163#options BOOT_ARGS="\"\"" 164 165config netbsd root on ? type ? 166 167# The main bus device 168mainbus0 at root 169 170# The cpu 171cpu0 at mainbus? 172 173# OBIO 174obio0 at mainbus? 175 176# Interrupt Controller 177bcmicu0 at obio? 178 179# VC Mailbox 180bcmmbox0 at obio? 181vcmbox0 at bcmmbox0 182 183# VCHIQ 184#vchiq0 at obio? 185 186# PL011 uart 187plcom0 at obio? 188 189# Framebuffer console 190genfb0 at obio? 191wsdisplay* at genfb? 192 193# System timer 194bcmtmr0 at obio? 195 196# Power management, Reset controller and Watchdog registers 197bcmpm0 at obio? 198 199# Random number generator 200bcmrng0 at obio? 201 202# Arasan SD/MMC Interface 203sdhc* at obio? 204sdmmc* at sdhc? 205 206ld* at sdmmc? 207 208# On-board USB 209dotg* at obio? 210usb* at dotg? 211 212# USB device drivers, just as soon as we have something to attach them to 213include "dev/usb/usbdevices.config" 214 215ukphy* at mii? phy ? 216 217# Broadcom Serial Control (I2C) 218bsciic* at obio? 219iic* at i2cbus? 220 221# SPI controller 222bcmspi* at obio? 223spi* at spibus? 224 225# various options for wscons - we try to look as much like a standard 226# sun console as possible 227options WSEMUL_VT100 # sun terminal emulation 228options WS_DEFAULT_FG=WSCOL_WHITE 229options WS_DEFAULT_BG=WSCOL_BLACK 230options WS_KERNEL_FG=WSCOL_GREEN 231options WS_KERNEL_BG=WSCOL_BLACK 232options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 233options WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls 234options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 235options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 236options WSDISPLAY_DEFAULTSCREENS=4 237 238#options FONT_QVSS8x15 239#options FONT_GALLANT12x22 # the console font 240 241# Pseudo-Devices 242 243# disk/mass storage pseudo-devices 244#pseudo-device fss # file system snapshot device 245 246pseudo-device md # memory disk device (ramdisk) 247pseudo-device vnd # disk-like interface to files 248#pseudo-device putter # for puffs and pud 249 250# network pseudo-devices 251pseudo-device bpfilter # Berkeley packet filter 252#pseudo-device carp # Common Address Redundancy Protocol 253#pseudo-device ipfilter # IP filter (firewall) and NAT 254pseudo-device loop # network loopback 255#pseudo-device kttcp # network loopback 256#pseudo-device ppp # Point-to-Point Protocol 257#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 258#options PPPOE_SERVER # Enable PPPoE server via link0 259#pseudo-device sl # Serial Line IP 260#pseudo-device strip # Starmode Radio IP (Metricom) 261#pseudo-device irframetty # IrDA frame line discipline 262#pseudo-device tap # virtual Ethernet 263#pseudo-device tun # network tunneling over tty 264#pseudo-device gre # generic L3 over IP tunnel 265#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 266#pseudo-device faith # IPv[46] TCP relay translation i/f 267#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 268#pseudo-device vlan # IEEE 802.1q encapsulation 269#pseudo-device bridge # simple inter-network bridging 270#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 271#pseudo-device agr # IEEE 802.3ad link aggregation 272#pseudo-device pf # PF packet filter 273#pseudo-device pflog # PF log if 274 275# miscellaneous pseudo-devices 276pseudo-device pty # pseudo-terminals 277#options RND_COM 278#pseudo-device clockctl # user control of clock subsystem 279pseudo-device ksyms # /dev/ksyms 280pseudo-device lockstat # lock profiling 281 282# wscons pseudo-devices 283pseudo-device wsmux # mouse & keyboard multiplexor 284pseudo-device wsfont 285 286# data mover pseudo-devices 287#pseudo-device swdmover # software dmover(9) back-end 288#pseudo-device dmoverio # /dev/dmover dmover(9) interface 289 290# userland interface to drivers, including autoconf and properties retrieval 291pseudo-device drvctl 292 293# local configuration 294cinclude "arch/evbarm/conf/RPI.local" 295