Re: au1550 support IDE harddisk or not?

"Garrett D'Amore" <[email protected]>
Newsgroups gmane.os.netbsd.ports.evbmips
Message-ID <[email protected]>
Water NB wrote:
> source code was updated on April 22.
>
> ################ config file: m1550nfs ##########
> include         "arch/evbmips/conf/DBAU1550"
>
> no makeoptions DEFTEXTADDR
> makeoptions DEFTEXTADDR="0x80100000"
> options         INET6
>
> file-system     KERNFS          # kernel data-structure filesystem
> file-system     PROCFS          # /proc
> options         INSECURE        # disable kernel security levels
> pseudo-device   ksyms
>   
> ################ output ##########
>
>
> YAMON ROM Monitor, Revision 02.23DB1550.
> Copyright (c) 1999-2000 MIPS Technologies, Inc. - All Rights Reserved.
>
> For a list of available commands, type 'help'.
>
> Compilation time =            Apr  4 2006  18:05:32
> MAC address =                 00.00.1a.19.0c.26
> Processor Company ID =        0x03
> Processor ID/revision =       0x02 / 0x00
> Endianness =                  Little
> CPU =                         396 MHz
> Flash memory size =           128 MByte
> SDRAM size =                  192 MByte
> First free SDRAM address =    0x8008cef4
>
> Environment variable 'start' exists. After 2 seconds
> it will be interpreted as a YAMON command and executed.
> Press Ctrl-C to bypass this.
>
> About to load tftp://192.168.32.1/netbsd.srec
> Press Ctrl-C to break
> ........................................
> ........................................
> ........................................
> ........................................
> ........................................
> ........................................
> ........................................
> ........................................
> ........................................
> ........................................
> .............................
> Start = 0x80100000, range = (0x80100000,0x80459bcf), 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
> DBAu1550 (cabernet), CPLDv1, no daughtercard
> Memory size: 0x0c000000
> [ Kernel symbol table missing! ]
> 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.18 (m1550nfs) #4: Sat Apr 22 15:24:20 CST 2006
>         root@PC-026:/opt/netbsd/world/mipsel_obj/sys/arch/evbmips/compile/m1550n
> fs
> AMD Alchemy DBAu1550
> total memory = 192 MB
> avail memory = 182 MB
> mainbus0 (root)
> cpu0 at mainbus0: 396.00MHz (hz cycles = 773438, delay divisor = 396)
> cpu0: Alchemy Au1550 (Rev 2 core) (0x3030200) Rev. 0 with software emulated floa
> ting 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 0x11200000 irq 8: Au1X00 UART, working fifo
> aucom2 at aubus0 addr 0x11400000 irq 9: Au1X00 UART, working fifo
> aurtc0 at aubus0: Au1X00 programmable clock
> aumac0 at aubus0 addr 0x10500000 irq 27: Au1X00 10/100 Ethernet
> aumac0: Ethernet address 00:00:1a:19:0c:26
> acphy0 at aumac0 phy 31: AC101 10/100 media interface, rev. 11
> acphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> aumac1 at aubus0 addr 0x10510000 irq 28: Au1X00 10/100 Ethernet
> aumac1: Ethernet address 00:00:1a:19:1c:26
> acphy1 at aumac1 phy 31: AC101 10/100 media interface, rev. 11
> acphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> ohci0 at aubus0 addr 0x14020000 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
> augpio0 at aubus0 addr 0x11900100: Alchemy GPIO, primary block
> gpio0 at augpio0: 27 pins
> augpio1 at aubus0 addr 0x11700000: Alchemy GPIO, secondary block
> gpio1 at augpio1: 16 pins
> aupcmcia0 at aubus0: Alchemy PCMCIA, 2 slots
> pcmcia0 at aupcmcia0 socket 0 irq 35, bottom slot
> pcmcia1 at aupcmcia0 socket 1 irq 37, top slot
> aupsc at aubus0 addr 0x11a00000 irq 10 not configured
> aupsc at aubus0 addr 0x11b00000 irq 11 not configured
> aupsc at aubus0 addr 0x10a00000 irq 12 not configured
> aupsc at aubus0 addr 0x10b00000 irq 13 not configured
> 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.32.1
> nfs_boot: my_addr=192.168.32.33
> nfs_boot: my_mask=255.255.255.0
> nfs_boot: gateway=192.168.32.1
> root on 192.168.32.1:/opt/netbsd/au1550root
> root time: 0x444b0b66
> root file system type: nfs
> WARNING: clock lost 13255 days -- CHECK AND RESET THE DATE!
> init path (default /sbin/init):
> init: copying out path `/sbin/init' 11
> Tue Jan  6 21:34:12 CST 1970
> Checking for botched superblock upgrades: done.
> Starting file system checks:
> mount: /: unknown special file or file system.
> Setting tty flags.
> Setting sysctl variables:
> Starting network.
> Hostname: au1550
> IPv6 mode: host
> Configuring network interfaces:.
> add net default: gateway 192.168.32.1
> Adding interface aliases:
> Building databases...
> 192.168.32.1:/opt/netbsd/au1550root: inaccurate wcc data (ctime) detected, disab
> ling wcc
> Starting syslogd.
> Checking for core dump...
> savecore: no core dump (no dumpdev)
> Mounting all filesystems...
> Clearing /tmp.
> Checking quotas: done.
> Starting virecover.
> Jan  6 21:34:20 au1550 /netbsd: aumac0: link state changed to UP
> Starting local daemons:.
> Updating motd.
> Starting sshd.
> Starting sendmail.
> Starting inetd.
> Starting cron.
> Tue Jan  6 21:34:24 CST 1970
>
> NetBSD/evbmips (au1550) (console)
>
> login: root
> Jan  6 21:34:32 au1550 login: ROOT LOGIN (root) ON console
> Last login: Mon Jan  5 21:15:41 1970 on console
> 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.18 (m1550nfs) #4: Sat Apr 22 15:24:20 CST 2006
>
> Welcome to NetBSD!
>
> You have mail.
> Terminal type is vt100.
> We recommend creating a non-root account and using su(1) for root access.
> au1550#
>   

Hmm... that's kind of a stumper.  Something must be wrong.  It shows up
on my board:

aupci0 at aubus0 addr 0x14005000: Alchemy Host-PCI Bridge, 66MHz
pci0 at aupci0 bus 0
pci0: i/o space, memory space enabled
hptide0 at pci0 dev 11 function 0: PCI configuration registers:
  Common header:
    0x00: 0x00071103 0x02300147 0x01040002 0x00008800

Can you add PCI_CONFIG_DUMP to your  options?

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.