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: VIRTEX_GSRD1,v 1.31 2022/08/07 02:52:25 simonb Exp $
#
# VIRTEX_GSRD1
#
# 	Xilinx Gigabit System Reference Design version 1, ML403, Virtex 4 FX

include 	"arch/evbppc/conf/std.virtex"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
#ident 		"VIRTEX_GSRD1"

maxusers	32

options 	PHYSMEM="64" 		# RAM size (MB)
options 	CPUFREQ="300" 		# core frequency (MHz)

options 	DESIGN_GSRD1 		# FPGA design
options 	IDCR_BASE=0x100 	# Internal DCR bus
options 	DCR_XINTC_BASE=0x03f0 	# Where XINTC lives on DCR

options 	UVMHIST
#options 	UVMHIST_PRINT

# Options necessary to use MD
#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=6300 # size of memory disk, in blocks

#options 	INSECURE	# disable kernel security levels
#options 	NTP		# NTP phase/frequency locked loop
#options 	KTRACE		# system call tracing via ktrace(1)

#options 	SYSVMSG		# System V message queues
#options 	SYSVSEM		# System V semaphores
#options 	SYSVSHM		# System V shared memory

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

# Diagnostic/debugging support options
options 	DIAGNOSTIC	# cheap kernel consistency checks
options 	DEBUG		# expensive debugging checks/support
options 	DDB		# in-kernel debugger
pseudo-device	ksyms
options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
options 	TRAP_PANICWAIT
makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
options 	MBUFTRACE 	# track mbuf leaks

makeoptions	DEBUG="-g"	# compile full symbol table

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

# File systems
file-system 	FFS		# UFS
file-system 	EXT2FS		# second extended file system (linux)
#file-system 	LFS		# log-structured file system
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd
#file-system 	KERNFS		# /kern
#file-system 	NULLFS		# loopback file system
#file-system 	OVERLAY		# overlay file system
#file-system 	PROCFS		# /proc
#file-system 	UMAPFS		# NULLFS + uid and gid remapping
#file-system 	UNION		# union file system
file-system	PTYFS		# /dev/pts/N support
file-system 	TMPFS 		# virtual memory file system

# File system options
options 	FFS_EI		# FFS Endian Independent support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
options 	QUOTA		# legacy UFS quotas
options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	UFS_DIRHASH	# UFS Large Directory Hashing
#options 	UFS_EXTATTR	# Extended attribute support for UFS1
options 	WAPBL		# File system journaling support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.
#options 	NFSSERVER	# Network File System server

options 	NFS_BOOT_DHCP	# Support DHCP NFS root

# Networking options
#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk networking protocols
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate compression support for PPP
options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options 	MIIVERBOSE	# verbose PHY autoconfig messages

#
# Workstation console options
#
options 	WSEMUL_VT100
options 	WSEMUL_DEFAULT_FG=WSCOL_BLACK
options 	WSEMUL_DEFAULT_BG=WSCOL_LIGHT_WHITE
options 	WSDISPLAY_COMPAT_USL 	# wsconscfg VT handling
#options 	WSDISPLAY_COMPAT_RAWKBD
#options 	WSDISPLAY_DEFAULTSCREENS=4
options 	FONT_VT220L8x16

# Kernel root file system and dump configuration.
#config		netbsd	root on ? type ?
config		netbsd	root on temac0 type nfs

#
# Device configuration
#

plb0 		at root 		# Processor Local Bus
cpu0 		at plb? 		# Processor itself
xcvbus* 	at plb? 		# DCR bus
temac* 		at xcvbus? 		# Tri-Mode Ethernet MAC
xlcom* 		at xcvbus? 		# UartLite

tft* 		at llbus?
wsdisplay* 	at wsemuldisplaydev?

# MII/PHY support
makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
ukphy*		at mii? phy ?		# generic unknown PHYs

pseudo-device	md			# memory disk device
pseudo-device	loop			# network loopback
pseudo-device	bpfilter		# packet filter
pseudo-device	npf			# NPF packet filter
pseudo-device	ppp			# Point-to-Point Protocol
pseudo-device	sl			# Serial Line IP
pseudo-device	pty			# pseudo-terminals

pseudo-device 	wsmux
pseudo-device 	wsfont