Skip to content

Instantly share code, notes, and snippets.

@tsutsui
Created March 6, 2016 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsutsui/713a2cb010435effad08 to your computer and use it in GitHub Desktop.
Save tsutsui/713a2cb010435effad08 to your computer and use it in GitHub Desktop.
WIP
# reboot /netbsd.g1
reboot: rebooted by root: /netbsd.g1
loading a new kernel: /netbsd.g1
kloader: kernel file name: /netbsd.g1
syncing disks... done
unmounting file systems...
unmounting done
kloader: Rebooting...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
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 7.0 (G1IDE_SCIF) #38: Sun Mar 6 17:46:43 JST 2016
tsutsui@mirage:/r/work/netbsd-7/src/sys/arch/dreamcast/compile/G1IDE_SCIF
SEGA Dreamcast
total memory = 16384 KB
avail memory = 13704 KB
kern.module.path=/stand/dreamcast/7.0/modules
mainbus0 (root)
cpu0 at mainbus0: SH4 199.599 MHz PCLOCK 49.900 MHz
cpu0: 8KB/32B direct-mapped Instruction cache.
cpu0: 16KB/32B direct-mapped Data cache.
cpu0: U0, P0, P3 write-through; P1 write-through
cpu0: full-associative 4 ITLB, 64 UTLB entries
cpu0: multiple virtual storage mode, SQ access: kernel, wired 3
shb0 at mainbus0
scif0 at shb0
scif0: console
maple0 at shb0: SH4 IRL 9
mapleA at maple0 port 0: Keyboard
mkbd0 at mapleA function 6: Japanese keyboard
wskbd0 at mkbd0 mux 1
mapleB at maple0 port 1: Dreamcast Controller
mapleB1 at maple0 port 1 subunit 1: Visual Memory
mmem0 at mapleB1 function 1: Memory card
mmem0: 1 part, 512 bytes/block, 4 acc/write, 1 acc/read
mlcd0 at mapleB1 function 2: LCD display
mlcd0: 1 LCD, 192 bytes/block, 1 acc/write, horiz, norm white, upside-down
mmem0.0: 128 KB, blk 255 0, inf 255, fat 254 1, dir 253 13, icon 0, data 200
mlcd0.0: 48x32 display, 192 bytes
mapleC at maple0 port 2: Dreamcast Mouse
mms0 at mapleC function 9: SEGA Dreamcast Mouse
mms0: buttons: left middle right
wsmouse0 at mms0 mux 0
pvr0 at shb0: 640 x 480, 16bpp, VGA, RGB
wsdisplay0 at pvr0 kbdmux 1
g1bus0 at shb0
wdc0 at g1bus0: SH4 IRL 9
atabus0 at wdc0 channel 0
g2bus0 at shb0
g2rtc0 at g2bus0: time-of-day clock
gapspci0 at g2bus0: SEGA GAPS PCI Bridge
pci0 at gapspci0 bus 0
rtk0 at pci0 dev 0 function 0: SEGA Broadband Adapter (rev. 0x10)
rtk0: interrupting at SH4 IRL 11
rtk0: Ethernet address 00:d0:f1:03:69:68
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
wd0 at atabus0 drive 1
wd0: <IBM-DTTA-351680>
wd0: 16124 MB, 32760 cyl, 16 head, 63 sec, 512 bytes/sect x 33022080 sectors
root device: wd0a
dump device (default wd0b):
file system (default generic):
root on wd0a dumps on wd0b
root file system type: ffs
init path (default /sbin/init):
init: trying /sbin/init
/etc/rc.conf is not configured. Multiuser boot aborted.
Enter pathname of shell or RETURN for /bin/sh:
Terminal type? [unknown] kterm
Terminal type is kterm.
We recommend that you create a non-root account and use su(1) for root access.
# dd if=/dev/rwd0a of=/dev/null bs=64k count=1024
1024+0 records in
1024+0 records out
67108864 bytes transferred in 21.017 secs (3193075 bytes/sec)
# df
Filesystem 1K-blocks Used Avail %Cap Mounted on
root_device 15729532 591954 14351102 3% /
# mount -a
# df
Filesystem 1K-blocks Used Avail %Cap Mounted on
/dev/wd0a 15729532 607330 14335726 4% /
tmpfs 8424 4 8420 0% /tmp
kernfs 1 1 0 100% /kern
procfs 4 4 0 100% /proc
ptyfs 1 1 0 100% /dev/pts
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment