1 # Kernel configuration for Terasic SoCKit (Altera Cyclone V SoC).
3 # For more information on this file, please read the config(5) manual page,
4 # and/or the handbook section on Kernel Configuration Files:
6 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8 # The handbook is also available locally in /usr/share/doc/handbook
9 # if you've installed the doc distribution, otherwise always see the
10 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13 # An exhaustive list of options and more detailed explanations of the
14 # device lines is also present in the ../../conf/NOTES and NOTES files.
15 # If you are in doubt as to the purpose or necessity of a line, check first
21 include "../altera/socfpga/std.socfpga"
23 makeoptions MODULES_OVERRIDE=""
25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
26 makeoptions WERROR="-Werror"
29 options SCHED_4BSD # 4BSD scheduler
30 options INET # InterNETworking
31 options INET6 # IPv6 communications protocols
32 options GEOM_PART_BSD # BSD partition scheme
33 options GEOM_PART_MBR # MBR partition scheme
34 options GEOM_PART_GPT # GUID partition tables
35 options TMPFS # Efficient memory filesystem
36 options FFS # Berkeley Fast Filesystem
38 options UFS_ACL # Support for access control lists
39 options UFS_DIRHASH # Improve performance on big directories
40 options MSDOSFS # MSDOS Filesystem
41 options CD9660 # ISO 9660 Filesystem
42 options PROCFS # Process filesystem (requires PSEUDOFS)
43 options PSEUDOFS # Pseudo-filesystem framework
44 options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
45 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
47 options SYSVSHM # SYSV-style shared memory
48 options SYSVMSG # SYSV-style message queues
49 options SYSVSEM # SYSV-style semaphores
50 options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
51 options KBD_INSTALL_CDEV
53 options FREEBSD_BOOT_LOADER
54 options VFP # vfp/neon
59 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
60 options BREAK_TO_DEBUGGER
61 #options VERBOSE_SYSINIT # Enable verbose sysinit messages
63 options DDB # Enable the kernel debugger
64 options INVARIANTS # Enable calls of extra sanity checking
65 options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
66 #options WITNESS # Enable checks to detect deadlocks and cycles
67 #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
71 options NFSCL # Network Filesystem Client
72 options NFSLOCKD # Network Lock Manager
73 options NFS_ROOT # NFS usable as /, requires NFSCLIENT
75 # Uncomment this for NFS root
76 #options NFS_ROOT # NFS usable as /, requires NFSCL
77 #options BOOTP_NFSROOT
81 #options BOOTP_WIRED_TO=ue0
83 device mmc # mmc/sd bus
84 device mmcsd # mmc/sd flash cards
85 device sdhci # generic sdhci
87 options ROOTDEVNAME=\"ufs:/dev/da0\"
98 options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
101 #options USB_REQ_DEBUG
107 device scbus # SCSI bus (required for ATA/SCSI)
108 device da # Direct Access (disks)
129 # USB ethernet support, requires miibus
131 device axe # ASIX Electronics USB Ethernet
132 device bpf # Berkeley packet filter
136 options FDT_DTB_STATIC
137 makeoptions FDT_DTS_FILE=socfpga-sockit.dts