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: INSTALL,v 1.64 2018/07/14 15:09:40 maxv Exp $
#
# First try for BeBox config file
#

include "arch/bebox/conf/std.bebox"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

maxusers	32

makeoptions	COPTS="-Os"		# Optimise for space. Implies -O2

# Enable the hooks used for initializing the root memory-disk.
options 	MEMORY_DISK_HOOKS
options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
options 	MEMORY_DISK_ROOT_SIZE=4096	# size of memory disk, in blocks
options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode

#makeoptions	DEBUG="-g"

#options 	DEBUG
#options 	DIAGNOSTIC
#options 	TRAP_PANICWAIT
#options 	DDB
#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#options 	KTRACE
options 	USERCONF		# userconf(4) support
options		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

#include 	"conf/compat_netbsd09.config"
#options 	COMPAT_386BSD_MBRPART	# recognize old partition ID

# File systems
file-system 	FFS
#file-system	EXT2FS
file-system 	MFS
file-system 	NFS
file-system 	CD9660
file-system 	MSDOSFS
#file-system 	FDESC
file-system 	KERNFS
#file-system 	NULLFS
#file-system 	PROCFS
#file-system 	UMAPFS
#file-system 	UNION
file-system	PTYFS		# /dev/pts/N support
#file-system	TMPFS

# Filesystem options
#options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	FFS_EI		# FFS Endian Independent support
options 	NFS_V2_ONLY	# Exclude NFS3 code to save space
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	WAPBL		# File system journaling support

#options 	NFSSERVER

options 	INET

options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM

#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

# wscons options
# builtin terminal emulations
#options 	WSEMUL_SUN		# sun terminal emulation
options 	WSEMUL_VT100		# VT100 / VT220 emulation
options 	WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_USL	# wsconscfg VT handling
options 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes

config		netbsd	root on ? type ffs

#
# device
#
options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT

#options 	PCIVERBOSE	# verbose PCI device messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space

mainbus0 at root

cpu*	at mainbus0
pci0	at mainbus0 bus ?

#ppb*	at pci? dev ? function ?	# PCI-PCI bridges
#pci*	at ppb? bus ?
pchb*	at pci? dev ? function ?	# PCI-Host bridges
pcib*	at pci? dev ? function ?	# PCI-ISA bridges

isa*	at pcib?			# ISA on PCI-ISA bridge

# Console Devices

# wscons
pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
#pms*		at pckbc?		# PS/2 mouse for wsmouse
#options	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
#options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
genfb*		at pci? dev ? function ?
options 	WSFB_FAKE_VGA_FB
vga*		at pci? dev ? function ?
wsdisplay*	at vga? console ?
wskbd*		at pckbd? console ?
#wsmouse*	at pms? mux 0

# make sure the console display is always wsdisplay0
wsdisplay0	at wsemuldisplaydev? console 1
wsdisplay*	at wsemuldisplaydev?

com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
com1	at isa? port 0x2f8 irq 3
#com2	at isa? port 0x380 irq 16
#com3	at isa? port 0x388 irq 17

#lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports

mcclock0 at isa? port 0x70		# time-of-day clock
attimer0 at isa?

siop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
scsibus* at siop?

sd*	at scsibus? target ? lun ?	# SCSI disk drives
#st*	at scsibus? target ? lun ?	# SCSI tape drives
cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
#ch*	at scsibus? target ? lun ?	# SCSI autochangers
#ss*	at scsibus? target ? lun ?	# SCSI scanners
#uk*	at scsibus? target ? lun ?	# SCSI unknown

fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
#fdc1	at isa? port 0x370 irq ? drq ?
fd0	at fdc? drive 1
#fd*	at fdc? drive ?

wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
atabus* at ata?
wd*	at atabus? drive ?

# ATAPI bus support
atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown

# Network devices
ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
ne0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones

# MII/PHY support
ukphy*  at mii? phy ?                   # generic unknown PHYs

#wss0	at isa? port 0x530 irq 10 drq 0	# Windows Sound System
#spkr*	at pcppi?

# Joystick driver. Probe is a little strange; add only if you have one.
#joy0	at isa? port 0x201

#pseudo-device	vnd		
#pseudo-device	fss			# file system snapshot device
pseudo-device	md		
pseudo-device	loop
#pseudo-device	bpfilter		# packet filter
pseudo-device	pty			# pseudo-terminals