1278699Sian#
2239281Sgonzo# PANDABOARD -- Custom configuration for the PandaBoard ARM development
3239281Sgonzo# platform, check out www.pandaboard.org
4239281Sgonzo#
5278699Sian# For more information on this file, please read the config(5) manual page,
6278699Sian# and/or the handbook section on Kernel Configuration Files:
7239281Sgonzo#
8239281Sgonzo#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9239281Sgonzo#
10239281Sgonzo# The handbook is also available locally in /usr/share/doc/handbook
11239281Sgonzo# if you've installed the doc distribution, otherwise always see the
12239281Sgonzo# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13239281Sgonzo# latest information.
14239281Sgonzo#
15239281Sgonzo# An exhaustive list of options and more detailed explanations of the
16278676Sian# device lines is also present in the ../../conf/NOTES and NOTES files.
17278676Sian# If you are in doubt as to the purpose or necessity of a line, check first
18239281Sgonzo# in NOTES.
19239281Sgonzo#
20239281Sgonzo# $FreeBSD: releng/10.3/sys/arm/conf/PANDABOARD 287082 2015-08-23 20:50:22Z ian $
21239281Sgonzo
22239281Sgonzoident		PANDABOARD
23239281Sgonzo
24239281Sgonzo# This probably wants to move somewhere else.  Maybe we can create a basic
25239281Sgonzo# OMAP4340 config, then make a PANDABOARD config that includes the basic one,
26239281Sgonzo# adds the start addresses and custom devices plus pulls in this hints file.
27239281Sgonzo
28278676Sianhints		"PANDABOARD.hints"
29239281Sgonzo
30278676Sianinclude 	"../ti/omap4/pandaboard/std.pandaboard"
31239281Sgonzo
32239281Sgonzooptions 	HZ=100
33278677Sianoptions 	SCHED_ULE		# ULE scheduler
34278699Sianoptions 	PREEMPTION		# Enable kernel thread preemption
35266328Sianoptions 	INET			# InterNETworking
36278676Sianoptions 	INET6			# IPv6 communications protocols
37278699Sianoptions 	SCTP			# Stream Control Transmission Protocol
38266328Sianoptions 	FFS			# Berkeley Fast Filesystem
39266328Sianoptions 	SOFTUPDATES		# Enable FFS soft updates support
40266328Sianoptions 	UFS_ACL			# Support for access control lists
41266328Sianoptions 	UFS_DIRHASH		# Improve performance on big directories
42278699Sianoptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
43278699Sianoptions 	QUOTA			# Enable disk quotas for UFS
44278699Sianoptions 	NFSCL			# New Network Filesystem Client
45278699Sianoptions 	NFSLOCKD		# Network Lock Manager
46278699Sianoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
47266328Sianoptions 	MSDOSFS			# MSDOS Filesystem
48278676Sianoptions 	CD9660			# ISO 9660 Filesystem
49278676Sianoptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
50266328Sianoptions 	PSEUDOFS		# Pseudo-filesystem framework
51278699Sianoptions 	TMPFS			# Efficient memory filesystem
52278699Sianoptions 	GEOM_PART_GPT		# GUID Partition Tables
53278699Sianoptions 	GEOM_PART_BSD		# BSD partition scheme
54278699Sianoptions 	GEOM_PART_MBR		# MBR partition scheme
55285365Sgjboptions 	GEOM_LABEL		# Provides labelization 
56266328Sianoptions 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
57266328Sianoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
58266328Sianoptions 	KTRACE			# ktrace(1) support
59266328Sianoptions 	SYSVSHM			# SYSV-style shared memory
60266328Sianoptions 	SYSVMSG			# SYSV-style message queues
61266328Sianoptions 	SYSVSEM			# SYSV-style semaphores
62278699Sianoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
63239281Sgonzooptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
64278699Sianoptions 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
65278699Sianoptions 	VFP			# Enable floating point hardware support
66278699Sianoptions 	SMP			# Enable multiple cores
67239281Sgonzo
68278676Sian# Debugging for use in -current
69278676Sianmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
70287082Sianoptions 	ALT_BREAK_TO_DEBUGGER
71278676Sian#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
72278699Sianoptions 	KDB			# Enable kernel debugger support
73278699Sian# For minimum debugger support (stable branch) use:
74278699Sian#options 	KDB_TRACE		# Print a stack trace for a panic
75278699Sian# For full debugger support use this instead:
76278676Sianoptions 	DDB			# Enable the kernel debugger
77278676Sian#options 	INVARIANTS		# Enable calls of extra sanity checking
78278676Sian#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
79278676Sian#options 	WITNESS			# Enable checks to detect deadlocks and cycles
80278676Sian#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
81278676Sian#options 	DIAGNOSTIC
82239281Sgonzo
83278699Sian# NFS root from boopt/dhcp
84278699Sian#options 	BOOTP
85278676Sian#options 	BOOTP_NFSROOT
86278676Sian#options 	BOOTP_COMPAT
87278676Sian#options 	BOOTP_NFSV3
88278676Sian#options 	BOOTP_WIRED_TO=ue0
89278676Sian
90239281Sgonzo# MMC/SD/SDIO Card slot support
91266328Siandevice		mmc			# mmc/sd bus
92239281Sgonzodevice		mmcsd			# mmc/sd flash cards
93266751Siandevice		sdhci			# mmc/sd host controller
94239281Sgonzo
95239281Sgonzo# I2C support
96239281Sgonzodevice		iicbus
97239281Sgonzodevice		iic
98239281Sgonzodevice		ti_i2c
99239281Sgonzo
100278676Sian# Console and misc
101239281Sgonzodevice		uart
102239281Sgonzodevice		uart_ns8250
103239281Sgonzodevice		pty
104278676Siandevice		snp
105278676Siandevice		md
106278676Siandevice		random			# Entropy device
107266328Siandevice		pl310			# PL310 L2 cache controller
108239281Sgonzo
109278676Sian# GPIO
110278676Siandevice		gpio
111239281Sgonzo
112239281Sgonzo# The following enables MFS as root, this seems similar to an initramfs or initrd
113239281Sgonzo# as used in Linux.
114240572Sjmg#options 	MD_ROOT
115240572Sjmg#options 	MD_ROOT_SIZE=7560
116239281Sgonzo
117239281Sgonzo
118278676Sian
119239281Sgonzo# USB support
120278676Siandevice		usb
121266086Sianoptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
122239281Sgonzooptions 	USB_DEBUG
123240572Sjmg#options 	USB_REQ_DEBUG
124240572Sjmg#options 	USB_VERBOSE
125239281Sgonzodevice		ohci
126239281Sgonzodevice		ehci
127239281Sgonzodevice		umass
128278676Siandevice		scbus			# SCSI bus (required for ATA/SCSI)
129266328Siandevice		da			# Direct Access (disks)
130239281Sgonzo
131278676Sian# Ethernet
132278676Siandevice		loop
133278676Siandevice		ether
134278676Siandevice		mii
135278676Siandevice		smc
136278676Siandevice		smcphy
137278676Siandevice		bpf
138239281Sgonzo
139239281Sgonzo# USB Ethernet support, requires miibus
140239281Sgonzodevice		miibus
141266328Sian#device		axe			# ASIX Electronics USB Ethernet
142266328Siandevice		smsc			# SMSC LAN95xx USB Ethernet
143239281Sgonzo
144278676Sian
145239281Sgonzo# OMAP-specific devices
146239281Sgonzodevice		ti_sdma
147239281Sgonzodevice		twl
148239281Sgonzodevice		twl_vreg
149239281Sgonzodevice		twl_clks
150239281Sgonzo
151239281Sgonzo# Flattened Device Tree
152278699Sianoptions 	FDT			# Configure using FDT/DTB data
153278699Sianoptions 	FDT_DTB_STATIC
154278699Sianmakeoptions	FDT_DTS_FILE=pandaboard.dts
155