2002-07-12 23:52:21 +04:00
|
|
|
# $NetBSD: SIMULATOR,v 1.3 2002/07/12 19:52:22 scw Exp $
|
NetBSD, meet the SH-5 cpu.
SH-5, meet NetBSD.
Let's hope this is the start of a long and fruitful relationship. :-)
This code, funded by Wasabi Systems, adds initial support for the
Hitachi SuperH(tm) SH-5 cpu architecture to NetBSD.
At the present time, NetBSD/evbsh5 only runs on a SH-5 core simulator
which has no simulated devices other than a simple console. However, it
is good enough to get to the "root device: " prompt.
Device driver support for Real SH-5 Hardware is in place, particularly for
supporting the up-coming Cayman evaluation board, and should be quite
easy to get running when the hardware is available.
There is no in-tree toolchain for this port at this time. Gcc-current has
rudimentary SH-5 support but it is known to be buggy. A working toolchain
was obtained from SuperH to facilitate this port. Gcc-current will be
fixed in due course.
The SH-5 architecture is fully 64-bit capable, although NetBSD/evbsh5 has
currently only been tested in 32-bit mode. It is bi-endian, via a boot-
time option and it also has an "SHcompact" mode in which it will execute
SH-[34] user-land instructions.
For more information on the SH-5, see www.superh.com. Suffice to say it
is *not* just another respin of the SH-[34].
2002-07-05 17:31:28 +04:00
|
|
|
|
|
|
|
# NetBSD/sh5 on the simple `chess' based simulator.
|
|
|
|
#
|
|
|
|
# This won't get to single-user, but it serves as a useful way to debug
|
|
|
|
# startup code.
|
|
|
|
|
|
|
|
include "arch/evbsh5/conf/std.evbsh5.el"
|
|
|
|
|
|
|
|
maxusers 2
|
|
|
|
|
|
|
|
options INCLUDE_CONFIG_FILE
|
|
|
|
|
2002-07-12 23:52:21 +04:00
|
|
|
#ident "SIMULATOR-$Revision: 1.3 $"
|
NetBSD, meet the SH-5 cpu.
SH-5, meet NetBSD.
Let's hope this is the start of a long and fruitful relationship. :-)
This code, funded by Wasabi Systems, adds initial support for the
Hitachi SuperH(tm) SH-5 cpu architecture to NetBSD.
At the present time, NetBSD/evbsh5 only runs on a SH-5 core simulator
which has no simulated devices other than a simple console. However, it
is good enough to get to the "root device: " prompt.
Device driver support for Real SH-5 Hardware is in place, particularly for
supporting the up-coming Cayman evaluation board, and should be quite
easy to get running when the hardware is available.
There is no in-tree toolchain for this port at this time. Gcc-current has
rudimentary SH-5 support but it is known to be buggy. A working toolchain
was obtained from SuperH to facilitate this port. Gcc-current will be
fixed in due course.
The SH-5 architecture is fully 64-bit capable, although NetBSD/evbsh5 has
currently only been tested in 32-bit mode. It is bi-endian, via a boot-
time option and it also has an "SHcompact" mode in which it will execute
SH-[34] user-land instructions.
For more information on the SH-5, see www.superh.com. Suffice to say it
is *not* just another respin of the SH-[34].
2002-07-05 17:31:28 +04:00
|
|
|
|
|
|
|
options CPU_STB1
|
|
|
|
|
2002-07-12 23:33:27 +04:00
|
|
|
# Uncomment this to build a 64-bit kernel
|
|
|
|
#makeoptions SH5_ABI=64
|
|
|
|
|
NetBSD, meet the SH-5 cpu.
SH-5, meet NetBSD.
Let's hope this is the start of a long and fruitful relationship. :-)
This code, funded by Wasabi Systems, adds initial support for the
Hitachi SuperH(tm) SH-5 cpu architecture to NetBSD.
At the present time, NetBSD/evbsh5 only runs on a SH-5 core simulator
which has no simulated devices other than a simple console. However, it
is good enough to get to the "root device: " prompt.
Device driver support for Real SH-5 Hardware is in place, particularly for
supporting the up-coming Cayman evaluation board, and should be quite
easy to get running when the hardware is available.
There is no in-tree toolchain for this port at this time. Gcc-current has
rudimentary SH-5 support but it is known to be buggy. A working toolchain
was obtained from SuperH to facilitate this port. Gcc-current will be
fixed in due course.
The SH-5 architecture is fully 64-bit capable, although NetBSD/evbsh5 has
currently only been tested in 32-bit mode. It is bi-endian, via a boot-
time option and it also has an "SHcompact" mode in which it will execute
SH-[34] user-land instructions.
For more information on the SH-5, see www.superh.com. Suffice to say it
is *not* just another respin of the SH-[34].
2002-07-05 17:31:28 +04:00
|
|
|
options DIAGNOSTIC
|
|
|
|
options DEBUG
|
|
|
|
#options DDB
|
|
|
|
|
|
|
|
options KTRACE
|
|
|
|
|
|
|
|
file-system FFS
|
|
|
|
file-system NFS
|
|
|
|
file-system KERNFS
|
|
|
|
file-system MFS
|
|
|
|
|
|
|
|
options SOFTDEP
|
|
|
|
|
|
|
|
options INET
|
|
|
|
options INET6
|
|
|
|
|
|
|
|
config netbsd root on ? type ?
|
|
|
|
|
|
|
|
options NFS_BOOT_DHCP
|
|
|
|
|
|
|
|
pseudo-device loop
|
|
|
|
pseudo-device bpfilter
|
|
|
|
pseudo-device pty
|
|
|
|
pseudo-device rnd
|
|
|
|
|
|
|
|
# The mainbus to which all devices attach
|
|
|
|
mainbus0 at root
|
|
|
|
|
|
|
|
#
|
|
|
|
# The SuperHyway bus is the main interconnect between the constituent
|
|
|
|
# "modules" which make up an SH-5 system
|
|
|
|
#
|
|
|
|
superhyway0 at mainbus0
|
|
|
|
|
|
|
|
#
|
|
|
|
# Only the CPU module exists on the simulator.
|
|
|
|
#
|
|
|
|
cpu0 at superhyway0 pport 0x0d # A single CPU
|
|
|
|
|
|
|
|
#
|
|
|
|
# The DTF debug interface.
|
|
|
|
#
|
|
|
|
dtfcons0 at mainbus0
|