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: COMPUTEXEVB,v 1.33 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.computexevb"

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

maxusers	32		# estimated number of users

# CPU support.  At least one is REQUIRED.
options		SH3
options 	SH7709A,SH7709A_BROKEN_IPR	# 100MHz
options 	PCLOCK=25000000		# 25.000MHz
options 	IOM_ROM_BEGIN=0x00000000
options 	IOM_ROM_SIZE=0x00100000	# 1MB
options 	IOM_RAM_BEGIN=0x0c000000
options 	IOM_RAM_SIZE=0x01000000	# 16MB
options 	LED_ADDR=0xb8000000

options 	COMPUTEXEVB	# don't forget.

options 	BSC_BCR1_VAL	=0x0008
options 	BSC_BCR2_VAL	=0x3fd0
options 	BSC_WCR1_VAL	=0x3ff3
options 	BSC_WCR2_VAL	=0xffdf
options 	BSC_MCR_VAL	=0x0004
options 	BSC_SDMR3_VAL	=0xffffe088
options 	BSC_RTCSR_VAL	=0xa508
options 	BSC_RTCNT_VAL	=0xa500
options 	BSC_RTCOR_VAL	=0xa582
options 	FRQCR_VAL	=0x0122
options 	PFC_SCPCR_VAL	=0x00aa

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

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 	SCIFCONSOLE,SCIFCN_SPEED=115200
scif0 at shb?

# disk/mass storage pseudo-devices
pseudo-device	md			# memory disk device (ramdisk)
pseudo-device	pty			# pseudo-terminals
pseudo-device	clockctl		# user control of clock subsystem