Subject: Successful cross-build and boot of dreamcast.
To: None <port-dreamcast@netbsd.org>
From: Bill Squier <groo@old-ones.com>
List: port-dreamcast
Date: 04/25/2002 21:46:40
Just a note to report that I can now successfully cross-compile a complete
Dreamcast build from i386 and boot and use the resulting system via IPSLAVE.

Strangely, if I burn the kernel on the ISO, I get:

	Dreamcast logo
	<pause>
	Sega logo
	<pause>
	<flash screen> <flash screen>
	[reboot]

but if netcat the exact same kernel to the IPSLAVE loader, everything works.
Ideas?  Marcus?

Much thanks to msaitoh@netbsd.org for all his work on the toolchain.

dmesg:
---
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5ZC (ZOOG) #2: Thu Apr 25 21:04:09 EDT 2002
    groo@yog-sothoth.old-ones.com:/usr/obj/sh3/sys/arch/dreamcast/compile/ZOOG
SEGA Dreamcast
total memory = 16384 KB
avail memory = 12636 KB
using 230 buffers containing 920 KB of memory
mainbus0 (root)
cpu0 at mainbus0: HITACHI SH4 199.600MHz PCLOCK 49.900 MHz
8KB/32B direct-mapped Instruction cache. 
16KB/32B direct-mapped Data cache. 
P0, U0, P3 write-through P1 write-through
full-associative 4 ITLB, 64 UTLB entries
single virtual storage mode, SQ access: kernel, wired 61
shb0 at mainbus0
scif0 at shb0
maple0 at shb0
mapleA at maple0 port 0: Keyboard                      
mkbd0 at mapleA: US keyboard
wskbd0 at mkbd0 (mux ignored): console keyboard
pvr0 at shb0: 640 x 480, 16bpp, NTSC, composite
wsdisplay0 at pvr0 (kbdmux ignored): console (80x30, vt100 emulation), using wskbd0
gdrom0 at shb0: SH4 IRL 9
g2bus0 at shb0
gapspci0 at g2bus0: SEGA GAPS PCI Bridge
pci0 at gapspci0 bus 0
pci0: memory space enabled
rtk0 at pci0 dev 0 function 0: SEGA Broadband Adapter
rtk0: interrupting at SH4 IRL 11
rtk0: Ethernet address 00:d0:f1:02:47:15
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
md0: internal 1440 KB image area
root on rtk0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.1
nfs_boot: my_name=zoog
nfs_boot: my_domain=old-ones.com
nfs_boot: my_addr=192.168.0.15
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.4
root on 192.168.0.1:/s/roots/zoog
WARNING: preposterous clock chip time
 -- CHECK AND RESET THE DATE!
---

-- 
Bill Squier (groo@old-ones.com)                          http://www.netbsd.org

        I know I don't deserve another chance, but this _is_ America,
        and as an American, aren't I entitled to one?  --Sideshow Bob.