Subject: Re: latest O2 diffs
To: Rafal Boni <rafal@attbi.com>
From: Hendrik Scholz <hscholz@raisdorf.net>
List: port-sgimips
Date: 12/07/2002 23:23:23
Hi!

On Fri, 06 Dec 2002 01:38:18 -0500
Rafal Boni <rafal@attbi.com> wrote:

> Folks:
> 	Since there were at least some people out there who were
> 	clamoring for any sort of O2 code, I've put my latest patches up
> 	for ftp [1].

I've just cross compiled a kernel and here is the output:

> boot -f bootp():ERWIN
Setting $netaddr to 10.17.1.101 (from server 10.17.1.5)
Obtaining ERWIN from server 10.17.1.5
1643744+139108 entry: 0x80069000
argv[0]: bootp():ERWIN
argv[1]: ConsoleIn=serial(0)
argv[2]: ConsoleOut=serial(0)
argv[3]: SystemPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(8)
argv[4]: OSLoader=sash
argv[5]: OSLoadPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(0)
argv[6]: OSLoadFilename=/unix
argv[7]: OSLoadOptions=INST
 [ no symbols available ]
CPU clock speed = 300.00Mhz*Mem block 1: type 0, base 0x0, size 0x1
Mem block 2: type 1, base 0x1, size 0x1
Mem block 3: type 3, base 0x2, size 0x67
Mem block 4: type 5, base 0x69, size 0x1b4
Mem block 5: type 3, base 0x21d, size 0xb33
Mem block 6: type 6, base 0xd50, size 0x2b0
Mem block 7: type 7, base 0x1000, size 0x100
Mem block 8: type 6, base 0x1100, size 0x300
Mem block 9: type 3, base 0x1400, size 0x6c00
Loading cluster 2: 0x2 / 0x69
Cluster 3 contains kernel
Loading cluster 4: 0x21d / 0xd50
Loading cluster 8: 0x1400 / 0x8000
configging sdcache
R5000/Rm5200 SCACHE
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.6K (ERWIN) #0: Sun Dec  8 00:17:34 CET 2002
    hscholz@kangaroo:/usr/src/syssrc/sys/arch/sgimips/compile/ERWIN
128 MB memory, 109 MB free, 6848 KB for ARCS, 6656 KB in 1664 buffers
mainbus0 (root): SGI-IP32 [SGI, 1], 1 processor
cpu0 at mainbus0: QED RM5200 CPU (0x28a0) Rev. 10.0 with built-in FPU
Rev. 10.0 cpu0: 32KB/32B 2-way set-associative L1 Instruction cache, 48
TLB entries cpu0: 32KB/32B 2-way set-associative write-back L1 Data
cache cpu0: 1024KB/32B direct-mapped write-back L2 Unified cache
crime0 at mainbus0 addr 0x14000000: rev 10.1 (a1)
mace0 at mainbus0 addr 0x1f000000: rev 1
com0 at mace0 offset 0x390000 intr 4: ns16550a, working fifo
com0: console
mace: established interrupt at ipl 4 (level 4)
mace: CRM_MASK now 10
com1 at mace0 offset 0x398000 intr 4: ns16550a, working fifo
pckbc0 at mace0 offset 0x320000 intr 5: stub
lpt0 at mace0 offset 0x380000 intr 4: stub
mcclock0 at mace0 offset 0x3a0000
mec0 at mace0 offset 0x280000 intr 3: MAC-110 Ethernet, rev 1
mec0: station address 08:00:69:0c:17:51
nsphy0 at mec0 phy 14: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
macepci0 at mace0 offset 0x80000 intr 7: rev 1
WARNING: unknown PCI device header.mace: established interrupt at ipl 7
(level 0)
mace: CRM_MASK now 11
pci0 at macepci0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ahc0 at pci0 dev 1 function 0
ahc0: interrupting at mace
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc0: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus0 at ahc0: 16 targets, 8 luns per target
ahc1 at pci0 dev 2 function 0
ahc1: interrupting at mace
ahc1: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus1 at ahc1: 16 targets, 8 luns per target
biomask 07 netmask 07 ttymask 07 clockmask 87
MACE_ISA_MASK was 0
CRM_MASK: 300710, MACEISA_MASK (1f310018) 4100000
trap: TLB miss (load or instr. fetch) in kernel mode
status=0xff03, cause=0x8, epc=0x0, vaddr=0x0
pid=1 cmd=swapper usp=0x0 ksp=0xc9d47ec8
Stopped in pid 1 (swapper) at            0:     invalid address.
db> 

At this point I just used the ERWIN config file from Chris Sekiya's
patch. I'll take a closer look at the config and report
success/problems.

Btw: is the built-in ethernet card already supported or is it still the
old stub?

Thanks, Hendrik

-- 
Hendrik Scholz - <hscholz@raisdorf.net> - http://raisdorf.net/

drag me, drop me - treat me like an object