HL201 revision 282694
1261041Simp# Kernel configuration for the AT91SAM9G20 based Hot-e configuration file
2210040Scognet#
3210040Scognet# For more information on this file, please read the handbook section on
4210040Scognet# Kernel Configuration Files:
5210040Scognet#
6210040Scognet#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7210040Scognet#
8210040Scognet# The handbook is also available locally in /usr/share/doc/handbook
9210040Scognet# if you've installed the doc distribution, otherwise always see the
10210040Scognet# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11210040Scognet# latest information.
12210040Scognet#
13210040Scognet# An exhaustive list of options and more detailed explanations of the
14236988Simp# device lines is also present in the ../../conf/NOTES and NOTES files.
15236988Simp# If you are in doubt as to the purpose or necessity of a line, check first
16210040Scognet# in NOTES.
17210040Scognet#
18210040Scognet# $FreeBSD: head/sys/arm/conf/HL201 282694 2015-05-09 21:24:55Z andrew $
19210040Scognet
20265155Simp#NO_UNIVERSE
21265155Simp
22210040Scognetident		HL201
23210040Scognet
24282576Sandrewinclude 	"std.arm"
25282576Sandrewinclude 	"../at91/std.hl201"
26210040Scognet
27210040Scognetmakeoptions	MODULES_OVERRIDE=""
28210040Scognet
29263245Simpmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
30210040Scognet
31263245Simpoptions 	SCHED_4BSD		# 4BSD scheduler
32263245Simpoptions 	INET			# InterNETworking
33263245Simp#options 	INET6			# IPv6 communications protocols
34263245Simpoptions 	FFS			# Berkeley Fast Filesystem
35263245Simp#options 	SOFTUPDATES		# Enable FFS soft updates support
36263245Simp#options 	UFS_ACL			# Support for access control lists
37263245Simp#options 	UFS_DIRHASH		# Improve performance on big directories
38263245Simp#options 	MD_ROOT			# MD is a potential root device
39260887Simp#options 	MD_ROOT_SIZE=4096	# 4MB ram disk
40260887Simpoptions 	NANDFS			# NAND file system
41276755Sjhboptions 	NFSCL			# Network Filesystem Client
42276755Sjhb#options 	NFSD			# Network Filesystem Server
43263245Simp#options 	NFSLOCKD		# Network Lock Manager
44263245Simpoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
45263301Simpoptions 	TMPFS			# Efficient memory filesystem
46263245Simp#options 	MSDOSFS			# MSDOS Filesystem
47263245Simp#options 	CD9660			# ISO 9660 Filesystem
48263245Simp#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
49263245Simpoptions 	PSEUDOFS		# Pseudo-filesystem framework
50282694Sandrewoptions 	GEOM_PART_BSD		# BSD partition scheme
51282694Sandrewoptions 	GEOM_PART_MBR		# MBR partition scheme
52263245Simp#options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
53263245Simp#options 	KTRACE			# ktrace(1) support
54263245Simpoptions 	SYSVSHM			# SYSV-style shared memory
55263245Simpoptions 	SYSVMSG			# SYSV-style message queues
56263245Simpoptions 	SYSVSEM			# SYSV-style semaphores
57282694Sandrewoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
58210040Scognet
59210040Scognet# Debugging for use in -current
60282694Sandrewoptions 	KDB			# Enable kernel debugger support
61282694Sandrewoptions 	DDB			# Enable the kernel debugger
62263245Simp#options 	INVARIANTS		# Enable calls of extra sanity checking
63263245Simp#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
64263245Simp#options 	WITNESS			# Enable checks to detect deadlocks and cycles
65263245Simp#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
66210040Scognet#options 	DIAGNOSTIC
67210040Scognet
68282694Sandrew# NFS root from boopt/dhcp
69282694Sandrew#options 	BOOTP
70282694Sandrew#options 	BOOTP_NFSROOT
71282694Sandrew#options 	BOOTP_COMPAT
72282694Sandrew#options 	BOOTP_NFSV3
73282694Sandrew#options 	BOOTP_WIRED_TO=ate0
74210040Scognet
75282694Sandrewoptions 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
76282694Sandrew
77282694Sandrew# kernel/memory size reduction
78282694Sandrewoptions 	MUTEX_NOINLINE
79282694Sandrewoptions 	NO_FFS_SNAPSHOT
80282694Sandrewoptions 	NO_SWAPPING
81282694Sandrewoptions 	RWLOCK_NOINLINE
82282694Sandrew
83282694Sandrew# The `bpf' device enables the Berkeley Packet Filter.
84282694Sandrew# Be aware of the administrative consequences of enabling this!
85282694Sandrew# Note that 'bpf' is required for DHCP.
86282694Sandrewdevice		bpf			# Berkeley packet filter
87282694Sandrew
88282694Sandrew# Ethernet
89282694Sandrewdevice		mii			# Minimal MII support
90282694Sandrewdevice		ate			# Atmel AT91 Ethernet driver
91282694Sandrewdevice		lxtphy
92282694Sandrew
93282694Sandrew# I2C
94282694Sandrewdevice		at91_twi		# Atmel AT91 Two-wire Interface
95282694Sandrewdevice		iic			# I2C generic I/O device driver
96282694Sandrewdevice		iicbus			# I2C bus system
97282694Sandrew
98282694Sandrew# DataFlash
99282694Sandrewdevice		at91_spi		# Atmel AT91 Serial Peripheral Interface
100282694Sandrewdevice		spibus			# SPI bus
101282694Sandrewdevice		at45d			# Atmel AT45D
102282694Sandrew
103282694Sandrew# Pseudo devices.
104282694Sandrewdevice		loop			# Network loopback
105282694Sandrewdevice		random			# Entropy device
106282694Sandrewdevice		ether			# Ethernet support
107282694Sandrewdevice		md			# Memory "disks"
108282694Sandrew
109282694Sandrew# SCSI peripherals
110282694Sandrewdevice		scbus			# SCSI bus (required for ATA/SCSI)
111282694Sandrewdevice		da			# Direct Access (disks)
112282694Sandrewdevice		cd			# CD
113282694Sandrewdevice		pass			# Passthrough device (direct ATA/SCSI access)
114282694Sandrew
115282694Sandrew# Serial (COM) ports
116282694Sandrewdevice		uart			# Multi-uart driver
117282694Sandrewoptions 	ALT_BREAK_TO_DEBUGGER
118282694Sandrew
119210040Scognet# USB support
120282694Sandrewdevice		ohci			# OHCI USB interface
121263245Simpdevice		usb			# USB Bus (required)
122263245Simp#device		udbp			# USB Double Bulk Pipe devices
123263245Simpdevice		uhid			# "Human Interface Devices"
124263245Simp#device		ulpt			# Printer
125263245Simpdevice		umass			# Disks/Mass storage - Requires scbus and da
126210040Scognet
127210040Scognet# USB Ethernet, requires miibus
128210040Scognetdevice		miibus
129263245Simp#device		aue			# ADMtek USB Ethernet
130263245Simp#device		axe			# ASIX Electronics USB Ethernet
131263245Simp#device		cdce			# Generic USB over Ethernet
132263245Simp#device		cue			# CATC USB Ethernet
133263245Simp#device		kue			# Kawasaki LSI USB Ethernet
134263245Simp#device		rue			# RealTek RTL8150 USB Ethernet
135270103Simp#device		udav			# Davicom DM9601E USB
136210040Scognet# USB Wireless
137263245Simp#device		rum			# Ralink Technology RT2501USB wireless NICs
138263245Simp#device		uath			# Atheros AR5523 wireless NICs
139263245Simp#device		ural			# Ralink Technology RT2500USB wireless NICs
140263245Simp#device		zyd			# ZyDAS zd1211/zd1211b wireless NICs
141282694Sandrew
142210040Scognet# Wireless NIC cards
143263245Simp#device		wlan			# 802.11 support
144263245Simp#device		wlan_wep		# 802.11 WEP support
145263245Simp#device		wlan_ccmp		# 802.11 CCMP support
146263245Simp#device		wlan_tkip		# 802.11 TKIP support
147263245Simp#device		wlan_amrr		# AMRR transmit rate control algorithm
148240572Sjmgoptions 	ROOTDEVNAME=\"ufs:da0s1a\"
149253845Sobrien
150282694Sandrew# watchdog
151282694Sandrewdevice		at91_wdt		# Atmel AT91 Watchdog Timer
152282694Sandrew
153261041Simp# NAND Flash - my board as 128MB Samsung part, YMMV.
154263245Simpdevice		nand			# NAND interface on CS3
155261041Simp
156261041Simp# Coming soon, but not yet
157270103Simpoptions 	FDT
158270103Simpoptions 	FDT_DTB_STATIC
159270103Simpmakeoptions	FDT_DTS_FILE=hl201.dts
160261041Simp
161261041Simpoptions 	EARLY_PRINTF
162276004Sandrewoptions 	SOCDEV_PA=0xfc000000
163261041Simpoptions 	SOCDEV_VA=0xdc000000
164