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 NUMA # Non-Uniform Memory Architecture support 29options PREEMPTION # Enable kernel thread preemption 30options VIMAGE # Subsystem virtualization, e.g. VNET 31options INET # InterNETworking 32options INET6 # IPv6 communications protocols 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_SUPPORT # Allow kldload of SCTP 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 TMPFS # Efficient memory filesystem 54options GEOM_RAID # Soft RAID functionality. 55options GEOM_LABEL # Provides labelization 56options COMPAT_FREEBSD32 # Compatible with FreeBSD/arm 57options COMPAT_FREEBSD11 # Compatible with FreeBSD11 58options COMPAT_FREEBSD12 # Compatible with FreeBSD12 59options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 60options KTRACE # ktrace(1) support 61options STACK # stack(9) support 62options SYSVSHM # SYSV-style shared memory 63options SYSVMSG # SYSV-style message queues 64options SYSVSEM # SYSV-style semaphores 65options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 66options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 67options KBD_INSTALL_CDEV # install a CDEV entry in /dev 68options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 69options AUDIT # Security event auditing 70options CAPABILITY_MODE # Capsicum capability mode 71options CAPABILITIES # Capsicum capabilities 72options MAC # TrustedBSD MAC Framework 73options KDTRACE_FRAME # Ensure frames are compiled in 74options KDTRACE_HOOKS # Kernel DTrace hooks 75options DDB_CTF # Kernel ELF linker loads CTF data 76options VFP # Floating-point support 77options RACCT # Resource accounting framework 78options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default 79options RCTL # Resource limits 80options SMP 81options INTRNG 82options LINUX_BOOT_ABI # Boot using booti command from U-Boot 83 84# Debugging support. Always need this: 85options KDB # Enable kernel debugger support. 86options KDB_TRACE # Print a stack trace for a panic. 87# For full debugger support use (turn off in stable branch): 88options DDB # Support DDB. 89#options GDB # Support remote GDB. 90options DEADLKRES # Enable the deadlock resolver 91options INVARIANTS # Enable calls of extra sanity checking 92options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 93options WITNESS # Enable checks to detect deadlocks and cycles 94options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 95options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 96options ALT_BREAK_TO_DEBUGGER # Enter debugger on keyboard escape sequence 97options USB_DEBUG # enable debug msgs 98options VERBOSE_SYSINIT=0 # Support debug.verbose_sysinit, off by default 99 100# Kernel Sanitizers 101#options COVERAGE # Generic kernel coverage. Used by KCOV 102#options KCOV # Kernel Coverage Sanitizer 103# Warning: KUBSAN can result in a kernel too large for loader to load 104#options KUBSAN # Kernel Undefined Behavior Sanitizer 105#options KCSAN # Kernel Concurrency Sanitizer 106 107# Kernel dump features. 108options EKCD # Support for encrypted kernel dumps 109options GZIO # gzip-compressed kernel and user dumps 110options ZSTDIO # zstd-compressed kernel and user dumps 111options DEBUGNET # debugnet networking 112options NETDUMP # netdump(4) client support 113 114# SoC support 115options SOC_ALLWINNER_A64 116options SOC_ALLWINNER_H5 117options SOC_ALLWINNER_H6 118options SOC_CAVM_THUNDERX 119options SOC_FREESCALE_IMX8 120options SOC_HISI_HI6220 121options SOC_INTEL_STRATIX10 122options SOC_BRCM_BCM2837 123options SOC_BRCM_BCM2838 124options SOC_MARVELL_8K 125options SOC_NXP_LS 126options SOC_ROCKCHIP_RK3328 127options SOC_ROCKCHIP_RK3399 128options SOC_XILINX_ZYNQ 129 130# Timer drivers 131device a10_timer 132 133# Annapurna Alpine drivers 134device al_ccu # Alpine Cache Coherency Unit 135device al_nb_service # Alpine North Bridge Service 136device al_iofic # I/O Fabric Interrupt Controller 137device al_serdes # Serializer/Deserializer 138device al_udma # Universal DMA 139 140# Qualcomm Snapdragon drivers 141device qcom_gcc # Global Clock Controller 142 143# VirtIO support 144device virtio 145device virtio_pci 146device virtio_mmio 147device virtio_blk 148device vtnet 149 150# CPU frequency control 151device cpufreq 152 153# Bus drivers 154device pci 155device pci_n1sdp # ARM Neoverse N1 SDP PCI 156device al_pci # Annapurna Alpine PCI-E 157options PCI_HP # PCI-Express native HotPlug 158options PCI_IOV # PCI SR-IOV support 159 160# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure 161device iflib 162device em # Intel PRO/1000 Gigabit Ethernet Family 163device ix # Intel 10Gb Ethernet Family 164 165# Ethernet NICs 166device mdio 167device mii 168device miibus # MII bus support 169device awg # Allwinner EMAC Gigabit Ethernet 170device axgbe # AMD Opteron A1100 integrated NIC 171device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 172device neta # Marvell Armada 370/38x/XP/3700 NIC 173device smc # SMSC LAN91C111 174device vnic # Cavium ThunderX NIC 175device al_eth # Annapurna Alpine Ethernet NIC 176device dwc_rk # Rockchip Designware 177device dwc_socfpga # Altera SOCFPGA Ethernet MAC 178device genet # Broadcom on RPi4 179device ffec # iMX FFEC 180 181# Etherswitch devices 182device etherswitch # Enable etherswitch support 183device miiproxy # Required for etherswitch 184device e6000sw # Marvell mv88e6085 based switches 185 186# Block devices 187device ahci 188device scbus 189device da 190 191# ATA/SCSI peripherals 192device pass # Passthrough device (direct ATA/SCSI access) 193 194# NVM Express (NVMe) support 195device nvme # base NVMe driver 196options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver 197device nvd # expose NVMe namespaces as disks, depends on nvme 198 199# MMC/SD/SDIO Card slot support 200device sdhci 201device sdhci_xenon # Marvell Xenon SD/MMC controller 202device aw_mmc # Allwinner SD/MMC controller 203device mmc # mmc/sd bus 204device mmcsd # mmc/sd flash cards 205device dwmmc 206device dwmmc_altera 207device dwmmc_hisi 208device rk_dwmmc 209device rk_emmcphy 210 211# Serial (COM) ports 212device uart # Generic UART driver 213device uart_imx # iMX8 UART 214device uart_msm # Qualcomm MSM UART driver 215device uart_mu # RPI3 aux port 216device uart_mvebu # Armada 3700 UART driver 217device uart_ns8250 # ns8250-type UART driver 218device uart_snps 219device pl011 220 221# USB support 222options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 223device aw_usbphy # Allwinner USB PHY 224device rk_usb2phy # Rockchip USB2PHY 225device rk_typec_phy # Rockchip TypeC PHY 226device dwcotg # DWC OTG controller 227device musb # Mentor Graphics USB OTG controller 228device ohci # OHCI USB interface 229device ehci # EHCI USB interface (USB 2.0) 230device ehci_mv # Marvell EHCI USB interface 231device xhci # XHCI USB interface (USB 3.0) 232device dwc3 # Synopsys DWC controller 233device aw_dwc3 # Allwinner DWC3 controller 234device rk_dwc3 # Rockchip DWC3 controller 235device usb # USB Bus (required) 236device ukbd # Keyboard 237device umass # Disks/Mass storage - Requires scbus and da 238 239# USB ethernet support 240device muge 241device smcphy 242device smsc 243 244# Sound support 245device sound 246device a10_codec 247 248# DMA controller 249device a31_dmac 250 251# GPIO / PINCTRL 252device a37x0_gpio # Marvell Armada 37x0 GPIO controller 253device aw_gpio # Allwinner GPIO controller 254device dwgpio # Synopsys DesignWare APB GPIO Controller 255device gpio 256device gpioled 257device fdt_pinctrl 258device gpioregulator 259device ls1046_gpio # LS1046A GPIO controller 260device mv_gpio # Marvell GPIO controller 261device mvebu_pinctrl # Marvell Pinmux Controller 262device pl061 # Arm PL061 GPIO controller 263device rk_gpio # RockChip GPIO Controller 264device rk_pinctrl # RockChip Pinmux Controller 265 266# I2C 267device a37x0_iic # Armada 37x0 I2C controller 268device aw_rsb # Allwinner Reduced Serial Bus 269device bcm2835_bsc # Broadcom BCM283x I2C bus 270device iicbus 271device iic 272device twsi # Allwinner I2C controller 273device rk_i2c # RockChip I2C controller 274device syr827 # Silergy SYR827 PMIC 275device sy8106a # SY8106A Buck Regulator 276device vf_i2c # Freescale Vybrid I2C controller 277device fsliic # Freescale iMX I2C controller 278 279# Clock and reset controllers 280device aw_ccu # Allwinner clock controller 281 282# Interrupt controllers 283device aw_nmi # Allwinner NMI support 284device mv_cp110_icu # Marvell CP110 ICU 285device mv_ap806_gicp # Marvell AP806 GICP 286device mv_ap806_sei # Marvell AP806 SEI 287 288# Real-time clock support 289device aw_rtc # Allwinner Real-time Clock 290device mv_rtc # Marvell Real-time Clock 291 292# Crypto accelerators 293device safexcel # Inside Secure EIP-97 294 295# Watchdog controllers 296device aw_wdog # Allwinner Watchdog 297 298# Power management controllers 299device axp81x # X-Powers AXP81x PMIC 300device rk805 # RockChip RK805 PMIC 301 302# EFUSE 303device aw_sid # Allwinner Secure ID EFUSE 304 305# Thermal sensors 306device aw_thermal # Allwinner Thermal Sensor Controller 307device mv_thermal # Marvell Thermal Sensor Controller 308 309# SPI 310device spibus 311device a37x0_spi # Marvell Armada 37x0 SPI Controller 312device bcm2835_spi # Broadcom BCM283x SPI bus 313device rk_spi # RockChip SPI controller 314 315# PWM 316device pwm 317device aw_pwm 318device rk_pwm 319 320# Console 321device vt 322device kbdmux 323 324device vt_efifb 325 326# EVDEV support 327device evdev # input event device support 328options EVDEV_SUPPORT # evdev support in legacy drivers 329device uinput # install /dev/uinput cdev 330device aw_cir 331 332# Pseudo devices. 333device crypto # core crypto support 334device loop # Network loopback 335device ether # Ethernet support 336device vlan # 802.1Q VLAN support 337device tuntap # Packet tunnel. 338device md # Memory "disks" 339device gif # IPv6 and IPv4 tunneling 340device firmware # firmware assist module 341options EFIRT # EFI Runtime Services 342 343# EXT_RESOURCES pseudo devices 344options EXT_RESOURCES 345device clk 346device phy 347device hwreset 348device nvmem 349device regulator 350device syscon 351device aw_syscon 352 353# IO Domains 354device rk_iodomain 355 356# The `bpf' device enables the Berkeley Packet Filter. 357# Be aware of the administrative consequences of enabling this! 358# Note that 'bpf' is required for DHCP. 359device bpf # Berkeley packet filter 360 361# Chip-specific errata 362options THUNDERX_PASS_1_1_ERRATA 363 364options FDT 365device acpi 366 367# DTBs 368makeoptions MODULES_EXTRA="dtb/allwinner dtb/imx8 dtb/mv dtb/rockchip dtb/rpi" 369