A10 revision 295626
1#
2# A10 -- Custom configuration for the AllWinner A10 SoC
3#
4# For more information on this file, please read the config(5) manual page,
5# and/or the handbook section on Kernel Configuration Files:
6#
7#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD: head/sys/arm/conf/A10 295626 2016-02-15 15:11:26Z andrew $
20
21ident		A10
22
23include 	"std.armv6"
24include 	"../allwinner/std.a10"
25
26options 	HZ=100
27options 	SCHED_4BSD		# 4BSD scheduler
28options 	PLATFORM
29
30# Debugging for use in -current
31makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
32options 	ALT_BREAK_TO_DEBUGGER
33#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
34options 	KDB			# Enable kernel debugger support
35# For minimum debugger support (stable branch) use:
36#options 	KDB_TRACE		# Print a stack trace for a panic
37# For full debugger support use this instead:
38options 	DDB			# Enable the kernel debugger
39options 	INVARIANTS		# Enable calls of extra sanity checking
40options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
41options 	WITNESS			# Enable checks to detect deadlocks and cycles
42options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
43#options 	DIAGNOSTIC
44
45# NFS root from boopt/dhcp
46#options 	BOOTP
47#options 	BOOTP_NFSROOT
48#options 	BOOTP_COMPAT
49#options 	BOOTP_NFSV3
50#options 	BOOTP_WIRED_TO=emac0
51
52# MMC/SD/SDIO Card slot support
53device		mmc			# mmc/sd bus
54device		mmcsd			# mmc/sd flash cards
55
56# ATA controllers
57device		ahci			# AHCI-compatible SATA controllers
58#device		ata			# Legacy ATA/SATA controllers
59
60# Console and misc
61device		uart
62device		uart_ns8250
63device		pty
64device		snp
65device		md
66device		random			# Entropy device
67
68# I2C support
69device		iicbus
70device		iic
71device		twsi
72
73# GPIO
74device		gpio
75device		gpioled
76
77device		scbus			# SCSI bus (required for ATA/SCSI)
78device		da			# Direct Access (disks)
79device		pass			# Passthrough device (direct ATA/SCSI access)
80
81# USB support
82options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
83device		usb
84options 	USB_DEBUG
85#options 	USB_REQ_DEBUG
86#options 	USB_VERBOSE
87#device		uhci
88#device		ohci
89device		ehci
90
91device		umass
92
93# Ethernet
94device		loop
95device		ether
96device		mii
97device		bpf
98
99device		emac
100
101# USB ethernet support, requires miibus
102device		miibus
103
104# Flattened Device Tree
105options 	FDT			# Configure using FDT/DTB data
106makeoptions	MODULES_EXTRA=dtb/allwinner
107