PANDABOARD revision 278699
1#
2# PANDABOARD -- Custom configuration for the PandaBoard ARM development
3# platform, check out www.pandaboard.org
4#
5# For more information on this file, please read the config(5) manual page,
6# and/or the handbook section on Kernel Configuration Files:
7#
8#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9#
10# The handbook is also available locally in /usr/share/doc/handbook
11# if you've installed the doc distribution, otherwise always see the
12# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13# latest information.
14#
15# An exhaustive list of options and more detailed explanations of the
16# device lines is also present in the ../../conf/NOTES and NOTES files.
17# If you are in doubt as to the purpose or necessity of a line, check first
18# in NOTES.
19#
20# $FreeBSD: stable/10/sys/arm/conf/PANDABOARD 278699 2015-02-13 20:15:10Z ian $
21
22ident		PANDABOARD
23
24# This probably wants to move somewhere else.  Maybe we can create a basic
25# OMAP4340 config, then make a PANDABOARD config that includes the basic one,
26# adds the start addresses and custom devices plus pulls in this hints file.
27
28hints		"PANDABOARD.hints"
29
30include 	"../ti/omap4/pandaboard/std.pandaboard"
31
32makeoptions	MODULES_OVERRIDE=""
33makeoptions	WITHOUT_MODULES="ahc"
34
35options 	HZ=100
36options 	SCHED_ULE		# ULE scheduler
37options 	PREEMPTION		# Enable kernel thread preemption
38options 	INET			# InterNETworking
39options 	INET6			# IPv6 communications protocols
40options 	SCTP			# Stream Control Transmission Protocol
41options 	FFS			# Berkeley Fast Filesystem
42options 	SOFTUPDATES		# Enable FFS soft updates support
43options 	UFS_ACL			# Support for access control lists
44options 	UFS_DIRHASH		# Improve performance on big directories
45options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
46options 	QUOTA			# Enable disk quotas for UFS
47options 	NFSCL			# New Network Filesystem Client
48options 	NFSLOCKD		# Network Lock Manager
49options 	NFS_ROOT		# NFS usable as /, requires NFSCL
50options 	MSDOSFS			# MSDOS Filesystem
51options 	CD9660			# ISO 9660 Filesystem
52options 	PROCFS			# Process filesystem (requires PSEUDOFS)
53options 	PSEUDOFS		# Pseudo-filesystem framework
54options 	TMPFS			# Efficient memory filesystem
55options 	GEOM_PART_GPT		# GUID Partition Tables
56options 	GEOM_PART_BSD		# BSD partition scheme
57options 	GEOM_PART_MBR		# MBR partition scheme
58options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
59options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
60options 	KTRACE			# ktrace(1) support
61options 	SYSVSHM			# SYSV-style shared memory
62options 	SYSVMSG			# SYSV-style message queues
63options 	SYSVSEM			# SYSV-style semaphores
64options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
65options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
66options 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
67options 	VFP			# Enable floating point hardware support
68options 	SMP			# Enable multiple cores
69
70# Debugging for use in -current
71makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
72options 	BREAK_TO_DEBUGGER
73#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
74options 	KDB			# Enable kernel debugger support
75# For minimum debugger support (stable branch) use:
76#options 	KDB_TRACE		# Print a stack trace for a panic
77# For full debugger support use this instead:
78options 	DDB			# Enable the kernel debugger
79#options 	INVARIANTS		# Enable calls of extra sanity checking
80#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
81#options 	WITNESS			# Enable checks to detect deadlocks and cycles
82#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
83#options 	DIAGNOSTIC
84
85# NFS root from boopt/dhcp
86#options 	BOOTP
87#options 	BOOTP_NFSROOT
88#options 	BOOTP_COMPAT
89#options 	BOOTP_NFSV3
90#options 	BOOTP_WIRED_TO=ue0
91
92# MMC/SD/SDIO Card slot support
93device		mmc			# mmc/sd bus
94device		mmcsd			# mmc/sd flash cards
95device		sdhci			# mmc/sd host controller
96
97# I2C support
98device		iicbus
99device		iic
100device		ti_i2c
101
102# Console and misc
103device		uart
104device		uart_ns8250
105device		pty
106device		snp
107device		md
108device		random			# Entropy device
109device		pl310			# PL310 L2 cache controller
110
111# GPIO
112device		gpio
113
114# The following enables MFS as root, this seems similar to an initramfs or initrd
115# as used in Linux.
116#options 	MD_ROOT
117#options 	MD_ROOT_SIZE=7560
118
119
120
121# USB support
122device		usb
123options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
124options 	USB_DEBUG
125#options 	USB_REQ_DEBUG
126#options 	USB_VERBOSE
127device		ohci
128device		ehci
129device		umass
130device		scbus			# SCSI bus (required for ATA/SCSI)
131device		da			# Direct Access (disks)
132
133# Ethernet
134device		loop
135device		ether
136device		mii
137device		smc
138device		smcphy
139device		bpf
140
141# USB Ethernet support, requires miibus
142device		miibus
143#device		axe			# ASIX Electronics USB Ethernet
144device		smsc			# SMSC LAN95xx USB Ethernet
145
146
147# OMAP-specific devices
148device		ti_sdma
149device		twl
150device		twl_vreg
151device		twl_clks
152
153# Flattened Device Tree
154options 	FDT			# Configure using FDT/DTB data
155options 	FDT_DTB_STATIC
156makeoptions	FDT_DTS_FILE=pandaboard.dts
157