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: KZSH401,v 1.32 2022/08/07 02:52:25 simonb Exp $
#
#	GENERIC -- everything that's currently supported
#

# for big endian
include "arch/evbsh3/conf/std.evbsh3.eb"
# for little endian
#include "arch/evbsh3/conf/std.evbsh3.el"
include "arch/evbsh3/conf/std.kzsh401"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

# 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=2880	# size of memory disk, in blocks
options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode

maxusers	16		# estimated number of users

# CPU support
options 	SH7750
options 	SH4
options 	PCLOCK=33333300			# 33.3333MHz
options 	IOM_ROM_BEGIN=0x00000000
options 	IOM_ROM_SIZE=0x00100000		# 1MB
options 	IOM_RAM_BEGIN=0x08000000
options 	IOM_RAM_SIZE=0x01000000		# 16MB

options 	BSC_BCR1_VAL	=0x8000000c
options 	BSC_BCR2_VAL	=0xb538
options 	BSC_WCR1_VAL	=0x00010111
options 	BSC_WCR2_VAL	=0x108a2520
options 	BSC_WCR3_VAL	=0x00000000
options 	BSC_MCR_VAL	=0x10192194
#options 	BSC_PCR_VAL	=0x08eb
options 	BSC_RTCSR_VAL	=0xa510
#options 	BSC_RTCNT_VAL	=0xa500
options 	BSC_RTCOR_VAL	=0xa541
options 	BSC_RFCR_VAL	=0xa400
options 	FRQCR_VAL	=0x0e13
options 	BSC_SDMR2_VAL	=0xff90008c

options 	LED_ADDR=0xa8000000

include 	"conf/compat_netbsd20.config"

options 	HZ=64		# clock interrupt generates every 1/HZ sec
options 	USERCONF	# userconf(4) support
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Executable format options
options 	EXEC_COFF	# COFF executables

# File systems
file-system 	FFS		# UFS
options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	UFS_DIRHASH	# UFS Large Directory Hashing
#options 	UFS_EXTATTR	# Extended attribute support for UFS1
options 	WAPBL		# File system journaling support

config		netbsd	root on ? type ?

#
# Device configuration
#
mainbus0 at root
shb*	at mainbus?
rtc0 at shb?
options 	SCIFCN_SPEED=19200
scif0 at shb?
pseudo-device	pty			# pseudo-terminals
pseudo-device	md			# memory disk device (ramdisk)
pseudo-device	clockctl		# user control of clock subsystem