summaryrefslogtreecommitdiff
path: root/sys/arch/riscv64/conf/RAMDISK
blob: a94078da67d4d6ff28e00ce66abad849221f5182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#	$OpenBSD: RAMDISK,v 1.11 2021/05/14 06:55:19 jsg Exp $
#
# GENERIC machine description file
#
# This machine description file is used to generate the default OpenBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

machine		riscv64
maxusers	4

option		PCIVERBOSE
option		USBVERBOSE
option		SMALL_KERNEL
option		NO_PROPOLICE
option		BOOT_CONFIG

option		RAMDISK_HOOKS
option		MINIROOTSIZE=16384

option		FFS
option		FFS2
option		MSDOSFS
option		INET6
option		EXT2FS
option		NFSCLIENT
option		CRYPTO

makeoptions	KERNEL_BASE_PHYS="0x00200000"
makeoptions	KERNEL_BASE_VIRT="0xffffffc000200000"

config		bsd	root on rd0a swap on rd0b

# mainbus
mainbus0	at root

# cpu0
cpu0		at mainbus0
intc0		at cpu0

# NS16550 compatible serial ports
com*		at fdt?

virtio*		at fdt?
vio*		at virtio?	# Network
vioblk*		at virtio?
vioscsi*	at virtio?	# Disk (SCSI)
#viomb*		at virtio?	# Memory Ballooning
viornd*		at virtio?	# Random Source

# simplebus0
simplebus*	at fdt?
# Platform Level Interrupt Controller
plic*		at fdt? early 1
# L2 Cache Controller
sfcc*		at fdt? early 1

syscon*		at fdt? early 1
gfrtc*		at fdt?

dwge*		at fdt?
ukphy*		at mii?

dwmmc*		at fdt?
sdmmc*		at dwmmc?

scsibus*	at scsi?
sd*		at scsibus?
cd*		at scsibus?
ch*		at scsibus?
uk*		at scsibus?

pseudo-device	loop 1
pseudo-device	vlan
pseudo-device	trunk
pseudo-device	bpfilter 1
pseudo-device	rd 1
pseudo-device	bio 1