Deleted Added
full compact
CUBIEBOARD (295711) CUBIEBOARD (296105)
1#
2# CUBIEBOARD -- Custom configuration for the CUBIEBOARD ARM development
3# platform, check out http://www.cubieboard.org
4#
5# For more information on this file, please read the config(5) manual page,
6# and/or the handbook section on Kernel Configuration Files:
7#
8# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9#
10# The handbook is also available locally in /usr/share/doc/handbook
11# if you've installed the doc distribution, otherwise always see the
12# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13# latest information.
14#
15# An exhaustive list of options and more detailed explanations of the
16# device lines is also present in the ../../conf/NOTES and NOTES files.
17# If you are in doubt as to the purpose or necessity of a line, check first
18# in NOTES.
19#
1#
2# CUBIEBOARD -- Custom configuration for the CUBIEBOARD ARM development
3# platform, check out http://www.cubieboard.org
4#
5# For more information on this file, please read the config(5) manual page,
6# and/or the handbook section on Kernel Configuration Files:
7#
8# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9#
10# The handbook is also available locally in /usr/share/doc/handbook
11# if you've installed the doc distribution, otherwise always see the
12# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13# latest information.
14#
15# An exhaustive list of options and more detailed explanations of the
16# device lines is also present in the ../../conf/NOTES and NOTES files.
17# If you are in doubt as to the purpose or necessity of a line, check first
18# in NOTES.
19#
20# $FreeBSD: head/sys/arm/conf/CUBIEBOARD 295711 2016-02-17 18:28:03Z andrew $
20# $FreeBSD: head/sys/arm/conf/CUBIEBOARD 296105 2016-02-26 18:54:26Z andrew $
21
21
22#NO_UNIVERSE
23
24include "A10"
22ident CUBIEBOARD
23
25ident CUBIEBOARD
26
24include "std.armv6"
25include "../allwinner/std.a10"
26
27options SOC_ALLWINNER_A10
28
29options HZ=100
30options SCHED_4BSD # 4BSD scheduler
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=cpsw0
54
55# Boot device is 2nd slice on MMC/SD card
56options ROOTDEVNAME=\"ufs:/dev/da0s2\"
57
27# Boot device is 2nd slice on MMC/SD card
28options ROOTDEVNAME=\"ufs:/dev/da0s2\"
29
58# MMC/SD/SDIO Card slot support
59device mmc # mmc/sd bus
60device mmcsd # mmc/sd flash cards
61
62# ATA controllers
63device ahci # AHCI-compatible SATA controllers
64#device ata # Legacy ATA/SATA controllers
65
66# Console and misc
67device uart
68device uart_ns8250
69device pty
70device snp
71device md
72device random # Entropy device
73
74# I2C support
75#device iicbus
76#device iic
77
78# GPIO
79device gpio
80
81device scbus # SCSI bus (required for ATA/SCSI)
82device da # Direct Access (disks)
83device pass # Passthrough device (direct ATA/SCSI access)
84
85# USB support
86options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
87device usb
88options USB_DEBUG
89#options USB_REQ_DEBUG
90#options USB_VERBOSE
91#device uhci
92#device ohci
93device ehci
94
95device umass
96
97# Ethernet
98device loop
99device ether
100device mii
101device bpf
102
103device emac
104
105# USB ethernet support, requires miibus
106device miibus
107
108# Pinmux
109device fdt_pinctrl
110
111# Flattened Device Tree
30# Flattened Device Tree
112options FDT # Configure using FDT/DTB data
31options FDT
113options FDT_DTB_STATIC
114makeoptions FDT_DTS_FILE=cubieboard.dts
32options FDT_DTB_STATIC
33makeoptions FDT_DTS_FILE=cubieboard.dts
115makeoptions MODULES_EXTRA=dtb/allwinner