xref: /openbsd/sys/arch/riscv64/conf/RAMDISK (revision 097a140d)
1# $OpenBSD: RAMDISK,v 1.5 2021/04/25 02:48:00 jsg Exp $
2#
3# GENERIC machine description file
4#
5# This machine description file is used to generate the default OpenBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling OpenBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21machine		riscv64
22maxusers	4
23
24option		PCIVERBOSE
25option		USBVERBOSE
26option		SMALL_KERNEL
27option		NO_PROPOLICE
28option		BOOT_CONFIG
29
30option		RAMDISK_HOOKS
31option		MINIROOTSIZE=16384
32
33option		FFS
34option		FFS2
35option		MSDOSFS
36option		INET6
37option		EXT2FS
38option		NFSCLIENT
39option		CRYPTO
40
41makeoptions	KERNEL_BASE_PHYS="0x00200000"
42makeoptions	KERNEL_BASE_VIRT="0xffffffc000200000"
43
44config		bsd	root on rd0a swap on rd0b
45
46# mainbus
47mainbus0	at root
48
49# cpu0
50cpu0		at mainbus0
51timer0		at cpu0
52intc0		at cpu0
53
54# NS16550 compatible serial ports
55com*		at fdt?
56
57virtio*		at fdt?
58vio*		at virtio?	# Network
59vioblk*		at virtio?
60vioscsi*	at virtio?	# Disk (SCSI)
61#viomb*		at virtio?	# Memory Ballooning
62viornd*		at virtio?	# Random Source
63
64# simplebus0
65simplebus*	at fdt?
66# Platform Level Interrupt Controller
67plic*		at fdt? early 1
68
69syscon*		at fdt? early 1
70gfrtc*		at fdt?
71
72scsibus*        at scsi?
73sd*		at scsibus?
74cd*		at scsibus?
75ch*		at scsibus?
76uk*		at scsibus?
77
78pseudo-device	loop 1
79pseudo-device	vlan
80pseudo-device	trunk
81pseudo-device	bpfilter 1
82pseudo-device	rd 1
83pseudo-device	bio 1
84