Subject: NetBSD 3.0 ported to IBM 970/G5 system simulator
To: None <port-powerpc@netbsd.org>
From: Sanjay Lal <sanjayl@kymasys.com>
List: port-powerpc
Date: 06/01/2006 19:40:12
I am happy to announce that NetBSD 3.0 has been ported to the IBM 970/ 
G5 (Mambo) system simulator (http://www.alphaworks.ibm.com/tech/ 
systemsim970).  This is a 32 bit port that uses the 970's 64 bit  
bridge mode.  The kernel comes up using the memory disk into single  
user mode. Current device support includes the cpu, interrupt  
controller (openpic) and the console device (com).  I have also added  
preliminary support for the IBM north bridge.

The port is also looking very promising for the Powermac G5, as it  
uses the same chip and north bridge. I have gotten my G5 machine to  
come up and try to spawn init.  I'll have more on that on going  
effort shortly.

Regards and thanks
Sanjay Lal
Kyma Systems
http://www.kymasys.com

The dmesg is enclosed:

Mambo console initialized
[ Kernel symbol table missing! ]
ofmaplen: 0 bytes
openfirmware_entry: 0xf0000000
About to call pmap_bootstrap(), startK: 0x00100000, endK: 0x004da000
********no memory?*********
Allocating 0x80000 bytes for pmap_pvo_table
uvm_page_physload: 0x00083000 -> 0x00100000
uvm_page_physload: 0x004da000 -> 0x00800000
uvm_page_physload: 0x01000000 -> 0x1fffd000
Done calling uvm_page_physload()
Loading SR for kernel pmap
Loading 0x00800005 into SDR1
Invalidating ALL TLB entries......
Enabling DR|IR|ME|RI.....
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
     The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

pmap_kenter_pa: 0xd42ec000, 0x1fffd000
pmap_kenter_pa: 0xd42ed000, 0x1fffe000
pmap_kenter_pa: 0xd42ee000, 0x1ffff000
NetBSD 3.0 (MAMBO) #139: Thu Jun  1 19:14:41 PDT 2006
Mambo console initialized
[ Kernel symbol table missing! ]
ofmaplen: 0 bytes
openfirmware_entry: 0xf0000000
About to call pmap_bootstrap(), startK: 0x00100000, endK: 0x004da000
********no memory?*********
Allocating 0x80000 bytes for pmap_pvo_table
uvm_page_physload: 0x00083000 -> 0x00100000
uvm_page_physload: 0x004da000 -> 0x00800000
uvm_page_physload: 0x01000000 -> 0x1fffd000
Done calling uvm_page_physload()
Loading SR for kernel pmap
Loading 0x00800005 into SDR1
Invalidating ALL TLB entries......
Enabling DR|IR|ME|RI.....
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
     The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

pmap_kenter_pa: 0xd42ec000, 0x1fffd000
pmap_kenter_pa: 0xd42ed000, 0x1fffe000
pmap_kenter_pa: 0xd42ee000, 0x1ffff000
NetBSD 3.0 (MAMBO) #139: Thu Jun  1 19:14:41 PDT 2006
         sanjayl@kyma-serv1.kymasys.com:/home/sanjayl/WORKSPACE/kyma/ 
netbsd/usr/src/sys/arch/macppc/compile/MAMBO
total memory = 512 MB
avail memory = 488 MB
init_interrupt: failed to get reg property for open-pic
init_interrupt: found OpenPIC @ pa 0xf8040000, 0xd4d80000
mainbus0 (root)
cpu0 at mainbus0: 970 (Revision 1.0), ID 0 (primary)
cpu0: HID0 , powersave: -1
cpu0: 2000.00 MHz
com0 at mainbus0: ns16550a, working fifo
com0: console
md0: internal 2048 KB image area
boot device: cpu0
root on md0a dumps on md0b
mountroot: trying ffs...
root file system type: ffs
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
erase ^H, werase ^W, kill ^U, intr ^C, status ^T
mount_mfs: Unable to determine file system size
Terminal type? [vt100]
# ls
.profile        kern            sysinst         sysinstmsgs.pl  var
bin             mnt             sysinstmsgs.de  targetroot
dev             mnt2            sysinstmsgs.es  tmp
etc             sbin            sysinstmsgs.fr  usr
#