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: TWINTAIL,v 1.85 2022/08/07 02:52:25 simonb Exp $
#
#	TWINTAIL -- Genetec corp. G4255EB-X002 Evaluation Board Kernel
#

include	"arch/evbarm/conf/std.g42xxeb"

# estimated number of users

maxusers	32

options 	VERBOSE_ARM32
#options 	INTR_DEBUG
#options	BOOTHOWTO=RB_SINGLE
options 	PCMCIADEBUG
options 	PCMCIACISDEBUG

# Standard system options

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

options 	CPU_XSCALE_PXA250	# Support the XScale core
#options 	CPU_XSCALE_PXA270	# You can enable this, but useless for this board.
#options 	XSCALE_CACHE_WRITE_THROUGH
options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
makeoptions	CPUFLAGS="-mcpu=xscale"

# Architecture options

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
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	PROCFS		# /proc
file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system	UMAPFS		# NULLFS + uid and gid remapping
file-system	UNION		# union file system
file-system	PTYFS		# /dev/pts/N support

# 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 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	NFSSERVER	# Network File System server

# 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 	NETATALK	# AppleTalk networking
#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

options 	NFS_BOOT_BOOTP
options 	NFS_BOOT_DHCP
#options 	NFS_BOOT_BOOTPARAM

# Compatibility options

include 	"conf/compat_netbsd16.config"
options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries

# Shared memory options

#options 	SYSVMSG		# System V-like message queues
#options 	SYSVSEM		# System V-like semaphores
#options 	SYSVSHM		# System V-like memory sharing

# Device options

#options 	MEMORY_DISK_HOOKS		# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=3072	# Size in blocks
#options 	MEMORY_DISK_DYNAMIC
#options 	MINIROOTSIZE=1000		# Size in blocks
#options 	MEMORY_DISK_IS_ROOT		# use memory disk as root

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
#options 	USBVERBOSE	# verbose USB device autoconfig messages
options 	SCSIVERBOSE	# Verbose SCSI errors
#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
#options 	DDB_KEYCODE=0x40
#options 	USERCONF	# userconf(4) support

# Development and Debugging options

options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG
#options 	UVMHIST		# kernhist for uvm/pmap subsystems
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
#options 	DDB		# in-kernel debugger
#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#options 	KGDB
#options  	DEBUG_KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
#makeoptions	COPTS="-O2"
makeoptions	COPY_SYMTAB=1
#options 	AUDIO_DEBUG=2

config		netbsd		root on ? type ?
config		netbsd-ne0	root on ne0 type nfs

# The main bus device
mainbus0	at root

# The boot cpu
cpu0		at mainbus?

# integrated peripherals
pxaip0	at mainbus?

pxaintc0 at pxaip?	# interrupt controller
pxagpio0 at pxaip?	# GPIO

# cotulla integrated 16550 UARTs
options COM_PXA2X0
com0	at pxaip?  addr 0x40100000 intr 22      # Full Function UART
com1	at pxaip?  addr 0x40200000 intr 21 	# BlueTootth UART
#com2	at pxaip?  addr 0x40700000 intr 20	# Standard UART (for IrDA)
options FFUARTCONSOLE
options BTUARTCONSOLE
options KGDB_DEVNAME="\"ffuart\""   # ffuart or btuart
options KGDB_DEVRATE=115200

#aupxa0	at pxaip?		# AC97 interface

# Audio support
#audio*	at audiobus?

#spkr*	at audio?		# PC speaker (synthesized)

# FlashROM disk driver
# frd*	at pxaip?

# On-board device support
obio0          at pxaip? intr 8
ne0            at obio? addr 0x0e000200 intr 5         # on-board Asix AX88796

# LCD
#device-major	lcd  		char 37
lcd0		at obio?
wsdisplay*	at lcd? console ?
options FONT_SONY8x16
#options FONT_VT220L8x8
options 	WSEMUL_VT100		# VT100 / VT220 emulation
options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
options G4250_LCD_TOSHIBA_LTM035
#options G4250_LCD_NEC_NL3224BC35

kmkbd* at obio?
wskbd* at kmkbd? # mux 1 # console ?
options WSDISPLAY_COMPAT_RAWKBD

# GB-225 option board
opio0 	at obio?  intr 2

# USB host
# slhci0	at opio0
# options 	SLHCI_DEBUG

# USB bus support
#usb*   at slhci?

# USB Hubs
# uhub*  at usb?
# uhub*  at uhub? port ?

# USB HID device
# uhidev*	at uhub? port ? configuration ? interface ?

# USB Mice
# ums*	at uhidev? reportid ?
# wsmouse* at ums? mux 0

# USB Keyboards
#ukbd*	at uhidev? reportid ?
#wskbd*	at ukbd? console ? mux 1

# USB serial adapter
#ucycom*	at uhidev? reportid ?

# USB Generic HID devices
# uhid*	at uhidev? reportid ?

# USB Printer
#ulpt*	at uhub? port ? configuration ? interface ?

# USB Modem
#umodem*	at uhub? port ? configuration ?
#ucom*	at umodem?

# Option N.V. Wireless WAN modems
#uhso*	at uhub? port ? configuration ?

# USB Mass Storage
#umass*	at uhub? port ? configuration ? interface ?

# USB audio
#uaudio*	at uhub? port ? configuration ?

# USB MIDI
#umidi* at uhub? port ? configuration ?

# USB IrDA
# USB-IrDA bridge spec
#uirda* at uhub? port ? configuration ? interface ?
#irframe* at uirda?

# SigmaTel STIr4200 USB/IrDA Bridge
#ustir* at uhub? port ?
#irframe* at ustir?

# USB Ethernet adapters
#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
#uax*	at uhub? port ?		# ASIX AX88172 based adapters
#url*	at uhub? port ?		# Realtek RTL8150L based adapters

# Prolific PL2301/PL2302 host-to-host adapter
#upl*	at uhub? port ?

# Serial adapters
#ubsa*	at uhub? port ?		# Belkin serial adapter
#ucom*	at ubsa? portno ?

#uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
#ucom*	at uftdi? portno ?

#umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
#ucom*	at umct? portno ?

#uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
#ucom*	at uplcom? portno ?

#uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
#ucom*	at uvscom? portno ?

# USB Handspring Visor
#uvisor*	at uhub? port ?
#ucom*	at uvisor?

# Kyocera AIR-EDGE PHONE
#ukyopon* at uhub? port ?
#ucom*	at ukyopon? portno ?

# USB scanners that use SCSI emulation, e.g., HP5300
#usscanner* at uhub? port ?

# D-Link DSB-R100 USB radio
#udsbr*	at uhub? port ?
#radio*	at udsbr?

# USB Generic driver
# ugen*	at uhub? port ?

# PCMCIA/CF card
opcic0	at opio?
pcmcia*	at opcic?

# PCMCIA serial interfaces
com*	at pcmcia? function ?		# Modems and serial cards

pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
com*	at pcmcom? slave ?		# ...and the slave devices

# PCMCIA SCSI controllers
aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI

# SCSI bus support
scsibus* at scsi?

# SCSI devices
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
ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
ss*	at scsibus? target ? lun ?	# SCSI scanners
uk*	at scsibus? target ? lun ?	# SCSI unknown

# PCMCIA IDE controllers
wdc*	at pcmcia? function ?
atabus*	at wdc? channel ?
wd*		at atabus? drive ? flags 0x0000

# PCMCIA network interfaces
an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
mbe*	at pcmcia? function ?		# MB8696x based Ethernet
ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
sm*	at pcmcia? function ?		# Megahertz Ethernet
wi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
com*	at xirc?
xi*	at xirc?

mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
com*	at mhzc?
sm*	at mhzc?

# DMAC support
pxadmac0 at pxaip? addr 0x40000000 intr 25
options 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
#options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority


# MMC/SD controller in PXA255
#  (attached on obio for card detect and write protect signal)
pxamci0 at obio?
sdmmc* at pxamci?
#options 	PXAMCI_DEBUG
#options 	SDMMC_DEBUG
#options 	SDMMC_DUMP_CSD

ld* at sdmmc?				# MMC/SD card

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#pseudo-device	fss			# file system snapshot device
pseudo-device	putter			# for puffs and pud

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	npf			# NPF packet filter
pseudo-device	loop			# network loopback
#pseudo-device	kttcp			# network loopback
#pseudo-device	ppp			# Point-to-Point Protocol
#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
#pseudo-device	sl			# Serial Line IP
#pseudo-device	irframetty		# IrDA frame line discipline
#pseudo-device	tap			# virtual Ethernet
#pseudo-device	tun			# network tunneling over tty
#pseudo-device	gre			# generic L3 over IP tunnel
#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith			# IPv[46] tcp relay translation i/f
#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
#pseudo-device	vlan			# IEEE 802.1q encapsulation
#pseudo-device	bridge			# simple inter-network bridging
#pseudo-device	vether			# Virtual Ethernet for bridge

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	clockctl		# user control of clock subsystem

# wscons pseudo-devices
pseudo-device	wsmux			# mouse & keyboard multiplexor
#pseudo-device	wsfont
pseudo-device	ksyms			# /dev/ksyms