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