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