From owner-freebsd-current@FreeBSD.ORG Fri Sep 14 14:52:51 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 357921065672; Fri, 14 Sep 2012 14:52:51 +0000 (UTC) (envelope-from sanpei.ml@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C34418FC1D; Fri, 14 Sep 2012 14:52:50 +0000 (UTC) Received: by obbun3 with SMTP id un3so7909527obb.13 for ; Fri, 14 Sep 2012 07:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Bj32G1OEkklIzNv2ECNSx2J7yuyucQYfbkkfMNkaD8o=; b=IcEoozNUyT0w8AfCgMc9DsA2JBA4zmQyITPUfV5QsQVayp9vQXiyXDKzGiKaiqRm1e seuJpOfdus2q0T5eG4B06ck3gZhfqd4noa+KgiFVb7i5usERY/I6NY2j4PSU8CI1aEzr tEPNYYSdhwAP47qHQdK2U/qAupq4nYID+2ftTysm41ielAgIdFdjLmA/uHzjeWU0NKFP VCZg7GNJ0dEcOWnl0WyoyPj5L5JRisWph9fNnQICqvDSkuPlDgug8OgYKgyRuBOVBGyd NNImYL+J7fRhzYp1cuYs4CKD4uhiVEyUEXKrdwfx1cPEnLF6gRXERwzner2x5xBzLCzB qXvQ== MIME-Version: 1.0 Received: by 10.60.25.129 with SMTP id c1mr3548285oeg.36.1347634370150; Fri, 14 Sep 2012 07:52:50 -0700 (PDT) Received: by 10.76.34.4 with HTTP; Fri, 14 Sep 2012 07:52:50 -0700 (PDT) In-Reply-To: <201209122135.03654.hselasky@c2i.net> References: <201209101654.00891.hselasky@c2i.net> <201209122135.03654.hselasky@c2i.net> Date: Fri, 14 Sep 2012 23:52:50 +0900 Message-ID: From: Yoshiro MIHIRA To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Fri, 14 Sep 2012 14:57:28 +0000 Cc: Garrett Cooper , freebsd-current@freebsd.org, Alexander Yerenkow , freebsd-usb@freebsd.org, Ivan Voras Subject: Re: Raspberry PI gets USB support [FreeBSD 10 current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2012 14:52:51 -0000 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: 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: at usbus0 uhub0: on usbus0 uhub0: 1 port with 1 removable, self powered Root mount waiting for: usbus0 ugen0.2: at usbus0 uhub1: on usbus0 uhub1: MTT enabled uhub1: 3 ports with 2 removable, self powered Root mount waiting for: usbus0 ugen0.3: at usbus0 smsc0: on usbus0 Trying to mount root from ufs:/dev/mmcsd0s2 []... mountroot: waiting for device /dev/mmcsd0s2 ... smsc0: chip 0xec00, rev. 0002 miibus0: on smsc0 ukphy0: PHY 1 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: 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: : [options] 2012/9/13 Hans Petter Selasky : > 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