Deleted Added
full compact
EFIKA_MX (276177) EFIKA_MX (276755)
1#
2# Kernel configuration for Efika MX Smarttop/Smartbook boards
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#
1#
2# Kernel configuration for Efika MX Smarttop/Smartbook boards
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/EFIKA_MX 276177 2014-12-24 12:26:43Z andrew $
19# $FreeBSD: head/sys/arm/conf/EFIKA_MX 276755 2015-01-06 16:15:57Z jhb $
20
21ident EFIKA_MX
22
23include "../freescale/imx/std.imx51"
24
25makeoptions WITHOUT_MODULES="ahc"
26
27options SCHED_4BSD # 4BSD scheduler
28options PREEMPTION # Enable kernel thread preemption
29options INET # InterNETworking
30options INET6 # IPv6 communications protocols
31options SCTP # Stream Control Transmission Protocol
32options FFS # Berkeley Fast Filesystem
33options SOFTUPDATES # Enable FFS soft updates support
34options UFS_ACL # Support for access control lists
35options UFS_DIRHASH # Improve performance on big directories
36options UFS_GJOURNAL # Enable gjournal-based UFS journaling
37options QUOTA # Enable disk quotas for UFS
38#options MD_ROOT # MD is a potential root device
20
21ident EFIKA_MX
22
23include "../freescale/imx/std.imx51"
24
25makeoptions WITHOUT_MODULES="ahc"
26
27options SCHED_4BSD # 4BSD scheduler
28options PREEMPTION # Enable kernel thread preemption
29options INET # InterNETworking
30options INET6 # IPv6 communications protocols
31options SCTP # Stream Control Transmission Protocol
32options FFS # Berkeley Fast Filesystem
33options SOFTUPDATES # Enable FFS soft updates support
34options UFS_ACL # Support for access control lists
35options UFS_DIRHASH # Improve performance on big directories
36options UFS_GJOURNAL # Enable gjournal-based UFS journaling
37options QUOTA # Enable disk quotas for UFS
38#options MD_ROOT # MD is a potential root device
39options NFSCL # New Network Filesystem Client
40#options NFSD # New Network Filesystem Server
39options NFSCL # Network Filesystem Client
40#options NFSD # Network Filesystem Server
41options NFSLOCKD # Network Lock Manager
42options NFS_ROOT # NFS usable as /, requires NFSCL
43options MSDOSFS # MSDOS Filesystem
44options CD9660 # ISO 9660 Filesystem
45options PROCFS # Process filesystem (requires PSEUDOFS)
46options PSEUDOFS # Pseudo-filesystem framework
47options TMPFS # Efficient memory filesystem
48options GEOM_PART_GPT # GUID Partition Tables
49options GEOM_PART_BSD # BSD partition scheme
50options GEOM_PART_MBR # MBR partition scheme
51options GEOM_LABEL # Provides labelization
52#options COMPAT_FREEBSD5 # Compatible with FreeBSD5
53#options COMPAT_FREEBSD6 # Compatible with FreeBSD6
54#options COMPAT_FREEBSD7 # Compatible with FreeBSD7
55options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
56options KTRACE # ktrace(1) support
57options SYSVSHM # SYSV-style shared memory
58options SYSVMSG # SYSV-style message queues
59options SYSVSEM # SYSV-style semaphores
60options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
61options KBD_INSTALL_CDEV # install a CDEV entry in /dev
62options PLATFORM
63options INCLUDE_CONFIG_FILE # Include this file in kernel
64options VFP # Enable floating point hardware support
65
66# Debugging for use in -current
67makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
68options BREAK_TO_DEBUGGER
69#options VERBOSE_SYSINIT # Enable verbose sysinit messages
70options KDB # Enable kernel debugger support
71# For minimum debugger support (stable branch) use:
72#options KDB_TRACE # Print a stack trace for a panic
73# For full debugger support use this instead:
74options DDB # Enable the kernel debugger
75#options GDB # Support remote GDB
76options DEADLKRES # Enable the deadlock resolver
77options INVARIANTS # Enable calls of extra sanity checking
78options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
79options WITNESS # Enable checks to detect deadlocks and cycles
80#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
81
82# NFS root from boopt/dhcp
83#options BOOTP
84#options BOOTP_NFSROOT
85#options BOOTP_COMPAT
86#options BOOTP_NFSV3
87#options BOOTP_WIRED_TO=ue0
88
89options ROOTDEVNAME=\"ufs:ada0s2a\"
90
91
92# kernel/memory size reduction
93#options MUTEX_NOINLINE
94#options NO_FFS_SNAPSHOT
95#options NO_SWAPPING
96#options NO_SYSCTL_DESCR
97#options RWLOCK_NOINLINE
98
99# The `bpf' device enables the Berkeley Packet Filter.
100# Be aware of the administrative consequences of enabling this!
101# Note that 'bpf' is required for DHCP.
102device bpf # Berkeley packet filter
103
104# Pseudo devices.
105device loop # Network loopback
106device random # Entropy device
107device ether # Ethernet support
108#device vlan # 802.1Q VLAN support
109#device tun # Packet tunnel.
110#device md # Memory "disks"
111#device gif # IPv6 and IPv4 tunneling
112#device firmware # firmware assist module
113
114# Serial (COM) ports
115device uart # Multi-uart driver
116options ALT_BREAK_TO_DEBUGGER
117
118device ata
119device atapci # Only for helper functions
120device imxata
121options ATA_STATIC_ID # Static device numbering
122
123device gpio
124device gpioled
125
126device fsliic
127device iic
128device iicbus
129
130# SCSI peripherals
131device scbus # SCSI bus (required for ATA/SCSI)
132device da # Direct Access (disks)
133device cd # CD
134device pass # Passthrough device (direct ATA/SCSI access)
135
136# USB support
137options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
138#options USB_DEBUG # enable debug msgs
139device ehci # OHCI USB interface
140device usb # USB Bus (required)
141device umass # Disks/Mass storage - Requires scbus and da
142device uhid # "Human Interface Devices"
143device u3g
144
145# USB Ethernet, requires miibus
146device miibus
147device aue # ADMtek USB Ethernet
148device axe # ASIX Electronics USB Ethernet
149device cdce # Generic USB over Ethernet
150device cue # CATC USB Ethernet
151device kue # Kawasaki LSI USB Ethernet
152device rue # RealTek RTL8150 USB Ethernet
153device udav # Davicom DM9601E USB
154
155# USB Wireless
156device rum # Ralink Technology RT2501USB wireless NICs
157
158# Watchdog timer.
159# WARNING: can't be disabled!!!
160device imxwdt # Watchdog
161
162# Wireless NIC cards
163device wlan # 802.11 support
164device wlan_wep # 802.11 WEP support
165device wlan_ccmp # 802.11 CCMP support
166device wlan_tkip # 802.11 TKIP support
167device wlan_amrr # AMRR transmit rate control algorithm
168
169# Flattened Device Tree
170options FDT # Configure using FDT/DTB data
171options FDT_DTB_STATIC
172makeoptions FDT_DTS_FILE=efikamx.dts
173
174# NOTE: serial console will be disabled if syscons enabled
175# Uncomment following lines for framebuffer/syscons support
176device sc
177device kbdmux
178options SC_DFLT_FONT # compile font in
179makeoptions SC_DFLT_FONT=cp437
180device ukbd # Allow keyboard like HIDs to control console
181device ums
41options NFSLOCKD # Network Lock Manager
42options NFS_ROOT # NFS usable as /, requires NFSCL
43options MSDOSFS # MSDOS Filesystem
44options CD9660 # ISO 9660 Filesystem
45options PROCFS # Process filesystem (requires PSEUDOFS)
46options PSEUDOFS # Pseudo-filesystem framework
47options TMPFS # Efficient memory filesystem
48options GEOM_PART_GPT # GUID Partition Tables
49options GEOM_PART_BSD # BSD partition scheme
50options GEOM_PART_MBR # MBR partition scheme
51options GEOM_LABEL # Provides labelization
52#options COMPAT_FREEBSD5 # Compatible with FreeBSD5
53#options COMPAT_FREEBSD6 # Compatible with FreeBSD6
54#options COMPAT_FREEBSD7 # Compatible with FreeBSD7
55options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
56options KTRACE # ktrace(1) support
57options SYSVSHM # SYSV-style shared memory
58options SYSVMSG # SYSV-style message queues
59options SYSVSEM # SYSV-style semaphores
60options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
61options KBD_INSTALL_CDEV # install a CDEV entry in /dev
62options PLATFORM
63options INCLUDE_CONFIG_FILE # Include this file in kernel
64options VFP # Enable floating point hardware support
65
66# Debugging for use in -current
67makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
68options BREAK_TO_DEBUGGER
69#options VERBOSE_SYSINIT # Enable verbose sysinit messages
70options KDB # Enable kernel debugger support
71# For minimum debugger support (stable branch) use:
72#options KDB_TRACE # Print a stack trace for a panic
73# For full debugger support use this instead:
74options DDB # Enable the kernel debugger
75#options GDB # Support remote GDB
76options DEADLKRES # Enable the deadlock resolver
77options INVARIANTS # Enable calls of extra sanity checking
78options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
79options WITNESS # Enable checks to detect deadlocks and cycles
80#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
81
82# NFS root from boopt/dhcp
83#options BOOTP
84#options BOOTP_NFSROOT
85#options BOOTP_COMPAT
86#options BOOTP_NFSV3
87#options BOOTP_WIRED_TO=ue0
88
89options ROOTDEVNAME=\"ufs:ada0s2a\"
90
91
92# kernel/memory size reduction
93#options MUTEX_NOINLINE
94#options NO_FFS_SNAPSHOT
95#options NO_SWAPPING
96#options NO_SYSCTL_DESCR
97#options RWLOCK_NOINLINE
98
99# The `bpf' device enables the Berkeley Packet Filter.
100# Be aware of the administrative consequences of enabling this!
101# Note that 'bpf' is required for DHCP.
102device bpf # Berkeley packet filter
103
104# Pseudo devices.
105device loop # Network loopback
106device random # Entropy device
107device ether # Ethernet support
108#device vlan # 802.1Q VLAN support
109#device tun # Packet tunnel.
110#device md # Memory "disks"
111#device gif # IPv6 and IPv4 tunneling
112#device firmware # firmware assist module
113
114# Serial (COM) ports
115device uart # Multi-uart driver
116options ALT_BREAK_TO_DEBUGGER
117
118device ata
119device atapci # Only for helper functions
120device imxata
121options ATA_STATIC_ID # Static device numbering
122
123device gpio
124device gpioled
125
126device fsliic
127device iic
128device iicbus
129
130# SCSI peripherals
131device scbus # SCSI bus (required for ATA/SCSI)
132device da # Direct Access (disks)
133device cd # CD
134device pass # Passthrough device (direct ATA/SCSI access)
135
136# USB support
137options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
138#options USB_DEBUG # enable debug msgs
139device ehci # OHCI USB interface
140device usb # USB Bus (required)
141device umass # Disks/Mass storage - Requires scbus and da
142device uhid # "Human Interface Devices"
143device u3g
144
145# USB Ethernet, requires miibus
146device miibus
147device aue # ADMtek USB Ethernet
148device axe # ASIX Electronics USB Ethernet
149device cdce # Generic USB over Ethernet
150device cue # CATC USB Ethernet
151device kue # Kawasaki LSI USB Ethernet
152device rue # RealTek RTL8150 USB Ethernet
153device udav # Davicom DM9601E USB
154
155# USB Wireless
156device rum # Ralink Technology RT2501USB wireless NICs
157
158# Watchdog timer.
159# WARNING: can't be disabled!!!
160device imxwdt # Watchdog
161
162# Wireless NIC cards
163device wlan # 802.11 support
164device wlan_wep # 802.11 WEP support
165device wlan_ccmp # 802.11 CCMP support
166device wlan_tkip # 802.11 TKIP support
167device wlan_amrr # AMRR transmit rate control algorithm
168
169# Flattened Device Tree
170options FDT # Configure using FDT/DTB data
171options FDT_DTB_STATIC
172makeoptions FDT_DTS_FILE=efikamx.dts
173
174# NOTE: serial console will be disabled if syscons enabled
175# Uncomment following lines for framebuffer/syscons support
176device sc
177device kbdmux
178options SC_DFLT_FONT # compile font in
179makeoptions SC_DFLT_FONT=cp437
180device ukbd # Allow keyboard like HIDs to control console
181device ums