Deleted Added
full compact
IMX6 (275961) IMX6 (276003)
1#
1# Kernel configuration for Freescale i.MX6 systems.
2#
3# For more information on this file, please read the config(5) manual page,
4# and/or the handbook section on 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#
2# Kernel configuration for Freescale i.MX6 systems.
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#
18# $FreeBSD: head/sys/arm/conf/IMX6 275961 2014-12-20 18:15:23Z andrew $
19# $FreeBSD: head/sys/arm/conf/IMX6 276003 2014-12-21 11:37:00Z andrew $
19
20ident IMX6
21include "../freescale/imx/std.imx6"
22
20
21ident IMX6
22include "../freescale/imx/std.imx6"
23
23options HZ=500 # Scheduling quantum is 2 milliseconds.
24options HZ=500 # Scheduling quantum is 2 milliseconds.
24options SCHED_ULE # ULE scheduler
25options PREEMPTION # Enable kernel thread preemption
26options INET # InterNETworking
27options INET6 # IPv6 communications protocols
28options SCTP # Stream Control Transmission Protocol
29options FFS # Berkeley Fast Filesystem
30options SOFTUPDATES # Enable FFS soft updates support
31options UFS_ACL # Support for access control lists
32options UFS_DIRHASH # Improve performance on big directories
33options UFS_GJOURNAL # Enable gjournal-based UFS journaling
25options SCHED_ULE # ULE scheduler
26options PREEMPTION # Enable kernel thread preemption
27options INET # InterNETworking
28options INET6 # IPv6 communications protocols
29options SCTP # Stream Control Transmission Protocol
30options FFS # Berkeley Fast Filesystem
31options SOFTUPDATES # Enable FFS soft updates support
32options UFS_ACL # Support for access control lists
33options UFS_DIRHASH # Improve performance on big directories
34options UFS_GJOURNAL # Enable gjournal-based UFS journaling
34#options MD_ROOT # MD is a potential root device
35options QUOTA # Enable disk quotas for UFS
35options NFSCL # New Network Filesystem Client
36#options NFSD # New Network Filesystem Server
37options NFSLOCKD # Network Lock Manager
38options NFS_ROOT # NFS usable as /, requires NFSCL
36options NFSCL # New Network Filesystem Client
37#options NFSD # New Network Filesystem Server
38options NFSLOCKD # Network Lock Manager
39options NFS_ROOT # NFS usable as /, requires NFSCL
39options TMPFS # Efficient memory filesystem
40options MSDOSFS # MSDOS Filesystem
41options CD9660 # ISO 9660 Filesystem
40options MSDOSFS # MSDOS Filesystem
41options CD9660 # ISO 9660 Filesystem
42#options PROCFS # Process filesystem (requires PSEUDOFS)
42options PROCFS # Process filesystem (requires PSEUDOFS)
43options PSEUDOFS # Pseudo-filesystem framework
43options PSEUDOFS # Pseudo-filesystem framework
44options TMPFS # Efficient memory filesystem
45options GEOM_PART_GPT # GUID Partition Tables
44options GEOM_PART_BSD # BSD partition scheme
45options GEOM_PART_MBR # MBR partition scheme
46options GEOM_PART_BSD # BSD partition scheme
47options GEOM_PART_MBR # MBR partition scheme
46options GEOM_PART_GPT # GUID Partition Tables.
47options GEOM_LABEL # Provides labelization
48options KTRACE # ktrace(1) support
49options SYSVSHM # SYSV-style shared memory
50options SYSVMSG # SYSV-style message queues
51options SYSVSEM # SYSV-style semaphores
52options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
48options GEOM_LABEL # Provides labelization
49options KTRACE # ktrace(1) support
50options SYSVSHM # SYSV-style shared memory
51options SYSVMSG # SYSV-style message queues
52options SYSVSEM # SYSV-style semaphores
53options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
54options KBD_INSTALL_CDEV # install a CDEV entry in /dev
53options INCLUDE_CONFIG_FILE # Include this file in kernel
55options INCLUDE_CONFIG_FILE # Include this file in kernel
56options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8)
57options VFP # Enable floating point hardware support
58options SMP # Enable multiple cores
54
59
55# Debugging support. Always need this:
56options KDB # Enable kernel debugger support.
57# For minimum debugger support use KDB_TRACE, for interactive use DDB.
58#options KDB_TRACE # Print a stack trace for a panic.
59options DDB # Support DDB.
60# Debugging for use in -current
61makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
62options KDB # Enable kernel debugger support
63# For minimum debugger support (stable branch) use:
64#options KDB_TRACE # Print a stack trace for a panic
60# For full debugger support use this instead:
65# For full debugger support use this instead:
66options DDB # Enable the kernel debugger
61#options GDB # Support remote GDB.
62# Other debugging options...
67#options GDB # Support remote GDB.
68# Other debugging options...
63makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
64options ALT_BREAK_TO_DEBUGGER # Use <CR><tilde><ctrl-b> to enter debugger.
69options ALT_BREAK_TO_DEBUGGER # Use <CR><tilde><ctrl-b> to enter debugger.
65#options DEBUG
66#options DEADLKRES # Enable the deadlock resolver
67#options INVARIANTS # Enable calls of extra sanity checking
68#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
69#options WITNESS # Enable checks to detect deadlocks and cycles
70#options DEADLKRES # Enable the deadlock resolver
71#options INVARIANTS # Enable calls of extra sanity checking
72#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
73#options WITNESS # Enable checks to detect deadlocks and cycles
74#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
75#options DIAGNOSTIC
70
76
77# NFS root from boopt/dhcp
78#options BOOTP
79#options BOOTP_NFSROOT
80#options BOOTP_COMPAT
81#options BOOTP_NFSV3
82#options BOOTP_WIRED_TO=ffec0
83
84# U-Boot stuff lives on slice 1, FreeBSD on slice 2.
85options ROOTDEVNAME=\"ufs:mmcsd0s2a\"
86
71# Pseudo devices.
72device loop # Network loopback
73device random # Entropy device
74device vlan # 802.1Q VLAN support
75device tun # Packet tunnel.
76device md # Memory "disks"
77#device gif # IPv6 and IPv4 tunneling
78#device firmware # firmware assist module

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

129# NOTE: serial console will be disabled if syscons enabled
130# Uncomment following lines for framebuffer/syscons support
131# Wandboard has no video console support yet.
132#device sc
133#device kbdmux
134#options SC_DFLT_FONT # compile font in
135#makeoptions SC_DFLT_FONT=cp437
136
87# Pseudo devices.
88device loop # Network loopback
89device random # Entropy device
90device vlan # 802.1Q VLAN support
91device tun # Packet tunnel.
92device md # Memory "disks"
93#device gif # IPv6 and IPv4 tunneling
94#device firmware # firmware assist module

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

145# NOTE: serial console will be disabled if syscons enabled
146# Uncomment following lines for framebuffer/syscons support
147# Wandboard has no video console support yet.
148#device sc
149#device kbdmux
150#options SC_DFLT_FONT # compile font in
151#makeoptions SC_DFLT_FONT=cp437
152
137# required for netbooting
138#options BOOTP
139#options BOOTP_COMPAT
140#options BOOTP_NFSROOT
141#options BOOTP_NFSV3
142#options BOOTP_WIRED_TO=ffec0
153# Flattened Device Tree
154options FDT # Configure using FDT/DTB data
143
155
144# U-Boot stuff lives on slice 1, FreeBSD on slice 2.
145options ROOTDEVNAME=\"ufs:mmcsd0s2a\"
146
147# ARM and SoC-specific options
148options FDT # Configure using FDT/DTB data.
149options SMP # Enable multiple cores
150options VFP # Enable floating point hardware support
151options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8)
152
153# SoC-specific devices
154device ffec # Freescale Fast Ethernet Controller
155device fsliic # Freescale i2c/iic
156device iic # iic protocol
157device iicbus # iic bus
158#device imxwdt # Watchdog. WARNING: can't be disabled!!!
159
156# SoC-specific devices
157device ffec # Freescale Fast Ethernet Controller
158device fsliic # Freescale i2c/iic
159device iic # iic protocol
160device iicbus # iic bus
161#device imxwdt # Watchdog. WARNING: can't be disabled!!!
162