FreeBSD/Linux Kernel Cross Reference
sys/arm64/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 #
11 # We want LINT to cover profiling as well.
12 # Except it's broken.
13 #profile 2
14
15 #
16 # Enable the kernel DTrace hooks which are required to load the DTrace
17 # kernel modules.
18 #
19 options KDTRACE_HOOKS
20
21 #
22 # Most of the following is copied from ARM64 GENERIC.
23 cpu ARM64
24
25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
26 makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
27
28 options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
29 options KDTRACE_FRAME # Ensure frames are compiled in
30 options VFP # Floating-point support
31 options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
32
33 # SoC support
34 options SOC_ALLWINNER_A64
35 options SOC_ALLWINNER_H5
36 options SOC_ALLWINNER_H6
37 options SOC_BRCM_BCM2837
38 options SOC_BRCM_BCM2838
39 options SOC_BRCM_NS2
40 options SOC_CAVM_THUNDERX
41 options SOC_FREESCALE_IMX8
42 options SOC_HISI_HI6220
43 options SOC_INTEL_STRATIX10
44 options SOC_MARVELL_8K
45 options SOC_NVIDIA_TEGRA210
46 options SOC_NXP_LS
47 options SOC_ROCKCHIP_RK3328
48 options SOC_ROCKCHIP_RK3399
49 options SOC_XILINX_ZYNQ
50
51 # Timer drivers
52 device a10_timer
53
54 # Annapurna Alpine drivers
55 device al_ccu # Alpine Cache Coherency Unit
56 device al_nb_service # Alpine North Bridge Service
57 device al_iofic # I/O Fabric Interrupt Controller
58 device al_serdes # Serializer/Deserializer
59 device al_udma # Universal DMA
60
61 # Qualcomm Snapdragon drivers
62 device qcom_gcc # Global Clock Controller
63
64 # VirtIO support
65 device virtio
66 device virtio_pci
67 device virtio_mmio
68 device virtio_blk
69 device vtnet
70
71 # Microsoft Hyper-V
72 device hyperv
73
74 # CPU frequency control
75 device cpufreq
76
77 # Accelerated software crypto
78 device armv8crypto # ARMv8 OpenCrypto module
79 device ossl # OpenSSL OpenCrypto module
80
81 # Bus drivers
82 device al_pci # Annapurna Alpine PCI-E
83 options PCI_HP # PCI-Express native HotPlug
84 options PCI_IOV # PCI SR-IOV support
85
86 # Ethernet NICs
87 device mdio
88 device awg # Allwinner EMAC Gigabit Ethernet
89 device axa # AMD Opteron A1100 integrated NIC
90 device neta # Marvell Armada 370/38x/XP/3700 NIC
91 device smc # SMSC LAN91C111
92 device vnic # Cavium ThunderX NIC
93 device al_eth # Annapurna Alpine Ethernet NIC
94 device dwc_rk # Rockchip Designware
95 device dwc_socfpga # Altera SOCFPGA Ethernet MAC
96 device ice # Intel 800 Series Physical Function
97 device ice_ddp # Intel 800 Series DDP Package
98
99 # Etherswitch devices
100 device e6000sw # Marvell mv88e6085 based switches
101
102 # NVM Express (NVMe) support
103 device nvme # base NVMe driver
104 options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver
105 device nvd # expose NVMe namespaces as disks, depends on nvme
106
107 # MMC/SD/SDIO Card slot support
108 device sdhci_xenon # Marvell Xenon SD/MMC controller
109 device aw_mmc # Allwinner SD/MMC controller
110 device dwmmc
111 device dwmmc_altera
112 device rk_emmcphy
113
114 # Serial (COM) ports
115 device uart_msm # Qualcomm MSM UART driver
116 device uart_mu # RPI3 aux port
117 device uart_mvebu # Armada 3700 UART driver
118 device uart_ns8250 # ns8250-type UART driver
119 device uart_snps
120 device pl011
121
122 # USB support
123 device aw_usbphy # Allwinner USB PHY
124 device dwcotg # DWC OTG controller
125 device ehci_mv # Marvell EHCI USB interface
126
127 # USB ethernet support
128 device muge
129 device smsc
130
131 # Sound support
132 device a10_codec
133
134 # DMA controller
135 device a31_dmac
136
137 # GPIO / PINCTRL
138 device a37x0_gpio # Marvell Armada 37x0 GPIO controller
139 device aw_gpio # Allwinner GPIO controller
140 device fdt_pinctrl
141 device mv_gpio # Marvell GPIO controller
142 device mvebu_pinctrl # Marvell Pinmux Controller
143 device rk_gpio # RockChip GPIO Controller
144 device rk_pinctrl # RockChip Pinmux Controller
145
146 # I2C
147 device aw_rsb # Allwinner Reduced Serial Bus
148 device bcm2835_bsc # Broadcom BCM283x I2C bus
149 device twsi # Allwinner I2C controller
150 device rk_i2c # RockChip I2C controller
151
152 # Clock and reset controllers
153 device aw_ccu # Allwinner clock controller
154
155 # Interrupt controllers
156 device aw_nmi # Allwinner NMI support
157 device mv_cp110_icu # Marvell CP110 ICU
158 device mv_ap806_gicp # Marvell AP806 GICP
159
160 # Real-time clock support
161 device aw_rtc # Allwinner Real-time Clock
162 device mv_rtc # Marvell Real-time Clock
163
164 # Watchdog controllers
165 device aw_wdog # Allwinner Watchdog
166
167 # Power management controllers
168 device axp81x # X-Powers AXP81x PMIC
169 device rk805 # RockChip RK805 PMIC
170
171 # EFUSE
172 device aw_sid # Allwinner Secure ID EFUSE
173
174 # Thermal sensors
175 device aw_thermal # Allwinner Thermal Sensor Controller
176 device mv_thermal # Marvell Thermal Sensor Controller
177
178 # SPI
179 device bcm2835_spi # Broadcom BCM283x SPI bus
180
181 # PWM
182 device pwm
183 device aw_pwm
184
185 device vt_efifb
186
187 # EVDEV support
188 options EVDEV_SUPPORT # evdev support in legacy drivers
189 device aw_cir
190
191 # Pseudo devices.
192 options EFIRT # EFI Runtime Services
193 device clk
194 device phy
195 device hwreset
196 device nvmem
197 device regulator
198 device syscon
199 device aw_syscon
200
201 # Backlight subsystem
202 device backlight
203
204 # Misc devices.
205 device pl330 # ARM PL330 dma controller
206 device xdma # xDMA framework for SoC on-chip dma controllers
207
208 # Chip-specific errata
209 options THUNDERX_PASS_1_1_ERRATA
210
211 options FDT
212 device acpi
213
214 # DTBs
215 makeoptions MODULES_EXTRA="dtb/allwinner dtb/rockchip dtb/rpi"
216
217 # Add CAMDEBUG stuff
218 options CAMDEBUG
219 options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_PROBE|CAM_DEBUG_PERIPH)
220
221 # bring in camified MMC too
222 options MMCCAM
223
224 # arm64 doesn't support inb/outb, so disable chipset probing which needs it
225 nooptions PPC_PROBE_CHIPSET
226
227 # These cause weird issues, not sure why
228 nooptions DEBUG
229
230 # Makes assumptions about bus tags that aren't true on arm64
231 nodevice snd_cmi
232
233 # arm64 didn't exist for these releases, so doesn't have the required compat
234 # support. Just disable them because they are meaningless.
235 nooptions COMPAT_FREEBSD4
236 nooptions COMPAT_FREEBSD5
237 nooptions COMPAT_FREEBSD6
238 nooptions COMPAT_FREEBSD7
239 nooptions COMPAT_FREEBSD9
240 nooptions COMPAT_FREEBSD10
241
242 # arm64 supports 32-bit FreeBSD/arm binaries (armv[67] ABIs)
243 options COMPAT_FREEBSD32 # Compatible with FreeBSD/arm
244
245 #####################################################################
246 # ZFS support
247
248 options ZFS
249
250 #
251 # HID-over-I2C support
252 #
253 device iichid # HID-over-I2C support
254 options IICHID_DEBUG # Enable HID-over-I2C debug messages
255 options IICHID_SAMPLING # Workaround missing GPIO INTR support
Cache object: efc1f0d1a791190a380f3e64ef4f454b
|