]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/SOCKIT.common
MFH: r281855-r282312
[FreeBSD/FreeBSD.git] / sys / arm / conf / SOCKIT.common
1 #
2 # Kernel configuration for Terasic SoCKit (Altera Cyclone V SoC).
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$
20
21 include         "../altera/socfpga/std.socfpga"
22
23 makeoptions     MODULES_OVERRIDE=""
24
25 makeoptions     WERROR="-Werror"
26
27 options         HZ=100
28 options         SCHED_ULE               # ULE scheduler
29 options         PREEMPTION              # Enable kernel thread preemption
30 options         INET                    # InterNETworking
31 options         INET6                   # IPv6 communications protocols
32 options         SCTP                    # Stream Control Transmission Protocol
33 options         FFS                     # Berkeley Fast Filesystem
34 options         SOFTUPDATES             # Enable FFS soft updates support
35 options         UFS_ACL                 # Support for access control lists
36 options         UFS_DIRHASH             # Improve performance on big directories
37 options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
38 options         QUOTA                   # Enable disk quotas for UFS
39 options         NFSCL                   # Network Filesystem Client
40 options         NFSLOCKD                # Network Lock Manager
41 options         NFS_ROOT                # NFS usable as /, requires NFSCL
42 options         MSDOSFS                 # MSDOS Filesystem
43 options         CD9660                  # ISO 9660 Filesystem
44 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
45 options         PSEUDOFS                # Pseudo-filesystem framework
46 options         TMPFS                   # Efficient memory filesystem
47 options         GEOM_PART_GPT           # GUID Partition Tables
48 options         GEOM_PART_BSD           # BSD partition scheme
49 options         GEOM_PART_MBR           # MBR partition scheme
50 options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
51 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
52 options         KTRACE                  # ktrace(1) support
53 options         SYSVSHM                 # SYSV-style shared memory
54 options         SYSVMSG                 # SYSV-style message queues
55 options         SYSVSEM                 # SYSV-style semaphores
56 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
57 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
58 options         FREEBSD_BOOT_LOADER     # Process metadata passed from loader(8)
59 options         VFP                     # Enable floating point hardware support
60 options         SMP                     # Enable multiple cores
61
62 # Debugging for use in -current
63 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
64 options         BREAK_TO_DEBUGGER
65 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
66 options         KDB                     # Enable kernel debugger support
67 # For minimum debugger support (stable branch) use:
68 #options        KDB_TRACE               # Print a stack trace for a panic
69 # For full debugger support use this instead:
70 options         DDB                     # Enable the kernel debugger
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
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=ue0
83
84 # MMC/SD/SDIO Card slot support
85 device          mmc                     # mmc/sd bus
86 device          mmcsd                   # mmc/sd flash cards
87 device          dwmmc
88
89 # Pseudo devices
90
91 device          loop
92 device          random
93 device          pty
94 device          md
95 device          gpio
96
97 # USB support
98 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
99 device          usb
100 options         USB_DEBUG
101 #options        USB_REQ_DEBUG
102 #options        USB_VERBOSE
103 #device         musb
104 device          dwcotg
105
106 device          umass
107 device          scbus                   # SCSI bus (required for ATA/SCSI)
108 device          da                      # Direct Access (disks)
109 device          pass
110
111 # Serial ports
112 device          uart
113 device          uart_ns8250
114
115 # I2C (TWSI)
116 device          iic
117 device          iicbus
118
119 # SPI
120 device          spibus
121
122 # Ethernet
123 device          ether
124 device          mii
125 device          smsc
126 device          smscphy
127 device          dwc
128 device          micphy
129
130 # USB ethernet support, requires miibus
131 device          miibus
132 device          axe                     # ASIX Electronics USB Ethernet
133 device          bpf                     # Berkeley packet filter
134
135 # Flattened Device Tree
136 options         FDT                     # Configure using FDT/DTB data