SOCKIT (273380) | SOCKIT (276003) |
---|---|
1# |
|
1# Kernel configuration for Terasic SoCKit (Altera Cyclone V SoC). 2# 3# For more information on this file, please read the config(5) manual page, 4# and/or the handbook section on Kernel Configuration Files: 5# 6# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 7# 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 11# latest information. 12# 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 16# in NOTES. 17# | 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# |
18# $FreeBSD: head/sys/arm/conf/SOCKIT 273380 2014-10-21 09:14:16Z br $ | 19# $FreeBSD: head/sys/arm/conf/SOCKIT 276003 2014-12-21 11:37:00Z andrew $ |
19 20ident SOCKIT 21include "../altera/socfpga/std.socfpga" 22 23makeoptions MODULES_OVERRIDE="" 24 | 20 21ident SOCKIT 22include "../altera/socfpga/std.socfpga" 23 24makeoptions MODULES_OVERRIDE="" 25 |
25makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols | |
26makeoptions WERROR="-Werror" 27 28options HZ=100 29options SCHED_4BSD # 4BSD scheduler | 26makeoptions WERROR="-Werror" 27 28options HZ=100 29options SCHED_4BSD # 4BSD scheduler |
30options PREEMPTION # Enable kernel thread preemption |
|
30options INET # InterNETworking 31options INET6 # IPv6 communications protocols | 31options INET # InterNETworking 32options INET6 # IPv6 communications protocols |
32options GEOM_PART_BSD # BSD partition scheme 33options GEOM_PART_MBR # MBR partition scheme 34options GEOM_PART_GPT # GUID partition tables 35options TMPFS # Efficient memory filesystem | 33options SCTP # Stream Control Transmission Protocol |
36options FFS # Berkeley Fast Filesystem | 34options FFS # Berkeley Fast Filesystem |
37options SOFTUPDATES | 35options SOFTUPDATES # Enable FFS soft updates support |
38options UFS_ACL # Support for access control lists 39options UFS_DIRHASH # Improve performance on big directories | 36options UFS_ACL # Support for access control lists 37options UFS_DIRHASH # Improve performance on big directories |
38options UFS_GJOURNAL # Enable gjournal-based UFS journaling 39options QUOTA # Enable disk quotas for UFS 40options NFSCL # New Network Filesystem Client 41options NFSLOCKD # Network Lock Manager 42options NFS_ROOT # NFS usable as /, requires NFSCL |
|
40options MSDOSFS # MSDOS Filesystem 41options CD9660 # ISO 9660 Filesystem 42options PROCFS # Process filesystem (requires PSEUDOFS) 43options PSEUDOFS # Pseudo-filesystem framework | 43options MSDOSFS # MSDOS Filesystem 44options CD9660 # ISO 9660 Filesystem 45options PROCFS # Process filesystem (requires PSEUDOFS) 46options PSEUDOFS # Pseudo-filesystem framework |
47options TMPFS # Efficient memory filesystem 48options GEOM_PART_GPT # GUID Partition Tables 49options GEOM_PART_BSD # BSD partition scheme 50options GEOM_PART_MBR # MBR partition scheme |
|
44options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 45options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI | 51options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 52options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI |
46options KTRACE | 53options KTRACE # ktrace(1) support |
47options SYSVSHM # SYSV-style shared memory 48options SYSVMSG # SYSV-style message queues 49options SYSVSEM # SYSV-style semaphores | 54options SYSVSHM # SYSV-style shared memory 55options SYSVMSG # SYSV-style message queues 56options SYSVSEM # SYSV-style semaphores |
50options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions 51options KBD_INSTALL_CDEV 52options PREEMPTION 53options FREEBSD_BOOT_LOADER 54options VFP # vfp/neon | 57options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 58options KBD_INSTALL_CDEV # install a CDEV entry in /dev 59options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) 60options VFP # Enable floating point hardware support 61options SMP # Enable multiple cores |
55 | 62 |
56options SMP 57 58# Debugging | 63# Debugging for use in -current |
59makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 60options BREAK_TO_DEBUGGER 61#options VERBOSE_SYSINIT # Enable verbose sysinit messages | 64makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 65options BREAK_TO_DEBUGGER 66#options VERBOSE_SYSINIT # Enable verbose sysinit messages |
62options KDB | 67options 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: |
63options DDB # Enable the kernel debugger 64options INVARIANTS # Enable calls of extra sanity checking 65options 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 68#options DIAGNOSTIC 69 | 71options DDB # Enable the kernel debugger 72options INVARIANTS # Enable calls of extra sanity checking 73options 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 |
70# NFS support 71options NFSCL # Network Filesystem Client 72options NFSLOCKD # Network Lock Manager 73options NFS_ROOT # NFS usable as /, requires NFSCLIENT 74 75# Uncomment this for NFS root 76#options NFS_ROOT # NFS usable as /, requires NFSCL | 78# NFS root from boopt/dhcp 79#options BOOTP |
77#options BOOTP_NFSROOT 78#options BOOTP_COMPAT | 80#options BOOTP_NFSROOT 81#options BOOTP_COMPAT |
79#options BOOTP | |
80#options BOOTP_NFSV3 81#options BOOTP_WIRED_TO=ue0 82 | 82#options BOOTP_NFSV3 83#options BOOTP_WIRED_TO=ue0 84 |
85options ROOTDEVNAME=\"ufs:/dev/da0\" 86 87# MMC/SD/SDIO Card slot support |
|
83device mmc # mmc/sd bus 84device mmcsd # mmc/sd flash cards 85device dwmmc 86 | 88device mmc # mmc/sd bus 89device mmcsd # mmc/sd flash cards 90device dwmmc 91 |
87options ROOTDEVNAME=\"ufs:/dev/da0\" 88 | |
89# Pseudo devices 90 91device loop 92device random 93device pty 94device md 95device gpio 96 --- 30 unchanged lines hidden (view full) --- 127device dwc 128device micphy 129 130# USB ethernet support, requires miibus 131device miibus 132device axe # ASIX Electronics USB Ethernet 133device bpf # Berkeley packet filter 134 | 92# Pseudo devices 93 94device loop 95device random 96device pty 97device md 98device gpio 99 --- 30 unchanged lines hidden (view full) --- 130device dwc 131device micphy 132 133# USB ethernet support, requires miibus 134device miibus 135device axe # ASIX Electronics USB Ethernet 136device bpf # Berkeley packet filter 137 |
135#FDT 136options FDT | 138# Flattened Device Tree 139options FDT # Configure using FDT/DTB data |
137options FDT_DTB_STATIC 138makeoptions FDT_DTS_FILE=socfpga-sockit.dts | 140options FDT_DTB_STATIC 141makeoptions FDT_DTS_FILE=socfpga-sockit.dts |