1# Kernel configuration for the AT91SAM9G20 based Hot-e configuration file
2#
3# For more information on this file, please read the handbook section on
4# Kernel Configuration Files:
5#
6#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files.
15# If you are in doubt as to the purpose or necessity of a line, check first
16# in NOTES.
17#
18# $FreeBSD$
19
20#NO_UNIVERSE
21
22ident		HL201
23
24include "../at91/std.hl201"
25
26#To statically compile in device wiring instead of /boot/device.hints
27hints		"HL201.hints"
28makeoptions	MODULES_OVERRIDE=""
29
30makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
31options 	DDB
32options 	KDB
33
34options 	SCHED_4BSD		# 4BSD scheduler
35options 	INET			# InterNETworking
36#options 	INET6			# IPv6 communications protocols
37options 	FFS			# Berkeley Fast Filesystem
38#options 	SOFTUPDATES		# Enable FFS soft updates support
39#options 	UFS_ACL			# Support for access control lists
40#options 	UFS_DIRHASH		# Improve performance on big directories
41#options 	MD_ROOT			# MD is a potential root device
42#options 	MD_ROOT_SIZE=4096	# 4MB ram disk
43options 	NANDFS			# NAND file system
44options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
45options 	NFSCL			# New Network Filesystem Client
46#options 	NFSD			# New Network Filesystem Server
47#options 	NFSLOCKD		# Network Lock Manager
48options 	NFS_ROOT		# NFS usable as /, requires NFSCL
49#options 	BOOTP_NFSROOT
50#options 	BOOTP
51#options 	BOOTP_NFSV3
52#options 	BOOTP_WIRED_TO=ate0
53#options 	BOOTP_COMPAT
54
55options 	ALT_BREAK_TO_DEBUGGER
56
57options 	GEOM_PART_BSD		# BSD partition scheme
58options 	GEOM_PART_MBR		# MBR partition scheme
59options 	TMPFS			# Efficient memory filesystem
60#options 	MSDOSFS			# MSDOS Filesystem
61#options 	CD9660			# ISO 9660 Filesystem
62#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
63options 	PSEUDOFS		# Pseudo-filesystem framework
64#options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
65#options 	KTRACE			# ktrace(1) support
66options 	SYSVSHM			# SYSV-style shared memory
67options 	SYSVMSG			# SYSV-style message queues
68options 	SYSVSEM			# SYSV-style semaphores
69options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
70options 	MUTEX_NOINLINE
71options 	RWLOCK_NOINLINE
72options 	NO_FFS_SNAPSHOT
73options 	NO_SWAPPING
74device		random
75device		loop
76device		ether
77device		uart
78device		ate
79device		mii
80#device		lxtphy
81
82# Debugging for use in -current
83#options 	INVARIANTS		# Enable calls of extra sanity checking
84#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
85#options 	WITNESS			# Enable checks to detect deadlocks and cycles
86#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
87#options 	DIAGNOSTIC
88
89device		md
90device		bpf
91
92# USB support
93device		ohci			# OHCI localbus->USB interface
94device		usb			# USB Bus (required)
95#device		udbp			# USB Double Bulk Pipe devices
96device		uhid			# "Human Interface Devices"
97#device		ulpt			# Printer
98device		umass			# Disks/Mass storage - Requires scbus and da
99
100# USB Ethernet, requires miibus
101device		miibus
102#device		aue			# ADMtek USB Ethernet
103#device		axe			# ASIX Electronics USB Ethernet
104#device		cdce			# Generic USB over Ethernet
105#device		cue			# CATC USB Ethernet
106#device		kue			# Kawasaki LSI USB Ethernet
107#device		rue			# RealTek RTL8150 USB Ethernet
108device		udav			# Davicom DM9601E USB
109# USB Wireless
110#device		rum			# Ralink Technology RT2501USB wireless NICs
111#device		uath			# Atheros AR5523 wireless NICs
112#device		ural			# Ralink Technology RT2500USB wireless NICs
113#device		zyd			# ZyDAS zd1211/zd1211b wireless NICs
114# SCSI peripherals
115device		scbus			# SCSI bus (required for SCSI)
116device		da			# Direct Access (disks)
117device		cd			# CD
118device		pass			# Passthrough device (direct SCSI access)
119# Wireless NIC cards
120#device		wlan			# 802.11 support
121#device		wlan_wep		# 802.11 WEP support
122#device		wlan_ccmp		# 802.11 CCMP support
123#device		wlan_tkip		# 802.11 TKIP support
124#device		wlan_amrr		# AMRR transmit rate control algorithm
125options 	ROOTDEVNAME=\"ufs:da0s1a\"
126
127# NAND Flash - my board as 128MB Samsung part, YMMV.
128device		nand			# NAND interface on CS3
129
130# Coming soon, but not yet
131#options 	FDT
132#options 	FDT_DTB_STATIC
133#makeoptions	FDT_DTS_FILE=hl201.dts
134
135options 	EARLY_PRINTF
136options  	SOCDEV_PA=0xfc000000
137options 	SOCDEV_VA=0xdc000000
138