Raspberry PI gets USB support [FreeBSD 10 current]

Yoshiro MIHIRA sanpei.ml at gmail.com
Fri Sep 14 14:52:51 UTC 2012


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 at 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


More information about the freebsd-current mailing list