1#
2# BEAGLEBONE -- Custom configuration for the BeagleBone ARM development
3# platforms, check out http://www.beagleboard.org/bone and
4# http://www.beagleboard.org/black. This kernel config file is used for the
5# original BeagleBone and the BeagleBone Black.
6#
7# For more information on this file, please read the config(5) manual page,
8# and/or the handbook section on Kernel Configuration Files:
9#
10# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
11#
12# The handbook is also available locally in /usr/share/doc/handbook
13# if you've installed the doc distribution, otherwise always see the
14# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
15# latest information.
16#
17# An exhaustive list of options and more detailed explanations of the
18# device lines is also present in the ../../conf/NOTES and NOTES files.
19# If you are in doubt as to the purpose or necessity of a line, check first
20# in NOTES.
21#
22# $FreeBSD: head/sys/arm/conf/BEAGLEBONE 277042 2015-01-12 03:23:16Z loos $
23
24ident BEAGLEBONE
25
26include "../ti/am335x/std.am335x"
27
28makeoptions WITHOUT_MODULES="ahc"
29
30options HZ=100
31options SCHED_4BSD # 4BSD scheduler
32options PREEMPTION # Enable kernel thread preemption
33options INET # InterNETworking
34options INET6 # IPv6 communications protocols
35options SCTP # Stream Control Transmission Protocol
36options FFS # Berkeley Fast Filesystem
37options SOFTUPDATES # Enable FFS soft updates support
38options UFS_ACL # Support for access control lists
39options UFS_DIRHASH # Improve performance on big directories
40options UFS_GJOURNAL # Enable gjournal-based UFS journaling
41options QUOTA # Enable disk quotas for UFS
42options NFSCL # Network Filesystem Client
43options NFSLOCKD # Network Lock Manager
44options NFS_ROOT # NFS usable as /, requires NFSCL
45options MSDOSFS # MSDOS Filesystem
46options CD9660 # ISO 9660 Filesystem
47options PROCFS # Process filesystem (requires PSEUDOFS)
48options PSEUDOFS # Pseudo-filesystem framework
49options TMPFS # Efficient memory filesystem
50options GEOM_PART_GPT # GUID Partition Tables
51options GEOM_PART_BSD # BSD partition scheme
52options GEOM_PART_MBR # MBR partition scheme
53options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
54options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
55options KTRACE # ktrace(1) support
56options SYSVSHM # SYSV-style shared memory
57options SYSVMSG # SYSV-style message queues
58options SYSVSEM # SYSV-style semaphores
59options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60options KBD_INSTALL_CDEV # install a CDEV entry in /dev
61options PLATFORM
62options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8)
63options VFP # Enable floating point hardware support
64
65# Debugging for use in -current
66makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
67options BREAK_TO_DEBUGGER
68#options VERBOSE_SYSINIT # Enable verbose sysinit messages
69options KDB # Enable kernel debugger support
70# For minimum debugger support (stable branch) use:
71#options KDB_TRACE # Print a stack trace for a panic
72# For full debugger support use this instead:
73options DDB # Enable the kernel debugger
74options INVARIANTS # Enable calls of extra sanity checking
75options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
76options WITNESS # Enable checks to detect deadlocks and cycles
77options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
78#options DIAGNOSTIC
79
80# NFS server support
81#options NFSD
82
83# NFS root from boopt/dhcp
84#options BOOTP
85#options BOOTP_NFSROOT
86#options BOOTP_COMPAT
87#options BOOTP_NFSV3
88#options BOOTP_WIRED_TO=cpsw0
89
90# Boot device is 2nd slice on MMC/SD card
91options ROOTDEVNAME=\"ufs:mmcsd0s2\"
92
93# MMC/SD/SDIO Card slot support
94device mmc # mmc/sd bus
95device mmcsd # mmc/sd flash cards
96device sdhci # mmc/sd host controller
97
98# I2C support
99device iicbus
100device iic
101device ti_i2c
102device am335x_pmic # AM335x Power Management IC (TPC65217)
103
104device am335x_rtc # RTC support (power management only)
105
106# Console and misc
107device uart
108device uart_ns8250
109device pty
110device snp
111device md
112device random # Entropy device
113
114# GPIO
115device gpio
116device gpioled
117
118# ADC support
119device ti_adc
120
121# Watchdog support
122# If we don't enable the watchdog driver, the system could potentially
123# reboot automatically because the boot loader might have enabled the
124# watchdog.
125device ti_wdt
126
127# TI Programmable Realtime Unit support
128device ti_pruss
129
130# Mailbox support
131device ti_mbox
132
133# USB support
134device usb
135options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
136options USB_DEBUG
137#options USB_REQ_DEBUG
138#options USB_VERBOSE
139device musb
140device umass
141device scbus # SCSI bus (required for ATA/SCSI)
142device da # Direct Access (disks)
143
144# Ethernet
145device loop
146device ether
147device mii
148device smscphy
149device cpsw
150device bpf
151
152# USB Ethernet support, requires miibus
153device miibus
154device axe # ASIX Electronics USB Ethernet
155
156# Device mode support and USFS template
157device usb_template # Control of the gadget
158device usfs
159
160# Flattened Device Tree
161options FDT # Configure using FDT/DTB data
162options FDT_DTB_STATIC
163makeoptions FDT_DTS_FILE=beaglebone.dts
2# BEAGLEBONE -- Custom configuration for the BeagleBone ARM development
3# platforms, check out http://www.beagleboard.org/bone and
4# http://www.beagleboard.org/black. This kernel config file is used for the
5# original BeagleBone and the BeagleBone Black.
6#
7# For more information on this file, please read the config(5) manual page,
8# and/or the handbook section on Kernel Configuration Files:
9#
10# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
11#
12# The handbook is also available locally in /usr/share/doc/handbook
13# if you've installed the doc distribution, otherwise always see the
14# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
15# latest information.
16#
17# An exhaustive list of options and more detailed explanations of the
18# device lines is also present in the ../../conf/NOTES and NOTES files.
19# If you are in doubt as to the purpose or necessity of a line, check first
20# in NOTES.
21#
22# $FreeBSD: head/sys/arm/conf/BEAGLEBONE 277042 2015-01-12 03:23:16Z loos $
23
24ident BEAGLEBONE
25
26include "../ti/am335x/std.am335x"
27
28makeoptions WITHOUT_MODULES="ahc"
29
30options HZ=100
31options SCHED_4BSD # 4BSD scheduler
32options PREEMPTION # Enable kernel thread preemption
33options INET # InterNETworking
34options INET6 # IPv6 communications protocols
35options SCTP # Stream Control Transmission Protocol
36options FFS # Berkeley Fast Filesystem
37options SOFTUPDATES # Enable FFS soft updates support
38options UFS_ACL # Support for access control lists
39options UFS_DIRHASH # Improve performance on big directories
40options UFS_GJOURNAL # Enable gjournal-based UFS journaling
41options QUOTA # Enable disk quotas for UFS
42options NFSCL # Network Filesystem Client
43options NFSLOCKD # Network Lock Manager
44options NFS_ROOT # NFS usable as /, requires NFSCL
45options MSDOSFS # MSDOS Filesystem
46options CD9660 # ISO 9660 Filesystem
47options PROCFS # Process filesystem (requires PSEUDOFS)
48options PSEUDOFS # Pseudo-filesystem framework
49options TMPFS # Efficient memory filesystem
50options GEOM_PART_GPT # GUID Partition Tables
51options GEOM_PART_BSD # BSD partition scheme
52options GEOM_PART_MBR # MBR partition scheme
53options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
54options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
55options KTRACE # ktrace(1) support
56options SYSVSHM # SYSV-style shared memory
57options SYSVMSG # SYSV-style message queues
58options SYSVSEM # SYSV-style semaphores
59options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60options KBD_INSTALL_CDEV # install a CDEV entry in /dev
61options PLATFORM
62options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8)
63options VFP # Enable floating point hardware support
64
65# Debugging for use in -current
66makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
67options BREAK_TO_DEBUGGER
68#options VERBOSE_SYSINIT # Enable verbose sysinit messages
69options KDB # Enable kernel debugger support
70# For minimum debugger support (stable branch) use:
71#options KDB_TRACE # Print a stack trace for a panic
72# For full debugger support use this instead:
73options DDB # Enable the kernel debugger
74options INVARIANTS # Enable calls of extra sanity checking
75options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
76options WITNESS # Enable checks to detect deadlocks and cycles
77options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
78#options DIAGNOSTIC
79
80# NFS server support
81#options NFSD
82
83# NFS root from boopt/dhcp
84#options BOOTP
85#options BOOTP_NFSROOT
86#options BOOTP_COMPAT
87#options BOOTP_NFSV3
88#options BOOTP_WIRED_TO=cpsw0
89
90# Boot device is 2nd slice on MMC/SD card
91options ROOTDEVNAME=\"ufs:mmcsd0s2\"
92
93# MMC/SD/SDIO Card slot support
94device mmc # mmc/sd bus
95device mmcsd # mmc/sd flash cards
96device sdhci # mmc/sd host controller
97
98# I2C support
99device iicbus
100device iic
101device ti_i2c
102device am335x_pmic # AM335x Power Management IC (TPC65217)
103
104device am335x_rtc # RTC support (power management only)
105
106# Console and misc
107device uart
108device uart_ns8250
109device pty
110device snp
111device md
112device random # Entropy device
113
114# GPIO
115device gpio
116device gpioled
117
118# ADC support
119device ti_adc
120
121# Watchdog support
122# If we don't enable the watchdog driver, the system could potentially
123# reboot automatically because the boot loader might have enabled the
124# watchdog.
125device ti_wdt
126
127# TI Programmable Realtime Unit support
128device ti_pruss
129
130# Mailbox support
131device ti_mbox
132
133# USB support
134device usb
135options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
136options USB_DEBUG
137#options USB_REQ_DEBUG
138#options USB_VERBOSE
139device musb
140device umass
141device scbus # SCSI bus (required for ATA/SCSI)
142device da # Direct Access (disks)
143
144# Ethernet
145device loop
146device ether
147device mii
148device smscphy
149device cpsw
150device bpf
151
152# USB Ethernet support, requires miibus
153device miibus
154device axe # ASIX Electronics USB Ethernet
155
156# Device mode support and USFS template
157device usb_template # Control of the gadget
158device usfs
159
160# Flattened Device Tree
161options FDT # Configure using FDT/DTB data
162options FDT_DTB_STATIC
163makeoptions FDT_DTS_FILE=beaglebone.dts