1# 2# GENERIC -- Generic kernel configuration file for FreeBSD/arm64 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# https://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 (https://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 21cpu ARM64 22ident GENERIC 23 24makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 25makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support 26 27options SCHED_ULE # ULE scheduler 28options PREEMPTION # Enable kernel thread preemption 29options VIMAGE # Subsystem virtualization, e.g. VNET 30options INET # InterNETworking 31options INET6 # IPv6 communications protocols 32options IPSEC # IP (v4/v6) security 33options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5 34options TCP_HHOOK # hhook(9) framework for TCP 35options TCP_OFFLOAD # TCP offload 36options TCP_RFC7413 # TCP Fast Open 37options SCTP # Stream Control Transmission Protocol 38options FFS # Berkeley Fast Filesystem 39options SOFTUPDATES # Enable FFS soft updates support 40options UFS_ACL # Support for access control lists 41options UFS_DIRHASH # Improve performance on big directories 42options UFS_GJOURNAL # Enable gjournal-based UFS journaling 43options QUOTA # Enable disk quotas for UFS 44options MD_ROOT # MD is a potential root device 45options NFSCL # Network Filesystem Client 46options NFSD # Network Filesystem Server 47options NFSLOCKD # Network Lock Manager 48options NFS_ROOT # NFS usable as /, requires NFSCL 49options MSDOSFS # MSDOS Filesystem 50options CD9660 # ISO 9660 Filesystem 51options PROCFS # Process filesystem (requires PSEUDOFS) 52options PSEUDOFS # Pseudo-filesystem framework 53options GEOM_RAID # Soft RAID functionality. 54options GEOM_LABEL # Provides labelization 55options COMPAT_FREEBSD32 # Incomplete, but used by cloudabi32.ko. 56options COMPAT_FREEBSD11 # Compatible with FreeBSD11 57options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 58options KTRACE # ktrace(1) support 59options STACK # stack(9) support 60options SYSVSHM # SYSV-style shared memory 61options SYSVMSG # SYSV-style message queues 62options SYSVSEM # SYSV-style semaphores 63options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 64options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 65options KBD_INSTALL_CDEV # install a CDEV entry in /dev 66options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 67options AUDIT # Security event auditing 68options CAPABILITY_MODE # Capsicum capability mode 69options CAPABILITIES # Capsicum capabilities 70options MAC # TrustedBSD MAC Framework 71options KDTRACE_FRAME # Ensure frames are compiled in 72options KDTRACE_HOOKS # Kernel DTrace hooks 73options VFP # Floating-point support 74options RACCT # Resource accounting framework 75options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default 76options RCTL # Resource limits 77options SMP 78options INTRNG 79 80# Debugging support. Always need this: 81options KDB # Enable kernel debugger support. 82options KDB_TRACE # Print a stack trace for a panic. 83 84# Kernel dump features. 85options EKCD # Support for encrypted kernel dumps 86options GZIO # gzip-compressed kernel and user dumps 87options ZSTDIO # zstd-compressed kernel and user dumps 88options NETDUMP # netdump(4) client support 89 90# SoC support 91options SOC_ALLWINNER_A64 92options SOC_ALLWINNER_H5 93options SOC_CAVM_THUNDERX 94options SOC_HISI_HI6220 95options SOC_BRCM_BCM2837 96options SOC_MARVELL_8K 97options SOC_ROCKCHIP_RK3328 98options SOC_ROCKCHIP_RK3399 99options SOC_XILINX_ZYNQ 100 101# Timer drivers 102device a10_timer 103 104# Annapurna Alpine drivers 105device al_ccu # Alpine Cache Coherency Unit 106device al_nb_service # Alpine North Bridge Service 107device al_iofic # I/O Fabric Interrupt Controller 108device al_serdes # Serializer/Deserializer 109device al_udma # Universal DMA 110 111# Qualcomm Snapdragon drivers 112device qcom_gcc # Global Clock Controller 113 114# VirtIO support 115device virtio 116device virtio_pci 117device virtio_mmio 118device virtio_blk 119device vtnet 120 121# CPU frequency control 122device cpufreq 123 124# Bus drivers 125device pci 126device al_pci # Annapurna Alpine PCI-E 127options PCI_HP # PCI-Express native HotPlug 128options PCI_IOV # PCI SR-IOV support 129 130# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure 131device iflib 132device em # Intel PRO/1000 Gigabit Ethernet Family 133device ix # Intel 10Gb Ethernet Family 134 135# Ethernet NICs 136device mdio 137device mii 138device miibus # MII bus support 139device awg # Allwinner EMAC Gigabit Ethernet 140device axgbe # AMD Opteron A1100 integrated NIC 141device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 142device neta # Marvell Armada 370/38x/XP/3700 NIC 143device smc # SMSC LAN91C111 144device vnic # Cavium ThunderX NIC 145device al_eth # Annapurna Alpine Ethernet NIC 146device dwc_rk # Rockchip Designware 147 148# Block devices 149device ahci 150device scbus 151device da 152 153# ATA/SCSI peripherals 154device pass # Passthrough device (direct ATA/SCSI access) 155 156# NVM Express (NVMe) support 157device nvme # base NVMe driver 158options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver 159device nvd # expose NVMe namespaces as disks, depends on nvme 160 161# MMC/SD/SDIO Card slot support 162device sdhci 163device sdhci_xenon # Marvell Xenon SD/MMC controller 164device aw_mmc # Allwinner SD/MMC controller 165device mmc # mmc/sd bus 166device mmcsd # mmc/sd flash cards 167device dwmmc 168 169# Serial (COM) ports 170device uart # Generic UART driver 171device uart_msm # Qualcomm MSM UART driver 172device uart_mu # RPI3 aux port 173device uart_mvebu # Armada 3700 UART driver 174device uart_ns8250 # ns8250-type UART driver 175device uart_snps 176device pl011 177 178# USB support 179device aw_ehci # Allwinner EHCI USB interface (USB 2.0) 180device aw_usbphy # Allwinner USB PHY 181device dwcotg # DWC OTG controller 182device ohci # OHCI USB interface 183device ehci # EHCI USB interface (USB 2.0) 184device ehci_mv # Marvell EHCI USB interface 185device xhci # XHCI PCI->USB interface (USB 3.0) 186device usb # USB Bus (required) 187device ukbd # Keyboard 188device umass # Disks/Mass storage - Requires scbus and da 189 190# USB ethernet support 191device muge 192device smcphy 193device smsc 194 195# Sound support 196device sound 197device a10_codec 198 199# DMA controller 200device a31_dmac 201 202# GPIO / PINCTRL 203device a37x0_gpio # Marvell Armada 37x0 GPIO controller 204device aw_gpio # Allwinner GPIO controller 205device gpio 206device gpioled 207device fdt_pinctrl 208device gpioregulator 209device mv_gpio # Marvell GPIO controller 210device mvebu_pinctrl # Marvell Pinmux Controller 211device rk_gpio # RockChip GPIO Controller 212device rk_pinctrl # RockChip Pinmux Controller 213 214# I2C 215device aw_rsb # Allwinner Reduced Serial Bus 216device bcm2835_bsc # Broadcom BCM283x I2C bus 217device iicbus 218device iic 219device twsi # Allwinner I2C controller 220device syr827 # Silergy SYR827 PMIC 221device rk_i2c # RockChip I2C controller 222 223# Clock and reset controllers 224device aw_ccu # Allwinner clock controller 225 226# Interrupt controllers 227device aw_nmi # Allwinner NMI support 228device mv_cp110_icu # Marvell CP110 ICU 229device mv_ap806_gicp # Marvell AP806 GICP 230 231# Real-time clock support 232device aw_rtc # Allwinner Real-time Clock 233device mv_rtc # Marvell Real-time Clock 234 235# Watchdog controllers 236device aw_wdog # Allwinner Watchdog 237 238# Power management controllers 239device axp81x # X-Powers AXP81x PMIC 240device rk805 # RockChip RK805 PMIC 241 242# EFUSE 243device aw_sid # Allwinner Secure ID EFUSE 244 245# Thermal sensors 246device aw_thermal # Allwinner Thermal Sensor Controller 247device mv_thermal # Marvell Thermal Sensor Controller 248 249# SPI 250device spibus 251device bcm2835_spi # Broadcom BCM283x SPI bus 252 253# PWM 254device pwm 255device aw_pwm 256 257# Console 258device vt 259device kbdmux 260 261device vt_efifb 262 263# EVDEV support 264device evdev # input event device support 265options EVDEV_SUPPORT # evdev support in legacy drivers 266device uinput # install /dev/uinput cdev 267 268# Pseudo devices. 269device crypto # core crypto support 270device loop # Network loopback 271device random # Entropy device 272device ether # Ethernet support 273device vlan # 802.1Q VLAN support 274device tun # Packet tunnel. 275device md # Memory "disks" 276device gif # IPv6 and IPv4 tunneling 277device firmware # firmware assist module 278options EFIRT # EFI Runtime Services 279 280# EXT_RESOURCES pseudo devices 281options EXT_RESOURCES 282device clk 283device phy 284device hwreset 285device nvmem 286device regulator 287device syscon 288device aw_syscon 289 290# The `bpf' device enables the Berkeley Packet Filter. 291# Be aware of the administrative consequences of enabling this! 292# Note that 'bpf' is required for DHCP. 293device bpf # Berkeley packet filter 294 295# Chip-specific errata 296options THUNDERX_PASS_1_1_ERRATA 297 298options FDT 299device acpi 300 301# DTBs 302makeoptions MODULES_EXTRA="dtb/allwinner dtb/rockchip dtb/rpi" 303