1278699Sian#
2244281Sgonzo# VERSATILEPB - Configuration for QEMU version of Versatile Platform Board
3244197Sgonzo#
4278699Sian# For more information on this file, please read the config(5) manual page,
5278699Sian# and/or the handbook section on Kernel Configuration Files:
6244197Sgonzo#
7244197Sgonzo#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8244197Sgonzo#
9244197Sgonzo# The handbook is also available locally in /usr/share/doc/handbook
10244197Sgonzo# if you've installed the doc distribution, otherwise always see the
11244197Sgonzo# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12244197Sgonzo# latest information.
13244197Sgonzo#
14244197Sgonzo# An exhaustive list of options and more detailed explanations of the
15278699Sian# device lines is also present in the ../../conf/NOTES and NOTES files.
16278699Sian# If you are in doubt as to the purpose or necessity of a line, check first
17244197Sgonzo# in NOTES.
18244197Sgonzo#
19244197Sgonzo# $FreeBSD$
20244197Sgonzo
21244197Sgonzoident		VERSATILEPB
22244197Sgonzomachine		arm	armv6
23244480Sgonzocpu 		CPU_ARM1176
24244197Sgonzo
25244197Sgonzofiles		"../versatile/files.versatile"
26244197Sgonzomakeoptions	MODULES_OVERRIDE=""
27244197Sgonzo
28244197Sgonzooptions 	KERNVIRTADDR=0xc0100000
29244197Sgonzomakeoptions	KERNVIRTADDR=0xc0100000
30244197Sgonzooptions 	KERNPHYSADDR=0x00100000
31244197Sgonzomakeoptions	KERNPHYSADDR=0x00100000
32244197Sgonzooptions 	PHYSADDR=0x00000000
33244197Sgonzo
34244197Sgonzooptions 	HZ=100
35266328Sianoptions 	SCHED_4BSD		# 4BSD scheduler
36278699Sianoptions 	PREEMPTION		# Enable kernel thread preemption
37266328Sianoptions 	INET			# InterNETworking
38278699Sianoptions 	INET6			# IPv6 communications protocols
39278699Sianoptions 	SCTP			# Stream Control Transmission Protocol
40266328Sianoptions 	FFS			# Berkeley Fast Filesystem
41266328Sianoptions 	SOFTUPDATES		# Enable FFS soft updates support
42266328Sianoptions 	UFS_ACL			# Support for access control lists
43266328Sianoptions 	UFS_DIRHASH		# Improve performance on big directories
44278699Sianoptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
45278699Sianoptions 	QUOTA			# Enable disk quotas for UFS
46278699Sianoptions 	NFSCL			# New Network Filesystem Client
47278699Sianoptions 	NFSLOCKD		# Network Lock Manager
48278699Sianoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
49278699Sianoptions 	MSDOSFS			# MSDOS Filesystem
50278699Sianoptions 	CD9660			# ISO 9660 Filesystem
51278699Sianoptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
52278699Sianoptions 	PSEUDOFS		# Pseudo-filesystem framework
53278699Sianoptions 	TMPFS			# Efficient memory filesystem
54278699Sianoptions 	GEOM_PART_GPT		# GUID Partition Tables
55266328Sianoptions 	GEOM_PART_BSD		# BSD partition scheme
56266328Sianoptions 	GEOM_PART_MBR		# MBR partition scheme
57266328Sianoptions 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
58266328Sianoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
59266328Sianoptions 	KTRACE			# ktrace(1) support
60266328Sianoptions 	SYSVSHM			# SYSV-style shared memory
61266328Sianoptions 	SYSVMSG			# SYSV-style message queues
62266328Sianoptions 	SYSVSEM			# SYSV-style semaphores
63278699Sianoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
64244197Sgonzooptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
65278699Sianoptions 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
66278699Sianoptions 	LINUX_BOOT_ABI		# Process metadata passed from Linux boot loaders
67278699Sianoptions 	VFP			# Enable floating point hardware support
68278699Sian
69278699Sian# Debugging for use in -current
70278699Sianmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
71278699Sianoptions 	KDB			# Enable kernel debugger support
72278699Sian# For minimum debugger support (stable branch) use:
73278699Sian#options 	KDB_TRACE		# Print a stack trace for a panic
74278699Sian# For full debugger support use this instead:
75278699Sianoptions 	DDB			# Enable the kernel debugger
76278699Sianoptions 	INVARIANTS		# Enable calls of extra sanity checking
77278699Sianoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
78278699Sian
79254902Sandrewoptions 	ROOTDEVNAME=\"ufs:da0s1a\"
80244197Sgonzo
81244197Sgonzodevice		bpf
82244197Sgonzodevice		loop
83244197Sgonzodevice		mii
84244197Sgonzodevice		mii_bitbang
85244197Sgonzodevice		smc
86244197Sgonzodevice		smcphy
87244197Sgonzodevice		ether
88244197Sgonzodevice		uart
89244197Sgonzodevice		pl011
90244197Sgonzodevice		pl190
91244197Sgonzo
92244197Sgonzodevice		pty
93278699Siandevice		snp
94244197Sgonzo
95244197Sgonzodevice		pci
96244197Sgonzo
97244197Sgonzo# SCSI Controllers
98266328Siandevice		sym			# NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
99244197Sgonzo
100244197Sgonzo# ATA/SCSI peripherals
101266328Siandevice		scbus			# SCSI bus (required for ATA/SCSI)
102266328Siandevice		da			# Direct Access (disks)
103266328Siandevice		pass			# Passthrough device (direct ATA/SCSI access)
104244197Sgonzo
105244197Sgonzo# NOTE: serial console is disabled if syscons enabled
106244197Sgonzo# Comment following lines for headless setup
107244197Sgonzodevice		sc
108244197Sgonzodevice		kbdmux
109283368Sianoptions 	SC_DFLT_FONT    	# compile font in
110283368Sianmakeoptions	SC_DFLT_FONT=cp437
111244197Sgonzo
112244197Sgonzooptions 	KDB
113266328Sianoptions 	DDB			# Enable the kernel debugger
114271428Sian#options 	INVARIANTS		# Enable calls of extra sanity checking
115271428Sian#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
116244197Sgonzo
117244197Sgonzodevice		md
118266328Siandevice		random			# Entropy device
119244197Sgonzo
120244197Sgonzo# Flattened Device Tree
121278699Sianoptions 	FDT			# Configure using FDT/DTB data
122278699Sianoptions 	FDT_DTB_STATIC
123278699Sianmakeoptions	FDT_DTS_FILE=versatilepb.dts
124