FreeBSD/Linux Kernel Cross Reference
sys/riscv/conf/NOTES
1 #
2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs.
3 #
4 # This file contains machine dependent kernel configuration notes. For
5 # machine independent notes, look in /sys/conf/NOTES.
6 #
7 # $FreeBSD$
8 #
9
10 cpu RISCV
11
12 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
13 makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
14
15 options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
16 options KDTRACE_FRAME # Ensure frames are compiled in
17 options KDTRACE_HOOKS # Kernel DTrace hooks
18 options DDB_CTF # Kernel ELF linker loads CTF data
19 options FPE # Floating-point extension support
20 options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
21
22 # RISC-V SBI console
23 device rcons
24
25 # pseudo devices
26 device clk
27 device hwreset
28 device phy
29 device regulator
30 device syscon
31 device syscon_power
32 device riscv_syscon
33
34 # Backlight subsystem
35 device backlight
36
37 # VirtIO support
38 device virtio # Generic VirtIO bus (required)
39 device virtio_pci # VirtIO PCI device
40 device vtnet # VirtIO Ethernet device
41 device virtio_blk # VirtIO Block device
42 device virtio_mmio # VirtIO MMIO bus
43 device virtio_random # VirtIO Entropy device
44
45 # NVM Express (NVMe) support
46 device nvme # base NVMe driver
47 options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver
48 device nvd # expose NVMe namespaces as disks, depends on nvme
49
50 # NOTE: dtrace introduces CDDL-licensed components into the kernel
51 device dtrace # dtrace core
52 device dtraceall # include all dtrace modules
53
54 # Serial (COM) ports
55 device uart_lowrisc # lowRISC UART driver
56 device uart_ns8250 # ns8250-type UART driver
57
58 # RTC
59 device da9063_rtc # Dialog Semiconductor DA9063 RTC
60 device goldfish_rtc # QEMU RTC
61
62 # Ethernet drivers
63 device xae # Xilinx AXI Ethernet MAC
64
65 # DMA support
66 device xdma # DMA interface
67 device axidma # Xilinx AXI DMA Controller
68
69 # SPI
70 device xilinx_spi # Xilinx AXI Quad-SPI Controller
71
72 # Power management controllers
73 device da9063_pmic # Dialog Semiconductor DA9063 PMIC
74
75 # SiFive device drivers
76 device fe310aon
77 device fu740_pci_dw
78 device sifive_gpio
79 device sifive_spi
80 files "../sifive/files.sifive"
81
82 # Flattened Device Tree
83 options FDT
84 makeoptions MODULES_EXTRA+="dtb/sifive"
85
86 # FreeBSD/riscv didn't exist for these releases
87 nooptions COMPAT_FREEBSD4
88 nooptions COMPAT_FREEBSD5
89 nooptions COMPAT_FREEBSD6
90 nooptions COMPAT_FREEBSD7
91 nooptions COMPAT_FREEBSD9
92 nooptions COMPAT_FREEBSD10
93 nooptions COMPAT_FREEBSD11
94
95 # riscv doesn't support inb/outb, so disable chipset probing which needs it
96 nooptions PPC_PROBE_CHIPSET
97
98 # Makes assumptions about bus tags that aren't true on riscv
99 nodevice snd_cmi
100
101 # Don't yet have hwpmc(4)
102 nodevice hwpmc
103 nooptions HWPMC_HOOKS
104
105 # riscv doesn't yet have atomic_testandset_int and atomic_testandclear_int.
106 nodevice ccr
107 nodevice cxgbe
108 nodevice cxgbev
Cache object: 053603f07b88181fcc3f0b6838f05629
|