1eff4c46eSMitchell Horne# 2eff4c46eSMitchell Horne# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 3eff4c46eSMitchell Horne# 4eff4c46eSMitchell Horne# This file contains machine dependent kernel configuration notes. For 5eff4c46eSMitchell Horne# machine independent notes, look in /sys/conf/NOTES. 6eff4c46eSMitchell Horne# 7eff4c46eSMitchell Horne# 8eff4c46eSMitchell Horne 9eff4c46eSMitchell Hornecpu RISCV 10eff4c46eSMitchell Horne 11eff4c46eSMitchell Hornemakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 12eff4c46eSMitchell Hornemakeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support 13eff4c46eSMitchell Horne 14eff4c46eSMitchell Horneoptions PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 15eff4c46eSMitchell Horneoptions KDTRACE_FRAME # Ensure frames are compiled in 16eff4c46eSMitchell Horneoptions KDTRACE_HOOKS # Kernel DTrace hooks 17eff4c46eSMitchell Horneoptions DDB_CTF # Kernel ELF linker loads CTF data 18eff4c46eSMitchell Horneoptions RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default 19eff4c46eSMitchell Horne 20*88d81453SMitchell Horne# Enable detailed accounting by the PV entry allocator. 21*88d81453SMitchell Horneoptions PV_STATS 22*88d81453SMitchell Horne 23eff4c46eSMitchell Horne# RISC-V SBI console 24eff4c46eSMitchell Hornedevice rcons 25eff4c46eSMitchell Horne 26092a42a6SEmmanuel Vadot# pseudo devices 27eff4c46eSMitchell Hornedevice clk 280a4cb545SJessica Clarkedevice hwreset 29eff4c46eSMitchell Hornedevice phy 30eff4c46eSMitchell Hornedevice regulator 31eff4c46eSMitchell Hornedevice syscon 32eff4c46eSMitchell Hornedevice syscon_power 33eff4c46eSMitchell Hornedevice riscv_syscon 34eff4c46eSMitchell Horne 35eff4c46eSMitchell Horne# Backlight subsystem 36eff4c46eSMitchell Hornedevice backlight 37eff4c46eSMitchell Horne 38036ce936SMitchell Horne# MMC/SD/SDIO Card slot support 39036ce936SMitchell Hornedevice dwmmc 40036ce936SMitchell Horne 41eff4c46eSMitchell Horne# NOTE: dtrace introduces CDDL-licensed components into the kernel 42eff4c46eSMitchell Hornedevice dtrace # dtrace core 43eff4c46eSMitchell Hornedevice dtraceall # include all dtrace modules 44eff4c46eSMitchell Horne 45eff4c46eSMitchell Horne# Serial (COM) ports 46eff4c46eSMitchell Hornedevice uart_lowrisc # lowRISC UART driver 47eff4c46eSMitchell Hornedevice uart_ns8250 # ns8250-type UART driver 48eff4c46eSMitchell Horne 49eff4c46eSMitchell Horne# RTC 50100f7956SJessica Clarkedevice da9063_rtc # Dialog Semiconductor DA9063 RTC 51eff4c46eSMitchell Hornedevice goldfish_rtc # QEMU RTC 52eff4c46eSMitchell Horne 53eff4c46eSMitchell Horne# Ethernet drivers 54036ce936SMitchell Hornedevice dwc # Synopsys Designware GMAC Ethernet 55eff4c46eSMitchell Hornedevice xae # Xilinx AXI Ethernet MAC 56eff4c46eSMitchell Horne 57eff4c46eSMitchell Horne# DMA support 58eff4c46eSMitchell Hornedevice xdma # DMA interface 59eff4c46eSMitchell Hornedevice axidma # Xilinx AXI DMA Controller 60eff4c46eSMitchell Horne 61eff4c46eSMitchell Horne# SPI 62eff4c46eSMitchell Hornedevice xilinx_spi # Xilinx AXI Quad-SPI Controller 63eff4c46eSMitchell Horne 64100f7956SJessica Clarke# Power management controllers 65100f7956SJessica Clarkedevice da9063_pmic # Dialog Semiconductor DA9063 PMIC 66100f7956SJessica Clarke 67c5e5202aSJessica Clarke# SiFive device drivers 68eff4c46eSMitchell Hornedevice fe310aon 69c5e5202aSJessica Clarkedevice fu740_pci_dw 70c5e5202aSJessica Clarkedevice sifive_gpio 7190a089cfSJessica Clarkedevice sifive_spi 72eff4c46eSMitchell Hornefiles "../sifive/files.sifive" 73eff4c46eSMitchell Horne 74eff4c46eSMitchell Horne# Flattened Device Tree 75eff4c46eSMitchell Horneoptions FDT 76eff4c46eSMitchell Hornemakeoptions MODULES_EXTRA+="dtb/sifive" 77eff4c46eSMitchell Horne 78eff4c46eSMitchell Horne# FreeBSD/riscv didn't exist for these releases 79eff4c46eSMitchell Hornenooptions COMPAT_FREEBSD4 80eff4c46eSMitchell Hornenooptions COMPAT_FREEBSD5 81eff4c46eSMitchell Hornenooptions COMPAT_FREEBSD6 82eff4c46eSMitchell Hornenooptions COMPAT_FREEBSD7 83eff4c46eSMitchell Hornenooptions COMPAT_FREEBSD9 84eff4c46eSMitchell Hornenooptions COMPAT_FREEBSD10 85eff4c46eSMitchell Hornenooptions COMPAT_FREEBSD11 86eff4c46eSMitchell Horne 87eff4c46eSMitchell Horne# riscv doesn't support inb/outb, so disable chipset probing which needs it 88eff4c46eSMitchell Hornenooptions PPC_PROBE_CHIPSET 89eff4c46eSMitchell Horne 90eff4c46eSMitchell Horne# Makes assumptions about bus tags that aren't true on riscv 91eff4c46eSMitchell Hornenodevice snd_cmi 92eff4c46eSMitchell Horne 93eff4c46eSMitchell Horne# Don't yet have hwpmc(4) 94eff4c46eSMitchell Hornenodevice hwpmc 95eff4c46eSMitchell Hornenooptions HWPMC_HOOKS 96e9e7bc82SNavdeep Parhar 97e9e7bc82SNavdeep Parhar# riscv doesn't yet have atomic_testandset_int and atomic_testandclear_int. 98e9e7bc82SNavdeep Parharnodevice ccr 99e9e7bc82SNavdeep Parharnodevice cxgbe 100e9e7bc82SNavdeep Parharnodevice cxgbev 101