Home | History | Annotate | Line # | Download | only in conf
RPI revision 1.5
      1 #
      2 #	$NetBSD: RPI,v 1.5 2012/08/20 08:38:32 skrll Exp $
      3 #
      4 #	RPi -- Raspberry Pi
      5 #
      6 
      7 include	"arch/evbarm/conf/std.rpi"
      8 
      9 # estimated number of users
     10 
     11 maxusers	32
     12 
     13 # Standard system options
     14 
     15 options 	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 
     20 options 	CPU_ARM1176
     21 options 	BCM2835
     22 options 	PMAPCOUNTERS
     23 options 	FPU_VFP
     24 
     25 # Architecture options
     26 
     27 # File systems
     28 
     29 file-system	FFS		# UFS
     30 #file-system	LFS		# log-structured file system
     31 file-system	MFS		# memory file system
     32 file-system	NFS		# Network file system
     33 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     34 file-system 	EXT2FS		# second extended file system (linux)
     35 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     36 file-system	MSDOSFS		# MS-DOS file system
     37 #file-system	FDESC		# /dev/fd
     38 file-system	KERNFS		# /kern
     39 file-system	NULLFS		# loopback file system
     40 file-system	PROCFS		# /proc
     41 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     42 #file-system	UNION		# union file system
     43 file-system	TMPFS		# memory file system
     44 file-system	PTYFS		# /dev/pts/N support
     45 
     46 # File system options
     47 options 	QUOTA		# legacy UFS quotas
     48 options 	QUOTA2		# new, in-filesystem UFS quotas
     49 #options 	FFS_EI		# FFS Endian Independent support
     50 #options 	NFSSERVER
     51 options 	WAPBL		# File system journaling support
     52 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     53 
     54 # Networking options
     55 
     56 #options 	GATEWAY		# packet forwarding
     57 options 	INET		# IP + ICMP + TCP + UDP
     58 options 	INET6		# IPV6
     59 #options 	IPSEC		# IP security
     60 #options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
     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 	ISO,TPIP	# OSI
     68 #options 	EON		# OSI tunneling over IP
     69 #options 	CCITT,LLC,HDLC	# X.25
     70 #options 	NETATALK	# AppleTalk networking
     71 #options 	PFIL_HOOKS	# pfil(9) packet filter hooks
     72 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     73 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     74 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     75 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     76 
     77 #options 	NFS_BOOT_BOOTP
     78 #options 	NFS_BOOT_DHCP
     79 #options		NFS_BOOT_BOOTSTATIC
     80 #options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
     81 #options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
     82 #options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
     83 #options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
     84 #options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
     85 
     86 options		NFS_BOOT_RWSIZE=1024
     87 
     88 # Compatibility options
     89 
     90 #options 	COMPAT_43	# 4.3BSD compatibility.
     91 #options 	COMPAT_50	# NetBSD 5.0 compatibility.
     92 #options 	COMPAT_40	# NetBSD 4.0 compatibility.
     93 #options 	COMPAT_30	# NetBSD 3.0 compatibility.
     94 #options 	COMPAT_20	# NetBSD 2.0 compatibility.
     95 #options 	COMPAT_16	# NetBSD 1.6 compatibility.
     96 #options 	COMPAT_15	# NetBSD 1.5 compatibility.
     97 #options 	COMPAT_14	# NetBSD 1.4 compatibility.
     98 #options 	COMPAT_13	# NetBSD 1.3 compatibility.
     99 #options 	COMPAT_12	# NetBSD 1.2 compatibility.
    100 #options 	COMPAT_11	# NetBSD 1.1 compatibility.
    101 #options 	COMPAT_10	# NetBSD 1.0 compatibility.
    102 #options 	COMPAT_09	# NetBSD 0.9 compatibility.
    103 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    104 #options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    105 
    106 # Shared memory options
    107 
    108 options 	SYSVMSG		# System V-like message queues
    109 options 	SYSVSEM		# System V-like semaphores
    110 #options 	SEMMNI=10	# number of semaphore identifiers
    111 #options 	SEMMNS=60	# number of semaphores in system
    112 #options 	SEMUME=10	# max number of undo entries per process
    113 #options 	SEMMNU=30	# number of undo structures in system
    114 options 	SYSVSHM		# System V-like memory sharing
    115 
    116 # Device options
    117 
    118 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    119 #options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
    120 #options 	MEMORY_DISK_DYNAMIC
    121 #options 	MINIROOTSIZE=1000	# Size in blocks
    122 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    123 
    124 # Miscellaneous kernel options
    125 options 	KTRACE		# system call tracing, a la ktrace(1)
    126 #options 	KMEMSTATS	# kernel memory statistics
    127 #options 	SCSIVERBOSE	# Verbose SCSI errors
    128 #options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    129 #options 	DDB_KEYCODE=0x40
    130 #options 	USERCONF	# userconf(4) support
    131 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    132 
    133 # Development and Debugging options
    134 #options 	PERFCTRS	# performance counters
    135 options 	DIAGNOSTIC	# internally consistency checks
    136 options 	DEBUG
    137 #options 	IPKDB		# remote kernel debugging
    138 options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    139 options 	DDB		# in-kernel debugger
    140 options		DDB_ONPANIC=1
    141 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    142 #options 	KGDB
    143 makeoptions	DEBUG="-g"	# compile full symbol table
    144 options 	SYMTAB_SPACE=500000
    145 options 	PLCONSOLE
    146 #options 	PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00
    147 
    148 ## USB Debugging options
    149 options 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 
    165 config		netbsd		root on ld0a type ?
    166 
    167 # The main bus device
    168 mainbus0	at root
    169 
    170 # The cpu
    171 cpu0		at mainbus?
    172 
    173 # OBIO
    174 obio0		at mainbus?
    175 
    176 # Interrupt Controller
    177 bcmicu0		at obio?
    178 
    179 # VC Mailbox
    180 bcmmbox0	at obio?
    181 
    182 # PL011 uart
    183 plcom0		at obio?
    184 
    185 # System timer
    186 bcmtmr0		at obio?
    187 
    188 # Power management, Reset controller and Watchdog registers
    189 bcmpm0		at obio?
    190 
    191 # Arasan SD/MMC Interface
    192 sdhc* at obio?
    193 sdmmc*  at sdhc?
    194 
    195 ld*     at sdmmc?
    196 
    197 # various options for wscons - we try to look as much like a standard
    198 # sun console as possible
    199 options 	WSEMUL_VT100		# sun terminal emulation
    200 options 	WS_DEFAULT_FG=WSCOL_WHITE
    201 options 	WS_DEFAULT_BG=WSCOL_BLACK
    202 options 	WS_KERNEL_FG=WSCOL_GREEN
    203 options 	WS_KERNEL_BG=WSCOL_BLACK
    204 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    205 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    206 options 	WSDISPLAY_DEFAULTSCREENS=4
    207 options		FONT_QVSS8x15
    208 #options 	FONT_GALLANT12x22	# the console font
    209 
    210 pseudo-device	wsmux			# mouse & keyboard multiplexor
    211 pseudo-device	wsfont
    212 
    213 # On-board USB - some day soon(tm)
    214 #uhub*		at usb?
    215 #uhub*		at uhub? port ?
    216 #umass*		at uhub? port ? configuration ? interface ?
    217 #wd*		at umass?
    218 #uhidev*		at uhub?
    219 #ukbd*		at uhidev?
    220 #ums*		at uhidev?
    221 #wskbd*		at ukbd?
    222 #wsmouse*	at ums?
    223 
    224 #axe*		at uhub? port ? configuration ? interface ?
    225 
    226 # Pseudo-Devices
    227 
    228 # disk/mass storage pseudo-devices
    229 pseudo-device	md			# memory disk device (ramdisk)
    230 pseudo-device	vnd			# disk-like interface to files
    231 #pseudo-device	fss			# file system snapshot device
    232 
    233 # network pseudo-devices
    234 pseudo-device	bpfilter		# Berkeley packet filter
    235 pseudo-device	loop			# network loopback
    236 #pseudo-device	kttcp			# network loopback
    237 
    238 # miscellaneous pseudo-devices
    239 pseudo-device	pty			# pseudo-terminals
    240 #options	RND_COM
    241 #pseudo-device	clockctl		# user control of clock subsystem
    242 pseudo-device	ksyms			# /dev/ksyms
    243