PANDABOARD revision 239281
1239281Sgonzo# PANDABOARD -- Custom configuration for the PandaBoard ARM development
2239281Sgonzo# platform, check out www.pandaboard.org
3239281Sgonzo#
4239281Sgonzo# For more information on this file, please read the handbook section on
5239281Sgonzo# Kernel Configuration Files:
6239281Sgonzo#
7239281Sgonzo#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8239281Sgonzo#
9239281Sgonzo# The handbook is also available locally in /usr/share/doc/handbook
10239281Sgonzo# if you've installed the doc distribution, otherwise always see the
11239281Sgonzo# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12239281Sgonzo# latest information.
13239281Sgonzo#
14239281Sgonzo# An exhaustive list of options and more detailed explanations of the
15239281Sgonzo# device lines is also present in the ../../conf/NOTES and NOTES files. 
16239281Sgonzo# If you are in doubt as to the purpose or necessity of a line, check first 
17239281Sgonzo# in NOTES.
18239281Sgonzo#
19239281Sgonzo# $FreeBSD: head/sys/arm/conf/PANDABOARD 239281 2012-08-15 06:31:32Z gonzo $
20239281Sgonzo
21239281Sgonzoident		PANDABOARD
22239281Sgonzo
23239281Sgonzo
24239281Sgonzo
25239281Sgonzo# This probably wants to move somewhere else.  Maybe we can create a basic
26239281Sgonzo# OMAP4340 config, then make a PANDABOARD config that includes the basic one,
27239281Sgonzo# adds the start addresses and custom devices plus pulls in this hints file.
28239281Sgonzo
29239281Sgonzohints       "PANDABOARD.hints"
30239281Sgonzo
31239281Sgonzoinclude     "../ti/omap4/pandaboard/std.pandaboard"
32239281Sgonzo
33239281Sgonzo#To statically compile in device wiring instead of /boot/device.hints
34239281Sgonzomakeoptions	MODULES_OVERRIDE=""
35239281Sgonzomakeoptions WITHOUT_MODULES="ahc"
36239281Sgonzo
37239281Sgonzomakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
38239281Sgonzooptions 	HZ=100
39239281Sgonzo
40239281Sgonzooptions 	SCHED_4BSD		#4BSD scheduler
41239281Sgonzooptions 	INET			#InterNETworking
42239281Sgonzo#options 	INET6			#IPv6 communications protocols
43239281Sgonzooptions 	FFS			#Berkeley Fast Filesystem
44239281Sgonzooptions 	SOFTUPDATES		#Enable FFS soft updates support
45239281Sgonzooptions 	UFS_ACL			#Support for access control lists
46239281Sgonzooptions 	UFS_DIRHASH		#Improve performance on big directories
47239281Sgonzooptions 	NFSCLIENT		#Network Filesystem Client
48239281Sgonzodevice		snp
49239281Sgonzo#options		NFSCL
50239281Sgonzo#options 	NFSSERVER		#Network Filesystem Server
51239281Sgonzooptions 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
52239281Sgonzooptions		BREAK_TO_DEBUGGER
53239281Sgonzooptions		BOOTP_NFSROOT
54239281Sgonzooptions		BOOTP_COMPAT
55239281Sgonzooptions		BOOTP
56239281Sgonzooptions		BOOTP_NFSV3
57239281Sgonzooptions		BOOTP_WIRED_TO=ue0
58239281Sgonzooptions 	MSDOSFS			#MSDOS Filesystem
59239281Sgonzo#options 	CD9660			#ISO 9660 Filesystem
60239281Sgonzo#options 	PROCFS			#Process filesystem (requires PSEUDOFS)
61239281Sgonzooptions 	PSEUDOFS		#Pseudo-filesystem framework
62239281Sgonzooptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
63239281Sgonzooptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
64239281Sgonzooptions 	KTRACE			#ktrace(1) support
65239281Sgonzooptions 	SYSVSHM			#SYSV-style shared memory
66239281Sgonzooptions 	SYSVMSG			#SYSV-style message queues
67239281Sgonzooptions 	SYSVSEM			#SYSV-style semaphores
68239281Sgonzooptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
69239281Sgonzooptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
70239281Sgonzo
71239281Sgonzooptions 	PREEMPTION
72239281Sgonzo
73239281Sgonzo# MMC/SD/SDIO Card slot support
74239281Sgonzodevice		mmc				# mmc/sd bus
75239281Sgonzodevice		mmcsd			# mmc/sd flash cards
76239281Sgonzo
77239281Sgonzo# I2C support
78239281Sgonzodevice		iicbus
79239281Sgonzodevice		iic
80239281Sgonzodevice		ti_i2c
81239281Sgonzo
82239281Sgonzodevice		loop
83239281Sgonzodevice		ether
84239281Sgonzodevice		mii
85239281Sgonzodevice		smc
86239281Sgonzodevice		smcphy
87239281Sgonzodevice		uart
88239281Sgonzodevice		uart_ns8250
89239281Sgonzo
90239281Sgonzodevice		gpio
91239281Sgonzo
92239281Sgonzodevice		pty
93239281Sgonzo
94239281Sgonzodevice		pl310			#  PL310 L2 cache controller
95239281Sgonzo# Debugging for use in -current
96239281Sgonzo#options		VERBOSE_SYSINIT		#Enable verbose sysinit messages
97239281Sgonzooptions 	KDB
98239281Sgonzooptions 	DDB			#Enable the kernel debugger
99239281Sgonzo#options 	INVARIANTS		#Enable calls of extra sanity checking
100239281Sgonzo#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
101239281Sgonzo#options 	WITNESS			#Enable checks to detect deadlocks and cycles
102239281Sgonzo#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
103239281Sgonzo#options 	DIAGNOSTIC
104239281Sgonzo
105239281Sgonzodevice		md
106239281Sgonzo
107239281Sgonzo# The following enables MFS as root, this seems similar to an initramfs or initrd
108239281Sgonzo# as used in Linux.
109239281Sgonzo# options		MD_ROOT
110239281Sgonzo# options		MD_ROOT_SIZE=7560
111239281Sgonzo
112239281Sgonzodevice		random		# Entropy device
113239281Sgonzo
114239281Sgonzo# USB support
115239281Sgonzodevice		usb
116239281Sgonzooptions 	USB_DEBUG
117239281Sgonzo#options	USB_REQ_DEBUG
118239281Sgonzo#options		USB_VERBOSE
119239281Sgonzodevice		ohci
120239281Sgonzodevice		ehci
121239281Sgonzodevice		umass
122239281Sgonzodevice		scbus		# SCSI bus (required for SCSI)
123239281Sgonzodevice		da		# Direct Access (disks)
124239281Sgonzo
125239281Sgonzo
126239281Sgonzo# USB Ethernet support, requires miibus
127239281Sgonzodevice		miibus
128239281Sgonzo# device		axe			# ASIX Electronics USB Ethernet
129239281Sgonzodevice		smsc		# SMSC LAN95xx USB Ethernet
130239281Sgonzo
131239281Sgonzo
132239281Sgonzo# OMAP-specific devices
133239281Sgonzodevice		ti_sdma
134239281Sgonzodevice		twl
135239281Sgonzodevice		twl_vreg
136239281Sgonzodevice		twl_clks
137239281Sgonzo
138239281Sgonzo# Flattened Device Tree
139239281Sgonzooptions         FDT
140239281Sgonzooptions         FDT_DTB_STATIC
141239281Sgonzomakeoptions     FDT_DTS_FILE=pandaboard.dts
142239281Sgonzo
143239281Sgonzo# device		vfp			# vfp/neon
144239281Sgonzo# options		ARM_VFP_SUPPORT		# vfp/neon
145