A10 revision 294698
1#
2# A20 -- Custom configuration for the Allwinner A20 ARM 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/A20 294698 2016-01-25 00:24:57Z andrew $
20
21ident		A20
22
23include 	"std.armv6"
24include 	"../allwinner/a20/std.a20"
25
26options 	ARM_INTRNG
27
28options 	HZ=100
29options 	SCHED_ULE		# ULE scheduler
30options 	SMP			# Enable multiple cores
31options 	PLATFORM
32
33# Debugging for use in -current
34makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
35options 	ALT_BREAK_TO_DEBUGGER
36#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
37options 	KDB			# Enable kernel debugger support
38# For minimum debugger support (stable branch) use:
39#options 	KDB_TRACE		# Print a stack trace for a panic
40# For full debugger support use this instead:
41options 	DDB			# Enable the kernel debugger
42options 	INVARIANTS		# Enable calls of extra sanity checking
43options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
44options 	WITNESS			# Enable checks to detect deadlocks and cycles
45options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
46#options 	DIAGNOSTIC
47
48# NFS root from boopt/dhcp
49#options 	BOOTP
50#options 	BOOTP_NFSROOT
51#options 	BOOTP_COMPAT
52#options 	BOOTP_NFSV3
53#options 	BOOTP_WIRED_TO=dwc0
54
55# Boot device is 2nd slice on MMC/SD card
56options 	ROOTDEVNAME=\"ufs:/dev/da0s2\"
57
58# Interrupt controller
59device		gic
60
61# MMC/SD/SDIO Card slot support
62device		mmc			# mmc/sd bus
63device		mmcsd			# mmc/sd flash cards
64
65# ATA controllers
66device		ahci			# AHCI-compatible SATA controllers
67#device		ata			# Legacy ATA/SATA controllers
68
69# Console and misc
70device		uart
71device		uart_ns8250
72device		pty
73device		snp
74device		md
75device		random			# Entropy device
76
77# I2C support
78#device		iicbus
79#device		iic
80
81# GPIO
82device		gpio
83device		gpioled
84
85device		scbus			# SCSI bus (required for ATA/SCSI)
86device		da			# Direct Access (disks)
87device		pass			# Passthrough device (direct ATA/SCSI access)
88
89# USB support
90options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
91device		usb
92options 	USB_DEBUG
93#options 	USB_REQ_DEBUG
94#options 	USB_VERBOSE
95#device		uhci
96#device		ohci
97device		ehci
98
99device		umass
100
101# Ethernet
102device		loop
103device		ether
104device		mii
105device		bpf
106
107#device		emac			# 10/100 integrated EMAC controller
108device		dwc			# 10/100/1000 integrated GMAC controller
109
110# USB ethernet support, requires miibus
111device		miibus
112
113# Flattened Device Tree
114options 	FDT			# Configure using FDT/DTB data
115makeoptions	MODULES_EXTRA=dtb/allwinner
116