]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/riscv/conf/NOTES
wpa: Import wpa_supplicant/hostapd commits up to b4f7506ff
[FreeBSD/FreeBSD.git] / 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 options         INTRNG                  # Include INTRNG framework
22
23 # RISC-V SBI console
24 device          rcons
25
26 # EXT_RESOURCES pseudo devices
27 options         EXT_RESOURCES
28 device          clk
29 device          hwreset
30 device          phy
31 device          regulator
32 device          syscon
33 device          syscon_power
34 device          riscv_syscon
35
36 # Backlight subsystem
37 device          backlight
38
39 # VirtIO support
40 device          virtio                  # Generic VirtIO bus (required)
41 device          virtio_pci              # VirtIO PCI device
42 device          vtnet                   # VirtIO Ethernet device
43 device          virtio_blk              # VirtIO Block device
44 device          virtio_mmio             # VirtIO MMIO bus
45 device          virtio_random           # VirtIO Entropy device
46
47 # NVM Express (NVMe) support
48 device          nvme            # base NVMe driver
49 options         NVME_USE_NVD=0  # prefer the cam(4) based nda(4) driver
50 device          nvd             # expose NVMe namespaces as disks, depends on nvme
51
52 # NOTE: dtrace introduces CDDL-licensed components into the kernel
53 device          dtrace                  # dtrace core
54 device          dtraceall               # include all dtrace modules
55
56 # Serial (COM) ports
57 device          uart_lowrisc    # lowRISC UART driver
58 device          uart_ns8250     # ns8250-type UART driver
59
60 # RTC
61 device          goldfish_rtc    # QEMU RTC
62
63 # Ethernet drivers
64 device          xae             # Xilinx AXI Ethernet MAC
65
66 # DMA support
67 device          xdma            # DMA interface
68 device          axidma          # Xilinx AXI DMA Controller
69
70 # SPI
71 device          xilinx_spi      # Xilinx AXI Quad-SPI Controller
72
73 # SiFive device drivers
74 device          fe310aon
75 device          fu740_pci_dw
76 device          sifive_gpio
77 device          sifive_spi
78 files           "../sifive/files.sifive"
79
80 # Flattened Device Tree
81 options         FDT
82 makeoptions     MODULES_EXTRA+="dtb/sifive"
83
84 # FreeBSD/riscv didn't exist for these releases
85 nooptions       COMPAT_FREEBSD4
86 nooptions       COMPAT_FREEBSD5
87 nooptions       COMPAT_FREEBSD6
88 nooptions       COMPAT_FREEBSD7
89 nooptions       COMPAT_FREEBSD9
90 nooptions       COMPAT_FREEBSD10
91 nooptions       COMPAT_FREEBSD11
92
93 # No support for remote GDB
94 nooptions       GDB
95
96 # riscv doesn't support inb/outb, so disable chipset probing which needs it
97 nooptions       PPC_PROBE_CHIPSET
98
99 # Makes assumptions about bus tags that aren't true on riscv
100 nodevice        snd_cmi
101
102 # Don't yet have hwpmc(4)
103 nodevice        hwpmc
104 nooptions       HWPMC_HOOKS