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

#
# NEWS3400 config file
#
# 	$NetBSD: WAPIKO,v 1.49 2018/08/01 20:04:13 maxv Exp $
#
include 	"arch/newsmips/conf/std.newsmips"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

maxusers	16

makeoptions	COPTS="-O2 -pipe"

options 	news3400
options 	MIPS1			# R2000/R3000 support
options 	CPU_SINGLE

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

# Debugging options
options 	DDB			# kernel dynamic debugger
pseudo-device	ksyms
#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
#options 	DEBUG			# extra kernel debugging support
options 	DIAGNOSTIC		# extra kernel sanity checking
options 	SCSIVERBOSE		# Verbose SCSI errors

# Compatibility options
include 	"conf/compat_netbsd12.config"
#options 	EXEC_ECOFF		# exec ecoff binaries

# Filesystem options
file-system	FFS		# Berkeley Fast Filesystem
#file-system	NFS		# Sun NFS-compatible filesystem client
file-system	MFS		# memory-based filesystem
file-system	PROCFS		# /proc
options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#file-system	PTYFS		# /dev/pts/N support

# Networking options
options 	INET		# Internet protocols

# JIT compiler for bpfilter
#options	SLJIT
#options	BPFJIT

config	netbsd root on ? type ?

mainbus0 at root

cpu0	at mainbus0
hb0	at mainbus0

mkclock0 at hb0 addr 0xbff40000		# MK48T02 realtime clock

le0	at hb0 addr 0xbff80000 level 1	# built-in LANCE ethernet
le1	at hb0 addr 0xb8c30000 level 0

kb0	at hb0 addr 0xbfd00000 level 2	# keyboard
ms0	at hb0 addr 0xbfd00004 level 2	# mouse

zsc0	at hb0 addr 0xbfec0000 level 1 flags 0x0	# on-board
zsc1	at hb0 addr 0xb8c40100 level 1 flags 0x1	# expansion board
zsc2	at hb0 addr 0xb8c40104 level 1 flags 0x1
zstty0	at zsc0 channel 0		# tty00
zstty1	at zsc0 channel 1		# tty01
zstty2	at zsc1 channel 0		# tty02
zstty3	at zsc1 channel 1		# tty03
zstty4	at zsc2 channel 0		# tty04
zstty5	at zsc2 channel 1		# tty05

fb0	at hb0 addr 0x88000000		# frame buffer

sc0	at hb0 addr 0xbfe00100 level 0	# on-board cxd1185 SCSI controller
scsibus0 at sc0

sd*	at scsibus? target ? lun ?	# SCSI disks
#st*	at scsibus? target ? lun ?	# SCSI tapes
#cd*	at scsibus? target ? lun ?	# SCSI CD-ROMs

options 	WSEMUL_VT100		# VT100 / VT220 emulation
options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
options 	FONT_GALLANT12x22

wsdisplay0 at fb? console ?
wskbd0	at kb? console ?
wsmouse0 at ms?

pseudo-device	vnd			# disk-like interface to files
#pseudo-device	ccd			# concatenated and striped disks
#pseudo-device	fss			# file system snapshot device
pseudo-device	loop			# loopback interface; required
pseudo-device	pty			# pseudo-terminals
pseudo-device	bpfilter		# Berkeley Packet Filter
pseudo-device	npf			# NPF packet filter
pseudo-device	clockctl		# user control of clock subsystem