Deleted Added
full compact
IMX6 (294087) IMX6 (298068)
1#
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#
1#
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#
19# $FreeBSD: head/sys/arm/conf/IMX6 294087 2016-01-15 11:40:41Z andrew $
19# $FreeBSD: head/sys/arm/conf/IMX6 298068 2016-04-15 16:05:41Z andrew $
20
21ident IMX6
22include "std.armv6"
23include "../freescale/imx/std.imx6"
24
20
21ident IMX6
22include "std.armv6"
23include "../freescale/imx/std.imx6"
24
25options ARM_INTRNG
25options INTRNG
26
27options SOC_IMX6
28
29options HZ=500 # Scheduling quantum is 2 milliseconds.
30options SCHED_ULE # ULE scheduler
31#options NFSD # Network Filesystem Server
32options INCLUDE_CONFIG_FILE # Include this file in kernel
33options PLATFORM
34options SMP # Enable multiple cores
35
36# Debugging for use in -current
37makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
38options KDB # Enable kernel debugger support
39# For minimum debugger support (stable branch) use:
40#options KDB_TRACE # Print a stack trace for a panic
41# For full debugger support use this instead:
42options DDB # Enable the kernel debugger
43#options GDB # Support remote GDB.
44# Other debugging options...
45options ALT_BREAK_TO_DEBUGGER # Use <CR><tilde><ctrl-b> to enter debugger.
46#options DEADLKRES # Enable the deadlock resolver
47#options INVARIANTS # Enable calls of extra sanity checking
48#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
49#options WITNESS # Enable checks to detect deadlocks and cycles
50#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
51#options DIAGNOSTIC
52
53# NFS root from boopt/dhcp
54#options BOOTP
55#options BOOTP_NFSROOT
56#options BOOTP_COMPAT
57#options BOOTP_NFSV3
58#options BOOTP_WIRED_TO=ffec0
59
60# U-Boot stuff lives on slice 1, FreeBSD on slice 2.
61options ROOTDEVNAME=\"ufs:mmcsd0s2a\"
62
63# Interrupt controller
64device gic
65# Cache controller
66device pl310 # PL310 L2 cache controller
67# ARM MPCore timer
68device mpcore_timer
69
70# Pseudo devices.
71device loop # Network loopback
72device random # Entropy device
73device vlan # 802.1Q VLAN support
74device tun # Packet tunnel.
75device md # Memory "disks"
76#device gif # IPv6 and IPv4 tunneling
77#device firmware # firmware assist module
78device ether # Ethernet support
79device miibus # Required for ethernet
80device bpf # Berkeley packet filter (required for DHCP)
81
82# General-purpose input/output
83device gpio
84
85# Serial (COM) ports
86device uart # Multi-uart driver
87
88# SDCard
89device sdhci # SD controller
90device mmc # SD/MMC protocol
91device mmcsd # SDCard disk device
92
93# SCSI peripherals
94device scbus # SCSI bus (required for ATA/SCSI)
95device da # Direct Access (disks)
96device cd # CD
97device pass # Passthrough device (direct ATA/SCSI access)
98
99# USB support
100#options USB_DEBUG # enable debug msgs
101device ehci # OHCI USB interface
102device usb # USB Bus (required)
103device umass # Disks/Mass storage - Requires scbus and da
104device uhid # "Human Interface Devices"
105device u3g # USB modems
106#device ukbd # Allow keyboard like HIDs to control console
107#device ums # USB mouse
108
109# USB Ethernet, requires miibus
110#device aue # ADMtek USB Ethernet
111#device axe # ASIX Electronics USB Ethernet
112#device cdce # Generic USB over Ethernet
113#device cue # CATC USB Ethernet
114#device kue # Kawasaki LSI USB Ethernet
115#device rue # RealTek RTL8150 USB Ethernet
116#device udav # Davicom DM9601E USB
117
118# USB Wireless
119#device rum # Ralink Technology RT2501USB wireless NICs
120
121# Wireless NIC cards
122#device wlan # 802.11 support
123#device wlan_wep # 802.11 WEP support
124#device wlan_ccmp # 802.11 CCMP support
125#device wlan_tkip # 802.11 TKIP support
126#device wlan_amrr # AMRR transmit rate control algorithm
127
128device vt
129device kbdmux
130device ukbd
131device videomode
132device hdmi
133
134# Flattened Device Tree
135options FDT # Configure using FDT/DTB data
136makeoptions MODULES_EXTRA=dtb/imx6
137
138# SoC-specific devices
139device ffec # Freescale Fast Ethernet Controller
140device fsliic # Freescale i2c/iic
141device iic # iic protocol
142device iicbus # iic bus
143device imxwdt # Watchdog. WARNING: can't be disabled!!!
144
26
27options SOC_IMX6
28
29options HZ=500 # Scheduling quantum is 2 milliseconds.
30options SCHED_ULE # ULE scheduler
31#options NFSD # Network Filesystem Server
32options INCLUDE_CONFIG_FILE # Include this file in kernel
33options PLATFORM
34options SMP # Enable multiple cores
35
36# Debugging for use in -current
37makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
38options KDB # Enable kernel debugger support
39# For minimum debugger support (stable branch) use:
40#options KDB_TRACE # Print a stack trace for a panic
41# For full debugger support use this instead:
42options DDB # Enable the kernel debugger
43#options GDB # Support remote GDB.
44# Other debugging options...
45options ALT_BREAK_TO_DEBUGGER # Use <CR><tilde><ctrl-b> to enter debugger.
46#options DEADLKRES # Enable the deadlock resolver
47#options INVARIANTS # Enable calls of extra sanity checking
48#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
49#options WITNESS # Enable checks to detect deadlocks and cycles
50#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
51#options DIAGNOSTIC
52
53# NFS root from boopt/dhcp
54#options BOOTP
55#options BOOTP_NFSROOT
56#options BOOTP_COMPAT
57#options BOOTP_NFSV3
58#options BOOTP_WIRED_TO=ffec0
59
60# U-Boot stuff lives on slice 1, FreeBSD on slice 2.
61options ROOTDEVNAME=\"ufs:mmcsd0s2a\"
62
63# Interrupt controller
64device gic
65# Cache controller
66device pl310 # PL310 L2 cache controller
67# ARM MPCore timer
68device mpcore_timer
69
70# Pseudo devices.
71device loop # Network loopback
72device random # Entropy device
73device vlan # 802.1Q VLAN support
74device tun # Packet tunnel.
75device md # Memory "disks"
76#device gif # IPv6 and IPv4 tunneling
77#device firmware # firmware assist module
78device ether # Ethernet support
79device miibus # Required for ethernet
80device bpf # Berkeley packet filter (required for DHCP)
81
82# General-purpose input/output
83device gpio
84
85# Serial (COM) ports
86device uart # Multi-uart driver
87
88# SDCard
89device sdhci # SD controller
90device mmc # SD/MMC protocol
91device mmcsd # SDCard disk device
92
93# SCSI peripherals
94device scbus # SCSI bus (required for ATA/SCSI)
95device da # Direct Access (disks)
96device cd # CD
97device pass # Passthrough device (direct ATA/SCSI access)
98
99# USB support
100#options USB_DEBUG # enable debug msgs
101device ehci # OHCI USB interface
102device usb # USB Bus (required)
103device umass # Disks/Mass storage - Requires scbus and da
104device uhid # "Human Interface Devices"
105device u3g # USB modems
106#device ukbd # Allow keyboard like HIDs to control console
107#device ums # USB mouse
108
109# USB Ethernet, requires miibus
110#device aue # ADMtek USB Ethernet
111#device axe # ASIX Electronics USB Ethernet
112#device cdce # Generic USB over Ethernet
113#device cue # CATC USB Ethernet
114#device kue # Kawasaki LSI USB Ethernet
115#device rue # RealTek RTL8150 USB Ethernet
116#device udav # Davicom DM9601E USB
117
118# USB Wireless
119#device rum # Ralink Technology RT2501USB wireless NICs
120
121# Wireless NIC cards
122#device wlan # 802.11 support
123#device wlan_wep # 802.11 WEP support
124#device wlan_ccmp # 802.11 CCMP support
125#device wlan_tkip # 802.11 TKIP support
126#device wlan_amrr # AMRR transmit rate control algorithm
127
128device vt
129device kbdmux
130device ukbd
131device videomode
132device hdmi
133
134# Flattened Device Tree
135options FDT # Configure using FDT/DTB data
136makeoptions MODULES_EXTRA=dtb/imx6
137
138# SoC-specific devices
139device ffec # Freescale Fast Ethernet Controller
140device fsliic # Freescale i2c/iic
141device iic # iic protocol
142device iicbus # iic bus
143device imxwdt # Watchdog. WARNING: can't be disabled!!!
144