Home | History | Annotate | Line # | Download | only in conf
RPI revision 1.61
      1 #
      2 #	$NetBSD: RPI,v 1.61 2015/03/14 14:59:43 jmcneill 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 	PMAPCOUNTERS
     22 options 	TPIDRPRW_IS_CURLWP
     23 options 	ARM11_COMPAT_MMU
     24 options 	__HAVE_MM_MD_CACHE_ALIASING
     25 makeoptions 	CPUFLAGS="-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp"
     26 
     27 # Architecture options
     28 
     29 # File systems
     30 
     31 file-system	FFS		# UFS
     32 #file-system	LFS		# log-structured file system
     33 file-system	MFS		# memory file system
     34 file-system	NFS		# Network file system
     35 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     36 file-system 	EXT2FS		# second extended file system (linux)
     37 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     38 file-system	MSDOSFS		# MS-DOS file system
     39 #file-system	FDESC		# /dev/fd
     40 file-system	KERNFS		# /kern
     41 file-system	NULLFS		# loopback file system
     42 file-system	PROCFS		# /proc
     43 file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     44 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     45 #file-system	UNION		# union file system
     46 file-system	TMPFS		# memory file system
     47 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
     48 #file-system	HFS		# experimental - Apple HFS+ (read-only)
     49 #file-system	NILFS		# experimental - NTT's NiLFS(2)
     50 file-system	PTYFS		# /dev/pts/N support
     51 
     52 # File system options
     53 options 	QUOTA		# legacy UFS quotas
     54 options 	QUOTA2		# new, in-filesystem UFS quotas
     55 #options 	FFS_EI		# FFS Endian Independent support
     56 #options 	NFSSERVER
     57 options 	WAPBL		# File system journaling support
     58 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     59 
     60 # Networking options
     61 
     62 #options 	GATEWAY		# packet forwarding
     63 options 	INET		# IP + ICMP + TCP + UDP
     64 options 	INET6		# IPV6
     65 #options 	IPSEC		# IP security
     66 #options 	IPSEC_DEBUG	# debug for IP security
     67 #options 	MROUTING	# IP multicast routing
     68 #options 	PIM		# Protocol Independent Multicast
     69 #options 	NETATALK	# AppleTalk networking
     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 
     84 options		NFS_BOOT_RWSIZE=1024
     85 
     86 # Compatibility options
     87 
     88 options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
     89 #options 	COMPAT_43	# 4.3BSD compatibility.
     90 #options 	COMPAT_09	# NetBSD 0.9,
     91 #options 	COMPAT_10	# NetBSD 1.0,
     92 #options 	COMPAT_11	# NetBSD 1.1,
     93 #options 	COMPAT_12	# NetBSD 1.2,
     94 #options 	COMPAT_13	# NetBSD 1.3,
     95 #options 	COMPAT_14	# NetBSD 1.4,
     96 #options 	COMPAT_15	# NetBSD 1.5,
     97 #options 	COMPAT_16	# NetBSD 1.6,
     98 #options 	COMPAT_20	# NetBSD 2.0,
     99 #options 	COMPAT_30	# NetBSD 3.0,
    100 #options 	COMPAT_40	# NetBSD 4.0,
    101 #options 	COMPAT_50	# NetBSD 5.0,
    102 options 	COMPAT_60	# NetBSD 6.0, and
    103 options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
    104 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    105 #options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    106 
    107 # Shared memory options
    108 
    109 options 	SYSVMSG		# System V-like message queues
    110 options 	SYSVSEM		# System V-like semaphores
    111 #options 	SEMMNI=10	# number of semaphore identifiers
    112 #options 	SEMMNS=60	# number of semaphores in system
    113 #options 	SEMUME=10	# max number of undo entries per process
    114 #options 	SEMMNU=30	# number of undo structures in system
    115 options 	SYSVSHM		# System V-like memory sharing
    116 
    117 # Device options
    118 
    119 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    120 #options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
    121 #options 	MEMORY_DISK_DYNAMIC
    122 #options 	MINIROOTSIZE=1000	# Size in blocks
    123 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    124 
    125 # Miscellaneous kernel options
    126 options 	KTRACE		# system call tracing, a la ktrace(1)
    127 #options 	KMEMSTATS	# kernel memory statistics
    128 #options 	SCSIVERBOSE	# Verbose SCSI errors
    129 #options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    130 #options 	DDB_KEYCODE=0x40
    131 #options 	USERCONF	# userconf(4) support
    132 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    133 
    134 # Development and Debugging options
    135 #options 	PERFCTRS	# performance counters
    136 options 	DIAGNOSTIC	# internal consistency checks
    137 options 	DEBUG
    138 #options 	LOCKDEBUG
    139 #options 	IPKDB		# remote kernel debugging
    140 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    141 options 	DDB		# in-kernel debugger
    142 options		DDB_ONPANIC=1
    143 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    144 #options 	KGDB,KGDB_PLCOMUNIT=0,KGDB_DEVRATE=115200,KGDB_CONMODE=0xB00
    145 makeoptions	DEBUG="-g"	# compile full symbol table
    146 makeoptions	COPY_SYMTAB=1
    147 options 	PLCONSOLE
    148 #options 	PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00
    149 
    150 ## USB Debugging options
    151 options USB_DEBUG
    152 #options EHCI_DEBUG
    153 #options OHCI_DEBUG
    154 #options UHUB_DEBUG
    155 
    156 
    157 # Valid options for BOOT_ARGS:
    158 #  single		Boot to single user only
    159 #  kdb			Give control to kernel debugger
    160 #  ask			Ask for file name to reboot from
    161 #  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
    162 #  memorydisk=<n>	Set memorydisk size to <n> KB
    163 #  quiet		Show aprint_naive output
    164 #  verbose		Show aprint_normal and aprint_verbose output
    165 #options		BOOT_ARGS="\"\""
    166 
    167 config		netbsd		root on ? type ?
    168 
    169 # The main bus device
    170 mainbus0	at root
    171 
    172 # The CPU(s)
    173 cpu*		at mainbus?
    174 
    175 # OBIO
    176 obio0		at mainbus?
    177 
    178 # Interrupt Controller
    179 bcmicu0		at obio?
    180 
    181 # VC Mailbox
    182 bcmmbox0	at obio?
    183 vcmbox0 	at bcmmbox0
    184 
    185 # DMA Controller
    186 bcmdmac0	at obio?
    187 
    188 # VCHIQ
    189 vchiq0		at obio?
    190 
    191 # AUDS
    192 vcaudio0	at vchiq0
    193 audio0		at vcaudio0
    194 
    195 # PL011 uart
    196 plcom0		at obio?
    197 
    198 # Framebuffer console
    199 genfb0		at obio?
    200 wsdisplay*	at genfb?
    201 options		VCONS_DRAW_INTR
    202 #options 	RPI_HWCURSOR
    203 
    204 # System timer
    205 bcmtmr0		at obio?
    206 
    207 # Power management, Reset controller and Watchdog registers
    208 bcmpm0		at obio?
    209 
    210 # Random number generator
    211 bcmrng0 	at obio?
    212 
    213 # GPIO
    214 bcmgpio0	at obio?	# pins  0 ... 31
    215 bcmgpio1	at obio?	# pins 32 ... 53
    216 
    217 # Arasan SD/MMC Interface
    218 sdhc* at obio?
    219 sdmmc*  at sdhc?
    220 
    221 ld*     at sdmmc?
    222 
    223 # On-board USB
    224 dwctwo* 	at obio?
    225 usb* 		at dwctwo?
    226 
    227 # USB device drivers
    228 include "dev/usb/usbdevices.config"
    229 
    230 midi*		at midibus?
    231 
    232 # MII/PHY support
    233 exphy* 		at mii? phy ?		# 3Com internal PHYs
    234 gentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
    235 glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
    236 gphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
    237 icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
    238 igphy*		at mii? phy ?		# Intel IGP01E1000
    239 ihphy*		at mii? phy ?		# Intel 82577 PHYs
    240 ikphy*		at mii? phy ?		# Intel 82563 PHYs
    241 inphy*		at mii? phy ?		# Intel 82555 PHYs
    242 iophy*		at mii? phy ?		# Intel 82553 PHYs
    243 lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
    244 makphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
    245 nsphy*		at mii? phy ?		# NS83840 PHYs
    246 nsphyter*	at mii? phy ? 		# NS83843 PHYs
    247 pnaphy*		at mii? phy ?		# generic HomePNA PHYs
    248 qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
    249 rdcphy*		at mii? phy ?		# RDC R6040 10/100 PHY
    250 rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
    251 rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
    252 sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
    253 tlphy*		at mii? phy ?		# ThunderLAN PHYs
    254 tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
    255 urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
    256 ukphy*		at mii? phy ?		# generic unknown PHYs
    257 
    258 # Broadcom Serial Control (I2C)
    259 bsciic* at obio?
    260 iic* at i2cbus?
    261 
    262 # 'DS3231 Raspberry Pi RTC Board Real Time Clock Module for Arduino'
    263 # sold by linksprite.com
    264 #dsrtc* at iic1 addr 0x68 flags 3231
    265 
    266 # SPI controller
    267 bcmspi* at obio?
    268 spi* at spibus?
    269 
    270 # PIFace or other boards using that chip (needs gpio)
    271 #mcp23s17gpio0 at spi? slave 0 flags 0
    272 #mcp23s17gpio1 at spi? slave 0 flags 1
    273 #mcp23s17gpio2 at spi? slave 0 flags 2
    274 #mcp23s17gpio3 at spi? slave 0 flags 3
    275 
    276 # gpio support (e. g. mcp23s17gpio, bcmgpio)
    277 gpio*		at gpiobus?
    278 
    279 # various options for wscons - we try to look as much like a standard
    280 # sun console as possible
    281 options 	WSEMUL_VT100		# sun terminal emulation
    282 options 	WS_DEFAULT_FG=WSCOL_WHITE
    283 options 	WS_DEFAULT_BG=WSCOL_BLACK
    284 options 	WS_KERNEL_FG=WSCOL_GREEN
    285 options 	WS_KERNEL_BG=WSCOL_BLACK
    286 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    287 options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some more ioctls
    288 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    289 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    290 options 	WSDISPLAY_DEFAULTSCREENS=4
    291 
    292 #options 	FONT_QVSS8x15
    293 #options 	FONT_GALLANT12x22	# the console font
    294 
    295 # Pseudo-Devices
    296 
    297 # disk/mass storage pseudo-devices
    298 #pseudo-device	fss			# file system snapshot device
    299 
    300 #pseudo-device	md			# memory disk device (ramdisk)
    301 pseudo-device	vnd			# disk-like interface to files
    302 pseudo-device	putter			# for puffs and pud
    303 
    304 # network pseudo-devices
    305 pseudo-device	bpfilter		# Berkeley packet filter
    306 #pseudo-device	carp			# Common Address Redundancy Protocol
    307 #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    308 pseudo-device	loop			# network loopback
    309 #pseudo-device	kttcp			# network loopback
    310 #pseudo-device	ppp			# Point-to-Point Protocol
    311 #pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    312 #options 	PPPOE_SERVER		# Enable PPPoE server via link0
    313 #pseudo-device	sl			# Serial Line IP
    314 #pseudo-device	strip			# Starmode Radio IP (Metricom)
    315 #pseudo-device	irframetty		# IrDA frame line discipline
    316 #pseudo-device	tap			# virtual Ethernet
    317 #pseudo-device	tun			# network tunneling over tty
    318 #pseudo-device	gre			# generic L3 over IP tunnel
    319 #pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
    320 #pseudo-device	faith			# IPv[46] TCP relay translation i/f
    321 #pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    322 #pseudo-device	vlan			# IEEE 802.1q encapsulation
    323 #pseudo-device	bridge			# simple inter-network bridging
    324 #options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    325 #pseudo-device	agr			# IEEE 802.3ad link aggregation
    326 #pseudo-device	pf			# PF packet filter
    327 #pseudo-device	pflog			# PF log if
    328 
    329 # miscellaneous pseudo-devices
    330 pseudo-device	pty			# pseudo-terminals
    331 #options	RND_COM
    332 #pseudo-device	clockctl		# user control of clock subsystem
    333 pseudo-device	ksyms			# /dev/ksyms
    334 pseudo-device	lockstat		# lock profiling
    335 
    336 # wscons pseudo-devices
    337 pseudo-device	wsmux			# mouse & keyboard multiplexor
    338 pseudo-device	wsfont
    339 
    340 # data mover pseudo-devices
    341 #pseudo-device	swdmover		# software dmover(9) back-end
    342 #pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    343 
    344 # userland interface to drivers, including autoconf and properties retrieval
    345 pseudo-device 	drvctl
    346 
    347 # local configuration
    348 cinclude "arch/evbarm/conf/RPI.local"
    349