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