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