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: CQREEKSH3,v 1.34 2017/09/14 07:58:40 mrg 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.cqreeksh3"

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

options 	ROMIMAGE

maxusers	32		# estimated number of users

# CPU support.  At least one is REQUIRED.
options		SH3
options 	SH7708		# 100MHz
options 	PCLOCK=15000000		# 15.000MHz
options 	IOM_ROM_BEGIN=0x00000000
options 	IOM_ROM_SIZE=0x00200000	# 2MB
options 	IOM_RAM_BEGIN=0x0c000000
options 	IOM_RAM_SIZE=0x00400000	# 4MB
options 	LED_ADDR=0xa8000000

options 	BSC_BCR1_VAL	=0x0010
options 	BSC_BCR2_VAL	=0x3ddc
options 	BSC_WCR1_VAL	=0x2aaa
options 	BSC_WCR2_VAL	=0x0246
options 	BSC_MCR_VAL	=0x0074
options 	BSC_RTCSR_VAL	=0xa510
options 	BSC_RTCNT_VAL	=0xa500	# XXX
options 	BSC_RTCOR_VAL	=0xa53a
options 	FRQCR_VAL	=0x0102

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

# Compatibility options
include 	"conf/compat_netbsd20.config"

# Executable format options
options 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)

# File systems
file-system 	FFS		# UFS
options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
options 	WAPBL		# File system journaling support

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

#
# Device configuration
#
mainbus0 at root
shb* at mainbus?
rtc0 at shb?
wdog0 at shb?
options 	SCICONSOLE,SCICN_SPEED=38400
sci0 at shb?

# Pseudo-Devices
pseudo-device	md			# memory disk device (ramdisk)
pseudo-device	pty			# pseudo-terminals
pseudo-device	clockctl		# user control of clock subsystem