Date: Fri, 14 Sep 2012 23:52:50 +0900 From: Yoshiro MIHIRA <sanpei.ml@gmail.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: Garrett Cooper <yanegomi@gmail.com>, freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Ivan Voras <ivoras@freebsd.org> Subject: Re: Raspberry PI gets USB support [FreeBSD 10 current] Message-ID: <CALwmBx2f8%2B%2B6BLVrQN%2BskpC9HBNkw_PDZqYz_t-SDcQfynH3FQ@mail.gmail.com> In-Reply-To: <201209122135.03654.hselasky@c2i.net> References: <201209101654.00891.hselasky@c2i.net> <CAGH67wQ6CqtGa0s=jCosD3%2B6=nw2gGU%2B41VguAU4EAwVz=zQ-A@mail.gmail.com> <CAPJF9wkbXvKf%2B36_xjrn2N5QU026dNtBk1WPgJfk_y%2BCzWcf%2Bw@mail.gmail.com> <201209122135.03654.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, current code does not support internal sdhc card as root partition? Because kernel does not recognize the sdhc(mmcsd). Do we need external umass storage for root partition? dwcotg0: <DWC OTG 2.0 integrated USB controller> mem 0xf2980000-0xf299ffff irq 17 on simplebus0 usbus0 on dwcotg0 Timecounters tick every 10.000 msec usbus0: 480Mbps High Speed USB v2.0 Root mount waiting for: usbus0 ugen0.1: <DWCOTG> at usbus0 uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0 uhub0: 1 port with 1 removable, self powered Root mount waiting for: usbus0 ugen0.2: <vendor 0x0424> at usbus0 uhub1: <vendor 0x0424 product 0x9512, class 9/0, rev 2.00/2.00, addr 2> on usbus0 uhub1: MTT enabled uhub1: 3 ports with 2 removable, self powered Root mount waiting for: usbus0 ugen0.3: <vendor 0x0424> at usbus0 smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus0 Trying to mount root from ufs:/dev/mmcsd0s2 []... mountroot: waiting for device /dev/mmcsd0s2 ... smsc0: chip 0xec00, rev. 0002 miibus0: <MII bus> on smsc0 ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: <USB Ethernet> on smsc0 ue0: Ethernet address: 9a:ea:92:da:66:31 Mounting from ufs:/dev/mmcsd0s2 failed with error 19. Loader variables: Manual root filesystem specification: <fstype>:<device> [options] 2012/9/13 Hans Petter Selasky <hselasky@c2i.net>: > On Wednesday 12 September 2012 12:24:58 Alexander Yerenkow wrote: >> We tested kernel built by gonzo@, there working framebuffer, ue0, and >> USB2.0 devices (in theory, I didn't have those). >> But after some activity (like download few megabytes file) all is stuck >> with message >> usb device stalled >> >> This is getting 100% repeatedly, no matter if download goes to sd card, or >> to malloc-md-device. >> If (When) this will be fixed, then Rpi would be a candy, prepared to >> testing and more or less usable. >> I have in plans try it with xorg-framebuffer, and with directfb, while >> there's no video support. > > Hi, > > You should try a kernel after "r240419" > > Right now my code uses PIO mode and is a bit slow, but it should be more > stable. Let's start from there and work on upwards? > > Anyone care to look into to optimising bus_space_region_4() calls to use > load/store multiple? > > --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALwmBx2f8%2B%2B6BLVrQN%2BskpC9HBNkw_PDZqYz_t-SDcQfynH3FQ>