Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USB-3 sorta working on PogoPlug Series 4, MMC still not working



mvsdio is not broken. U-boot does not configure the sdio pins on your
machine so you have have to do it before you start the kernel. Make
sure that SDIO is enabled in the MPP registers.

On Thu, Mar 13, 2014 at 3:27 AM, John Klos <john%ziaspace.com@localhost> wrote:
> Hi,
>
> It seems that USB-3 works at least a little on PogoPlug Series 4 with:
> xhci*   at pci? dev ? function ?        # eXtensible Host Controller
> usb*    at xhci?
>
> We still need these, though:
> no mvsdio*
> no sdmmc*
> no ld*
>
> If mvsdio is included, we get a neverending loop of:
> mvsdio0: Command Error (0xc)
>
> Any ideas how to fix mvsdio?
>
> Thanks,
> John
>
>
>
> NAND read: device 0 offset 0x800000, size 0x500000
>
> Reading data from 0xcff800 -- 100% complete.
>  5242880 bytes read: OK
> ## Booting image at 00800000 ...
>    Image Name:   NetBSD/sheevaplug 6.99.36
>    Created:      2014-03-13   6:37:43 UTC
>    Image Type:   ARM NetBSD Kernel Image (uncompressed)
>    Data Size:    4445184 Bytes =  4.2 MB
>    Load Address: 00008000
>    Entry Point:  00008000
>    Verifying Checksum ... OK
> OK
> ## Transferring control to NetBSD stage-2 loader (at address 00008000) ...
>
> NetBSD/evbarm (sheevaplug) booting ...
> [ Kernel symbol table missing! ]
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
>     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
>     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 6.99.36 (POGO) #0: Thu Mar 13 06:37:41 UTC 2014
>
> john%chi.ziaspace.com@localhost:/usr/current/obj-evbarm/sys/arch/evbarm/compile/POGO
> total memory = 128 MB
> avail memory = 120 MB
> sysctl_createv: sysctl_create(machine_arch) returned 17
> mainbus0 (root)
> cpu0 at mainbus0 core 0: Sheeva 88SV131 rev 1 (ARM9E-S V5TE core)
> cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
> cpu0: 16KB/32B 4-way L1 VIVT Instruction cache
> cpu0: 16KB/32B 4-way write-back-locking-C L1 VIVT Data cache
> mvsoc0 at mainbus0: Marvell 88F619x Rev. A1  Kirkwood
> mvsoc0: CPU Clock 800.000 MHz  SysClock 200.000 MHz  TClock 166.666 MHz
> mvsoctmr0 at mvsoc0 unit 0 offset 0x20300-0x203ff irq 65: Marvell SoC Timer
> mvsocgpp0 at mvsoc0 unit 0 offset 0x10100-0x101ff irq 35: Marvell SoC
> General Purpose I/O Port Interface
> mvsocgpp0: 36 gpio pins
> mvsocgpp0: interrupts 96..103, intr 35
> mvsocgpp0: interrupts 104..111, intr 36
> mvsocgpp0: interrupts 112..119, intr 37
> mvsocgpp0: interrupts 120..127, intr 38
> mvsocgpp0: interrupts 128..135, intr 39
> mvsocgpp0:   Data Out:                  0x0001c441
> mvsocgpp0:   Data Out Enable Control:   0xcf004800
> mvsocgpp0:   Data Blink Enable:         0x00400000
> mvsocgpp0:   Data In Polarity:          0x00000000
> mvsocgpp0:   Data In:                   0x09418000
> mvsocgpp0:   Interrupt Cause:           0x00400000
> mvsocgpp0:   Interrupt Mask:            0x00000000
> mvsocgpp0:   Interrupt Level Mask:      0x00000000
> mvsocgpp0:   High Data Out:             0x00000008
> mvsocgpp0:   High Data Out Enable Ctrl: 0x00000005
> mvsocgpp0:   High Blink Enable:         0x00000000
> mvsocgpp0:   High Data In Polarity:     0x00000000
> mvsocgpp0:   High Data In:              0x00000008
> mvsocgpp0:   High Interrupt Cause:      0x00000000
> mvsocgpp0:   High Interrupt Mask:       0x00000000
> mvsocgpp0:   High Interrupt Level Mask: 0x00000000
> gpio0 at mvsocgpp0: 36 pins
> mvsocrtc0 at mvsoc0 unit 0 offset 0x10300-0x10317: Marvell SoC Real Time
> Clock
> com0 at mvsoc0 unit 0 offset 0x12000-0x1201f irq 33: ns16550a, working fifo
> com0: console
> com1 at mvsoc0 unit 1 offset 0x12100-0x1211f irq 34: ns16550a, working fifo
> ehci0 at mvsoc0 unit 0 offset 0x50000-0x50fff irq 19: Marvell USB 2.0
> Interface
> usb0 at ehci0: USB revision 2.0
> gtidmac0 at mvsoc0 unit 0 offset 0x60000-0x60fff: Marvell IDMA
> Controller/XOR Engine
> gtidmac0: XOR Engine 4 channels, intr 5...8
> gttwsi0 at mvsoc0 unit 0 offset 0x11000-0x110ff irq 29: Marvell TWSI
> controller
> iic0 at gttwsi0: I2C bus
> mvcesa0 at mvsoc0 unit 0 offset 0x3d000-0x3dfff irq 22: Marvell
> Cryptographic Engines and Security Accelerator
> mvgbec0 at mvsoc0 unit 0 offset 0x70000-0x73fff: Marvell Gigabit Ethernet
> Controller
> mvgbe0 at mvgbec0 port 0 irq 11
> mvgbe0: Ethernet address 00:25:31:05:ef:94
> makphy0 at mvgbe0 phy 0: Marvell 88E1116R Gigabit PHY, rev. 0
> makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-FDX, auto
> mvsoc0: mvgbec1 clock disabled
> mvpex0 at mvsoc0 unit 0 offset 0x40000-0x41fff irq 9: Marvell PCI Express
> Interface
> pci0 at mvpex0
> vendor 0x11ab product 0x6281 (miscellaneous memory, revision 0x03) at pci0
> dev 0 function 0 not configured
> xhci0 at pci0 dev 1 function 0: vendor 0x1b73 product 0x1009 (rev. 0x02)
> xhci0: interrupting at interrupt pin INTA#
> usb1 at xhci0: USB revision 2.0
> mvsata0 at mvsoc0 unit 0 offset 0x80000-0x87fff irq 21: Marvell Serial-ATA
> Host Controller (SATAHC)
> mvsata0: GenIIe, 1hc, 2port/hc
> atabus0 at mvsata0 channel 0
> atabus1 at mvsata0 channel 1
> mvsdio at mvsoc0 unit 0 not configured
> xhci0: port 1 status change
> xhci0: port 2 status change
> xhci0: xhci_new_device up 0xc23032e4 portno 0
> xhci0: xhci_new_device hub 0xc2313b88
> xhci0: xhci_new_device hub 0x0
> xhci0: xhci_new_device rhport 0
> xhci0: xhci_open addr 0 depth 0 port 0 speed 3
> uhub0 at usb1: NetBSD xHCI Root Hub, class 9/0, rev 2.00/1.00, addr 0
> xhci0: xhci_open addr 0 depth 0 port 0 speed 3
> uhub1 at usb0: Marvell EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> xhci0: root_hub 0x0
> xhci0: port 1 status change
> xhci0: hs port 1 status change
> xhci0: xhci_new_device up 0xc2439ee0 portno 1
> xhci0: xhci_new_device hub 0xc2313988
> xhci0: xhci_new_device hub 0xc2313b88
> xhci0: xhci_new_device hub 0x0
> xhci0: xhci_new_device rhport 1
> xhci0: xhci_open addr 0 depth 1 port 1 speed 3
> xhci0: xhci_do_command input: 0x0000000000000000 0x00000000 0x00002400
> xhci0: xhci_do_command output: 0x0000000000b2c000 0x01000000 0x01008401
> xhci0: dcbaa 0xc8277008 dc 0000000000b30000 slot 1
> xhci0: xhci_do_command input: 0x0000000000b31000 0x00000000 0x01002c00
> xhci0: xhci_do_command output: 0x0000000000b2c010 0x01000000 0x01008401
> xhci0: xhci_new_device device address 1
> xhci0: xhci_new_device bMaxPacketSize 64
> xhci0: xhci_update_ep0_mps
> xhci0: xhci_do_command input: 0x0000000000b31000 0x00000000 0x01003400
> xhci0: xhci_do_command output: 0x0000000000b2c020 0x01000000 0x01008401
> xhci0: xhci_open addr 1 depth 1 port 1 speed 3
> umass0 at uhub0 port 1 configuration 1 interface 0
> umass0: Corsair Flash Voyager, rev 2.00/11.00, addr 1
> xhci0: xhci_open addr 1 depth 1 port 1 speed 3
> xhci0: xhci_configure_endpoint dci 4 (0x2)
> xhci0: xhci_do_command input: 0x0000000000b31000 0x00000000 0x01003000
> xhci0: xhci_do_command output: 0x0000000000b2c030 0x01000000 0x01008401
> xhci0: xhci_open addr 1 depth 1 port 1 speed 3
> xhci0: xhci_configure_endpoint dci 3 (0x81)
> xhci0: xhci_do_command input: 0x0000000000b31000 0x00000000 0x01003000
> xhci0: xhci_do_command output: 0x0000000000b2c040 0x01000000 0x01008401
> scsibus0 at umass0: 2 targets, 1 lun per target
> xhci0: port 2 status change
> xhci0: hs port 2 status change
> sd0 at scsibus0 target 0 lun 0: <Corsair, Flash Voyager, 1100> disk
> removable
> sd0: 7648 MB, 15744 cyl, 16 head, 63 sec, 512 bytes/sect x 15663104 sectors
> xhci0: xhci_new_device up 0xc2439ef4 portno 2
> xhci0: xhci_new_device hub 0xc2313888
> xhci0: xhci_new_device hub 0xc2313b88
> xhci0: xhci_new_device hub 0x0
> xhci0: xhci_new_device rhport 2
> xhci0: xhci_open addr 0 depth 1 port 2 speed 3
> xhci0: xhci_do_command input: 0x0000000000000000 0x00000000 0x00002400
> xhci0: xhci_do_command output: 0x0000000000b2c050 0x01000000 0x02008401
> xhci0: dcbaa 0xc8277010 dc 0000000000b61000 slot 2
> xhci0: xhci_do_command input: 0x0000000000b62000 0x00000000 0x02002c00
> xhci0: xhci_do_command output: 0x0000000000b2c060 0x01000000 0x02008401
> xhci0: xhci_new_device device address 2
> xhci0: xhci_new_device bMaxPacketSize 64
> xhci0: xhci_update_ep0_mps
> xhci0: xhci_do_command input: 0x0000000000b62000 0x00000000 0x02003400
> xhci0: xhci_do_command output: 0x0000000000b2c070 0x01000000 0x02008401
> xhci0: xhci_open addr 2 depth 1 port 2 speed 3
> axe0 at uhub0 port 2
> axe0: Apple Computer Apple USB to Ethernet, rev 2.00/0.01, addr 2
> axe0: failed to set configuration, err=TIMEOUT
> boot device: <unknown>


Home | Main Index | Thread Index | Old Index