]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/riscv/conf/NOTES
ncurses: import version 6.2-20210220
[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          phy
30 device          regulator
31 device          syscon
32 device          syscon_power
33 device          riscv_syscon
34
35 # Backlight subsystem
36 device          backlight
37
38 # VirtIO support
39 device          virtio                  # Generic VirtIO bus (required)
40 device          virtio_pci              # VirtIO PCI device
41 device          vtnet                   # VirtIO Ethernet device
42 device          virtio_blk              # VirtIO Block device
43 device          virtio_mmio             # VirtIO MMIO bus
44 device          virtio_random           # VirtIO Entropy device
45
46 # NOTE: dtrace introduces CDDL-licensed components into the kernel
47 device          dtrace                  # dtrace core
48 device          dtraceall               # include all dtrace modules
49
50 # Serial (COM) ports
51 device          uart_lowrisc    # lowRISC UART driver
52 device          uart_ns8250     # ns8250-type UART driver
53
54 # RTC
55 device          goldfish_rtc    # QEMU RTC
56
57 # Ethernet drivers
58 device          xae             # Xilinx AXI Ethernet MAC
59
60 # DMA support
61 device          xdma            # DMA interface
62 device          axidma          # Xilinx AXI DMA Controller
63
64 # SPI
65 device          xilinx_spi      # Xilinx AXI Quad-SPI Controller
66
67 # SOC-specific
68 device          fe310aon
69 device          fu540spi
70 files           "../sifive/files.sifive"
71
72 # Flattened Device Tree
73 options         FDT
74 makeoptions     MODULES_EXTRA+="dtb/sifive"
75
76 # FreeBSD/riscv didn't exist for these releases
77 nooptions       COMPAT_FREEBSD4
78 nooptions       COMPAT_FREEBSD5
79 nooptions       COMPAT_FREEBSD6
80 nooptions       COMPAT_FREEBSD7
81 nooptions       COMPAT_FREEBSD9
82 nooptions       COMPAT_FREEBSD10
83 nooptions       COMPAT_FREEBSD11
84
85 # No support for remote GDB
86 nooptions       GDB
87
88 # riscv doesn't support inb/outb, so disable chipset probing which needs it
89 nooptions       PPC_PROBE_CHIPSET
90
91 # Makes assumptions about bus tags that aren't true on riscv
92 nodevice        snd_cmi
93
94 # Don't yet have hwpmc(4)
95 nodevice        hwpmc
96 nooptions       HWPMC_HOOKS