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.
7 # For more information on this file, please read the config(5) manual page,
8 # and/or the handbook section on Kernel Configuration Files:
10 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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
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
26 include "../ti/am335x/std.am335x"
28 makeoptions MODULES_EXTRA="dtb/am335x"
31 options KDTRACE_HOOKS # Kernel DTrace hooks
32 options DDB_CTF # all architectures - kernel ELF linker loads CTF data
33 makeoptions WITH_CTF=1
34 makeoptions MODULES_EXTRA+="opensolaris dtrace dtrace/lockstat dtrace/profile dtrace/fbt"
37 options SCHED_4BSD # 4BSD scheduler
38 options PREEMPTION # Enable kernel thread preemption
39 options INET # InterNETworking
40 options INET6 # IPv6 communications protocols
41 options SCTP # Stream Control Transmission Protocol
42 options FFS # Berkeley Fast Filesystem
43 options SOFTUPDATES # Enable FFS soft updates support
44 options UFS_ACL # Support for access control lists
45 options UFS_DIRHASH # Improve performance on big directories
46 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
47 options QUOTA # Enable disk quotas for UFS
48 options NFSCL # Network Filesystem Client
49 options NFSLOCKD # Network Lock Manager
50 options NFS_ROOT # NFS usable as /, requires NFSCL
51 options MSDOSFS # MSDOS Filesystem
52 options CD9660 # ISO 9660 Filesystem
53 options PROCFS # Process filesystem (requires PSEUDOFS)
54 options PSEUDOFS # Pseudo-filesystem framework
55 options TMPFS # Efficient memory filesystem
56 options GEOM_PART_GPT # GUID Partition Tables
57 options GEOM_PART_BSD # BSD partition scheme
58 options GEOM_PART_MBR # MBR partition scheme
59 options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
60 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
61 options KTRACE # ktrace(1) support
62 options SYSVSHM # SYSV-style shared memory
63 options SYSVMSG # SYSV-style message queues
64 options SYSVSEM # SYSV-style semaphores
65 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
66 options KBD_INSTALL_CDEV # install a CDEV entry in /dev
68 options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8)
69 options VFP # Enable floating point hardware support
71 # Debugging for use in -current
72 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
73 options BREAK_TO_DEBUGGER
74 #options VERBOSE_SYSINIT # Enable verbose sysinit messages
75 options KDB # Enable kernel debugger support
76 # For minimum debugger support (stable branch) use:
77 #options KDB_TRACE # Print a stack trace for a panic
78 # For full debugger support use this instead:
79 options DDB # Enable the kernel debugger
80 options INVARIANTS # Enable calls of extra sanity checking
81 options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
82 options WITNESS # Enable checks to detect deadlocks and cycles
83 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
89 # NFS root from boopt/dhcp
91 #options BOOTP_NFSROOT
94 #options BOOTP_WIRED_TO=cpsw0
96 # Boot device is 2nd slice on MMC/SD card
97 options ROOTDEVNAME=\"ufs:mmcsd0s2\"
99 # MMC/SD/SDIO Card slot support
100 device mmc # mmc/sd bus
101 device mmcsd # mmc/sd flash cards
102 device sdhci # mmc/sd host controller
108 device am335x_pmic # AM335x Power Management IC (TPC65217)
110 device am335x_rtc # RTC support (power management only)
118 device random # Entropy device
128 # If we don't enable the watchdog driver, the system could potentially
129 # reboot automatically because the boot loader might have enabled the
133 # TI Programmable Realtime Unit support
141 options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
143 #options USB_REQ_DEBUG
147 device scbus # SCSI bus (required for ATA/SCSI)
148 device da # Direct Access (disks)
158 # USB Ethernet support, requires miibus
160 device axe # ASIX Electronics USB Ethernet
162 # Device mode support and USFS template
163 device usb_template # Control of the gadget
166 # Flattened Device Tree
167 options FDT # Configure using FDT/DTB data