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: releng/10.3/sys/arm/conf/PANDABOARD 287082 2015-08-23 20:50:22Z 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
32options 	HZ=100
33options 	SCHED_ULE		# ULE scheduler
34options 	PREEMPTION		# Enable kernel thread preemption
35options 	INET			# InterNETworking
36options 	INET6			# IPv6 communications protocols
37options 	SCTP			# Stream Control Transmission Protocol
38options 	FFS			# Berkeley Fast Filesystem
39options 	SOFTUPDATES		# Enable FFS soft updates support
40options 	UFS_ACL			# Support for access control lists
41options 	UFS_DIRHASH		# Improve performance on big directories
42options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
43options 	QUOTA			# Enable disk quotas for UFS
44options 	NFSCL			# New Network Filesystem Client
45options 	NFSLOCKD		# Network Lock Manager
46options 	NFS_ROOT		# NFS usable as /, requires NFSCL
47options 	MSDOSFS			# MSDOS Filesystem
48options 	CD9660			# ISO 9660 Filesystem
49options 	PROCFS			# Process filesystem (requires PSEUDOFS)
50options 	PSEUDOFS		# Pseudo-filesystem framework
51options 	TMPFS			# Efficient memory filesystem
52options 	GEOM_PART_GPT		# GUID Partition Tables
53options 	GEOM_PART_BSD		# BSD partition scheme
54options 	GEOM_PART_MBR		# MBR partition scheme
55options 	GEOM_LABEL		# Provides labelization 
56options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
57options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
58options 	KTRACE			# ktrace(1) support
59options 	SYSVSHM			# SYSV-style shared memory
60options 	SYSVMSG			# SYSV-style message queues
61options 	SYSVSEM			# SYSV-style semaphores
62options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
63options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
64options 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
65options 	VFP			# Enable floating point hardware support
66options 	SMP			# Enable multiple cores
67
68# Debugging for use in -current
69makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
70options 	ALT_BREAK_TO_DEBUGGER
71#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
72options 	KDB			# Enable kernel debugger support
73# For minimum debugger support (stable branch) use:
74#options 	KDB_TRACE		# Print a stack trace for a panic
75# For full debugger support use this instead:
76options 	DDB			# Enable the kernel debugger
77#options 	INVARIANTS		# Enable calls of extra sanity checking
78#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
79#options 	WITNESS			# Enable checks to detect deadlocks and cycles
80#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
81#options 	DIAGNOSTIC
82
83# NFS root from boopt/dhcp
84#options 	BOOTP
85#options 	BOOTP_NFSROOT
86#options 	BOOTP_COMPAT
87#options 	BOOTP_NFSV3
88#options 	BOOTP_WIRED_TO=ue0
89
90# MMC/SD/SDIO Card slot support
91device		mmc			# mmc/sd bus
92device		mmcsd			# mmc/sd flash cards
93device		sdhci			# mmc/sd host controller
94
95# I2C support
96device		iicbus
97device		iic
98device		ti_i2c
99
100# Console and misc
101device		uart
102device		uart_ns8250
103device		pty
104device		snp
105device		md
106device		random			# Entropy device
107device		pl310			# PL310 L2 cache controller
108
109# GPIO
110device		gpio
111
112# The following enables MFS as root, this seems similar to an initramfs or initrd
113# as used in Linux.
114#options 	MD_ROOT
115#options 	MD_ROOT_SIZE=7560
116
117
118
119# USB support
120device		usb
121options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
122options 	USB_DEBUG
123#options 	USB_REQ_DEBUG
124#options 	USB_VERBOSE
125device		ohci
126device		ehci
127device		umass
128device		scbus			# SCSI bus (required for ATA/SCSI)
129device		da			# Direct Access (disks)
130
131# Ethernet
132device		loop
133device		ether
134device		mii
135device		smc
136device		smcphy
137device		bpf
138
139# USB Ethernet support, requires miibus
140device		miibus
141#device		axe			# ASIX Electronics USB Ethernet
142device		smsc			# SMSC LAN95xx USB Ethernet
143
144
145# OMAP-specific devices
146device		ti_sdma
147device		twl
148device		twl_vreg
149device		twl_clks
150
151# Flattened Device Tree
152options 	FDT			# Configure using FDT/DTB data
153options 	FDT_DTB_STATIC
154makeoptions	FDT_DTS_FILE=pandaboard.dts
155