Subject: Re: first attempt at meshcube support
To: Martin Husemann <martin@duskware.de>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: port-evbmips
Date: 02/23/2006 07:37:59
Martin Husemann wrote:
> On Wed, Feb 22, 2006 at 08:43:01PM -0800, Garrett D'Amore wrote:
>   
>> I'd love to hear feedback.
>>     
>
> I don't think you can run the cube in big endian mode (if you could, it's
> not well documented).
>   
Yeah, I wouldn't expect you could.  There might be a jumper on the board
somewhere though.  It looks like they might have the same CPLD (or at
least a derivative of it) as is on the DBAu1500.

We've always had the readclock problem.  I've never bothered to fix it. 
Its on my TODO. :-)

I'm also going to investigate the problems that were reported with
cc1.   Simon said it tended to segfault while compiling pkgsrc.

    -- Garrett
> Here are the boot messages - pci memory space fails, and the readclock
> thing is .. strange.
>
> Thanks for looking at this!
>
> Martin
> (Too bad they didn't add a connector for aumac1 :-( )
>
> Start = 0x800a0000, range = (0x800a0000,0x8035853f), format = SREC
> MIPS32/64 params: cpu arch: 32
> MIPS32/64 params: TLB entries: 32
> MIPS32/64 params: Icache: line = 32, total = 16384, ways = 4
>                  sets = 128
> MIPS32/64 params: Dcache: line = 32, total = 16384, ways = 4
>                  sets = 128
>   picache_stride    = 4096
>   picache_loopcount = 4
>   pdcache_stride    = 4096
>   pdcache_loopcount = 4
>   Dcache is coherent
>   Icache is coherent against Dcache
> Memory size: 0x04000000
> Loaded initial symtab at 0x803299a4, strtab at 0x8033ef58, # entries 5365
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
>     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 3.99.15 (MTX-1) #0: Thu Feb 23 09:12:23 CET 2006
> 	martin@night-porter.duskware.de:/usr/src/sys/arch/evbmips/compile/MTX-1
> 4G Systems MTX-1
> total memory = 65536 KB
> avail memory = 60300 KB
> mainbus0 (root)
> cpu0 at mainbus0: 324.00MHz (hz cycles = 632813, delay divisor = 324)
> cpu0: Alchemy Au1500 (Rev 2 core) (0x1030202) Rev. 2 with software emulated floating point
> cpu0: 16KB/32B 4-way set-associative L1 Instruction cache, 32 TLB entries
> cpu0: 16KB/32B 4-way set-associative write-back L1 Data cache
> obio0 at mainbus0
> aubus0 at mainbus0
> aucom0 at aubus0 addr 0x11100000 irq 0: Au1X00 UART, working fifo
> aucom0: console
> aucom1 at aubus0 addr 0x11400000 irq 3: Au1X00 UART, working fifo
> aurtc0 at aubus0 addr 0x0: Au1X00 programmable clock
> aumac0 at aubus0 addr 0x11500000 irq 28: Au1X00 10/100 Ethernet
> aumac0: Ethernet address 00:0e:56:00:02:2c
> sqphy0 at aumac0 phy 31: Seeq 84220 10/100 media interface, rev. 0
> sqphy0: using Seeq 84220 isolate/reset hack
> sqphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> aumac1 at aubus0 addr 0x11510000 irq 29: Au1X00 10/100 Ethernet
> aumac1: Ethernet address 00:0e:56:00:12:2c
> ohci0 at aubus0 addr 0x10100000 irq 26: Alchemy OHCI
> ohci0: OHCI version 1.0
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0
> uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> aupci0 at aubus0 addr 0x14005000: Alchemy Host-PCI Bridge, 66MHz
> pci0 at aupci0 bus 0
> pci0: i/o space, memory space enabled
> wi0 at pci0 dev 0 function 0: can't map mem space
> augpio0 at aubus0 addr 0x11900100: Alchemy GPIO, primary block
> gpio0 at augpio0: 23 pins
> augpio1 at aubus0 addr 0x11700000: Alchemy GPIO, secondary block
> gpio1 at augpio1: 16 pins
> uhub0: device problem, disabling port 1
> root device: 
> use one of: aumac0 aumac1 wi0 ddb halt reboot
> root device: aumac0
> dump device: 
> file system (default generic): 
> root on aumac0
> mountroot: trying ffs...
> mountroot: trying nfs...
> nfs_boot: trying DHCP/BOOTP
> aumac0: link state changed to UP
> nfs_boot: DHCP next-server: 192.168.150.7
> nfs_boot: my_domain=duskware.de
> nfs_boot: my_addr=192.168.150.148
> nfs_boot: my_mask=255.255.255.0
> nfs_boot: gateway=192.168.150.10
> root on 192.168.150.7:/usr/exp/hosts/evbmips
> root time: 0x43fd6f56
> root file system type: nfs
> readclock: 1870/4/25/21/4/9
> WARNING: preposterous clock chip time
> setclock: 6/2/23/8/16/22
>  -- CHECK AND RESET THE DATE!
> init path (default /sbin/init): 
> init: copying out path `/sbin/init' 11
> setclock: 6/2/23/8/58/47
>   


-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191