Deleted Added
full compact
ALLWINNER (275962) ALLWINNER (276003)
1#
1# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development
2# platform, check out http://www.cubieboard.org
3#
2# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development
3# platform, check out http://www.cubieboard.org
4#
4# For more information on this file, please read the handbook section on
5# Kernel Configuration Files:
5# For more information on this file, please read the config(5) manual page,
6# 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#
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#
19# $FreeBSD: head/sys/arm/conf/CUBIEBOARD2 275962 2014-12-20 18:42:20Z andrew $
20# $FreeBSD: head/sys/arm/conf/CUBIEBOARD2 276003 2014-12-21 11:37:00Z andrew $
20
21ident CUBIEBOARD2
22
23include "../allwinner/a20/std.a20"
24
25makeoptions MODULES_OVERRIDE=""
26makeoptions WITHOUT_MODULES="ahc"
27
28options HZ=100
29options SCHED_4BSD # 4BSD scheduler
21
22ident CUBIEBOARD2
23
24include "../allwinner/a20/std.a20"
25
26makeoptions MODULES_OVERRIDE=""
27makeoptions WITHOUT_MODULES="ahc"
28
29options HZ=100
30options SCHED_4BSD # 4BSD scheduler
31options PREEMPTION # Enable kernel thread preemption
30options INET # InterNETworking
31options INET6 # IPv6 communications protocols
32options INET # InterNETworking
33options INET6 # IPv6 communications protocols
32options GEOM_PART_BSD # BSD partition scheme
33options GEOM_PART_MBR # MBR partition scheme
34options TMPFS # Efficient memory filesystem
34options SCTP # Stream Control Transmission Protocol
35options FFS # Berkeley Fast Filesystem
36options SOFTUPDATES # Enable FFS soft updates support
37options UFS_ACL # Support for access control lists
38options UFS_DIRHASH # Improve performance on big directories
35options FFS # Berkeley Fast Filesystem
36options SOFTUPDATES # Enable FFS soft updates support
37options UFS_ACL # Support for access control lists
38options UFS_DIRHASH # Improve performance on big directories
39options UFS_GJOURNAL # Enable gjournal-based UFS journaling
40options QUOTA # Enable disk quotas for UFS
41options NFSCL # New Network Filesystem Client
42options NFSLOCKD # Network Lock Manager
43options NFS_ROOT # NFS usable as /, requires NFSCL
39options MSDOSFS # MSDOS Filesystem
40options CD9660 # ISO 9660 Filesystem
41options PROCFS # Process filesystem (requires PSEUDOFS)
42options PSEUDOFS # Pseudo-filesystem framework
44options MSDOSFS # MSDOS Filesystem
45options CD9660 # ISO 9660 Filesystem
46options PROCFS # Process filesystem (requires PSEUDOFS)
47options PSEUDOFS # Pseudo-filesystem framework
48options TMPFS # Efficient memory filesystem
49options GEOM_PART_GPT # GUID Partition Tables
50options GEOM_PART_BSD # BSD partition scheme
51options GEOM_PART_MBR # MBR partition scheme
43options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
44options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
45options KTRACE # ktrace(1) support
46options SYSVSHM # SYSV-style shared memory
47options SYSVMSG # SYSV-style message queues
48options SYSVSEM # SYSV-style semaphores
52options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
53options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
54options KTRACE # ktrace(1) support
55options SYSVSHM # SYSV-style shared memory
56options SYSVMSG # SYSV-style message queues
57options SYSVSEM # SYSV-style semaphores
49options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
58options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
50options KBD_INSTALL_CDEV # install a CDEV entry in /dev
59options KBD_INSTALL_CDEV # install a CDEV entry in /dev
51options PREEMPTION
52options FREEBSD_BOOT_LOADER
53options VFP # vfp/neon
60options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8)
61options VFP # Enable floating point hardware support
62options SMP # Enable multiple cores
54
63
55# Debugging
64# Debugging for use in -current
56makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
57options BREAK_TO_DEBUGGER
58#options VERBOSE_SYSINIT # Enable verbose sysinit messages
65makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
66options BREAK_TO_DEBUGGER
67#options VERBOSE_SYSINIT # Enable verbose sysinit messages
59options KDB
68options KDB # Enable kernel debugger support
69# For minimum debugger support (stable branch) use:
70#options KDB_TRACE # Print a stack trace for a panic
71# For full debugger support use this instead:
60options DDB # Enable the kernel debugger
61options INVARIANTS # Enable calls of extra sanity checking
62options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
63options WITNESS # Enable checks to detect deadlocks and cycles
64options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
65#options DIAGNOSTIC
66
72options DDB # Enable the kernel debugger
73options INVARIANTS # Enable calls of extra sanity checking
74options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
75options WITNESS # Enable checks to detect deadlocks and cycles
76options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
77#options DIAGNOSTIC
78
67# NFS support
68#options NFSCL
69#options NFSSERVER # Network Filesystem Server
70#options NFSCLIENT # Network Filesystem Client
71
72# Uncomment this for NFS root
73#options NFS_ROOT # NFS usable as /, requires NFSCLIENT
79# NFS root from boopt/dhcp
80#options BOOTP
74#options BOOTP_NFSROOT
75#options BOOTP_COMPAT
81#options BOOTP_NFSROOT
82#options BOOTP_COMPAT
76#options BOOTP
77#options BOOTP_NFSV3
78#options BOOTP_WIRED_TO=cpsw0
79
83#options BOOTP_NFSV3
84#options BOOTP_WIRED_TO=cpsw0
85
80# MMC/SD/SDIO card slot support
81#device mmc # mmc/sd bus
82#device mmcsd # mmc/sd flash cards
83
84# Boot device is 2nd slice on MMC/SD card
85options ROOTDEVNAME=\"ufs:/dev/da0s2\"
86
86# Boot device is 2nd slice on MMC/SD card
87options ROOTDEVNAME=\"ufs:/dev/da0s2\"
88
89# MMC/SD/SDIO Card slot support
90#device mmc # mmc/sd bus
91#device mmcsd # mmc/sd flash cards
92
87# ATA controllers
88#device ahci # AHCI-compatible SATA controllers
89#device ata # Legacy ATA/SATA controllers
90#options ATA_STATIC_ID # Static device numbering
91
92# Console and misc
93device uart
94device uart_ns8250

--- 34 unchanged lines hidden (view full) ---

129device bpf
130
131device emac
132
133# USB ethernet support, requires miibus
134device miibus
135
136# Flattened Device Tree
93# ATA controllers
94#device ahci # AHCI-compatible SATA controllers
95#device ata # Legacy ATA/SATA controllers
96#options ATA_STATIC_ID # Static device numbering
97
98# Console and misc
99device uart
100device uart_ns8250

--- 34 unchanged lines hidden (view full) ---

135device bpf
136
137device emac
138
139# USB ethernet support, requires miibus
140device miibus
141
142# Flattened Device Tree
137options FDT
143options FDT # Configure using FDT/DTB data
138options FDT_DTB_STATIC
139makeoptions FDT_DTS_FILE=cubieboard2.dts
140
144options FDT_DTB_STATIC
145makeoptions FDT_DTS_FILE=cubieboard2.dts
146
141options SMP # Enable multiple cores