Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#	$NetBSD: RAMDISK,v 1.30 2015/01/23 03:40:25 chs Exp $

#
# RAMDISK: Root/swap on ramdisk
# This kernel is used to initially bootstrap
# a NetBSD/mvme68k installation, and install
# the miniroot in a swap partition.
#
# It is not designed to be used in a production environment
# due to its cut-down nature.
#

include		"arch/mvme68k/conf/std.mvme68k"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

makeoptions	COPTS="-O2 -fno-reorder-blocks"	# see share/mk/sys.mk

# Boards this kernel supports
options 	MVME147
options 	MVME162
options 	MVME167
options 	MVME172
options 	MVME177

maxusers	2

# Needed on m68040 boards to emulate some missing FP instructions
options 	FPSP

# Needed on m68060 boards
options 	M060SP

# File-system options
file-system 	FFS
file-system 	NFS
file-system 	KERNFS
file-system 	CD9660
#file-system	PTYFS		# /dev/pts/N support
options 	FFS_NO_SNAPSHOT	# No FFS snapshot support

# Networking options
options 	INET
options 	INET6		# IPV6

# Enable the hooks used for initializing the ram-disk.
options 	MEMORY_DISK_HOOKS
options 	MEMORY_DISK_IS_ROOT
options 	MEMORY_DISK_ROOT_SIZE=2400
options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode

options 	USERCONF	# userconf(4) support
options		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

## "generic" boot (put root on boot device)
config netbsd		root on ? type ?

# Which protocol to use when booting over NFS
options 	NFS_BOOT_DHCP		# Diskless client w/ dhcp
options 	NFS_BOOT_BOOTP		# Diskless client w/ bootp
options 	NFS_BOOT_BOOTPARAM	# Diskless client w/ bootparamd

pseudo-device	sl
pseudo-device	ppp	
pseudo-device	loop
pseudo-device	md	

mainbus0	at root

# MVME147 specific devices
pcc0		at mainbus0
clock0		at pcc? ipl 5
zsc*		at pcc? ipl 4
le0		at pcc? ipl 3
wdsc0		at pcc? ipl 2

# MVME1x2 and MVME1x7 shared devices
pcctwo0		at mainbus0
memc*		at mainbus0
clock0		at pcctwo? ipl 5
ie0		at pcctwo? ipl 3
osiop0		at pcctwo? ipl 2

# MVME162/MVME172 specific devices
zsc*		at pcctwo? ipl 4

# MVME167/MVME177 specific devices
clmpcc0		at pcctwo? ipl 4

# Common front-end for MVME147 and MVME1x2 `zs' device
zstty*		at zsc? channel ?

scsibus*	at wdsc?
scsibus*	at osiop?
sd*		at scsibus? target ? lun ?
st*		at scsibus? target ? lun ?
cd*		at scsibus? target ? lun ?