GUMSTIX-QEMU revision 234005
1# GUMSTIX-QEMU -- Custom configuration for the QEMU emulated Gumstix target
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: head/sys/arm/conf/GUMSTIX-QEMU 234005 2012-04-07 23:48:51Z stas $
19
20ident		GUMSTIX-QEMU
21cpu		CPU_XSCALE_PXA2X0
22
23# This probably wants to move somewhere else.  Maybe we can create a basic
24# PXA2X0 config, then make a GUMSTIX config that includes the basic one,
25# adds the smc and smcphy devices and pulls in this hints file.
26hints		"GUMSTIX.hints"
27
28options 	PHYSADDR=0xa0000000
29options 	KERNPHYSADDR=0xa0200000	
30options 	KERNVIRTADDR=0xc0200000		# Used in ldscript.arm
31
32options 	STARTUP_PAGETABLE_ADDR=0xa0000000
33include		"../xscale/pxa/std.pxa"
34makeoptions	MODULES_OVERRIDE=""
35
36makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
37options 	HZ=100
38#options 	DEVICE_POLLING
39
40options		QEMU_WORKAROUNDS
41nooptions	ARM_CACHE_LOCK_ENABLE	# QEMU does not implement this
42
43options 	SCHED_4BSD		#4BSD scheduler
44options 	INET			#InterNETworking
45#options 	INET6			#IPv6 communications protocols
46options 	FFS			#Berkeley Fast Filesystem
47options 	SOFTUPDATES		#Enable FFS soft updates support
48options 	UFS_ACL			#Support for access control lists
49options 	UFS_DIRHASH		#Improve performance on big directories
50options 	NFSCL			#New Network Filesystem Client
51#options 	NFSD			#New Network Filesystem Server
52options 	NFS_ROOT		#NFS usable as /, requires NFSCL
53#options 	MSDOSFS			#MSDOS Filesystem
54#options 	CD9660			#ISO 9660 Filesystem
55#options 	PROCFS			#Process filesystem (requires PSEUDOFS)
56options 	PSEUDOFS		#Pseudo-filesystem framework
57options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
58options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
59options 	KTRACE			#ktrace(1) support
60options 	SYSVSHM			#SYSV-style shared memory
61options 	SYSVMSG			#SYSV-style message queues
62options 	SYSVSEM			#SYSV-style semaphores
63options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
64options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
65options 	BOOTP
66options 	BOOTP_NFSROOT
67options 	BOOTP_WIRED_TO=smc0
68options 	BOOTP_COMPAT
69options 	BOOTP_NFSV3
70options 	BOOTP_BLOCKSIZE=4096
71options 	PREEMPTION
72device		loop
73device		ether
74device		mii
75device		mii_bitbang
76device		smc
77device		smcphy
78device		uart
79device		uart_ns8250
80
81# Debugging for use in -current
82options 	KDB
83options 	DDB			#Enable the kernel debugger
84#options 	DEADLKRES		#Enable the deadlock resolver
85#options 	INVARIANTS		#Enable calls of extra sanity checking
86#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
87#options 	WITNESS			#Enable checks to detect deadlocks and cycles
88#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
89#options 	DIAGNOSTIC
90
91device		md
92device		random		# Entropy device
93