From owner-freebsd-arm@FreeBSD.ORG Mon May 5 16:09:06 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 023D0E13; Mon, 5 May 2014 16:09:06 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 830671DCB; Mon, 5 May 2014 16:09:05 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id s45G8uBI065014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 5 May 2014 18:08:57 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id s45G8hVI028792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 May 2014 18:08:43 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id s45G8hW8078935; Mon, 5 May 2014 18:08:43 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id s45G8gGS078934; Mon, 5 May 2014 18:08:42 +0200 (CEST) (envelope-from ticso) Date: Mon, 5 May 2014 18:08:42 +0200 From: Bernd Walter To: Ian Lepore Subject: Re: USB audio device on Raspberry Pi - link_elf: symbol isa_dmastatus undefined Message-ID: <20140505160842.GC78493@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20140430091411.GA45015@utility-01.thismonkey.com> <5360C0A7.9010407@selasky.org> <1398867266.22079.51.camel@revolution.hippie.lan> <5362638B.1080104@selasky.org> <5363C133.2000304@selasky.org> <5367973F.20300@xenet.de> <5367A154.8010508@selasky.org> <20140505144704.GA78493@cicely7.cicely.de> <1399304088.22079.242.camel@revolution.hippie.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1399304088.22079.242.camel@revolution.hippie.lan> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01, WEIRD_PORT=0.001 autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm@freebsd.org, Matthias Meyser , ticso@cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2014 16:09:06 -0000 On Mon, May 05, 2014 at 09:34:48AM -0600, Ian Lepore wrote: > On Mon, 2014-05-05 at 16:47 +0200, Bernd Walter wrote: > > On Mon, May 05, 2014 at 04:33:56PM +0200, Hans Petter Selasky wrote: > > > On 05/05/14 15:50, Matthias Meyser wrote: > > > > > > > >Am 02.05.2014 18:00, schrieb Hans Petter Selasky: > > > >>On 05/01/14 17:08, Hans Petter Selasky wrote: > > > >>>On 05/01/14 01:34, Johny Mattsson wrote: > > > >>>>On 1 May 2014 00:14, Ian Lepore wrote: > > > >>>> > > > >>>>>I was doing some testing on a wandboard (about twice as fast an an > > > >>>>>rpi) > > > >>>>>with > > > >>>>>more than 20k int/sec without having any problems. > > > >>>>> > > > >>>> > > > >>>>On a similar note, I've pushed an i.MX 283 (400MHz) board to above 300k > > > >>>>int/sec, on Linux. Admittedly at that point my shell wasn't what you'd > > > >>>>call > > > >>>>"responsive" however =) The ISR in that scenario was the GPIO > > > >>>>handler, so > > > >>>>probably a bit more light-weight than an audio ISR. > > > >>> > > > >>>I'll have a look and see if I can fix it. > > > >>Here is a patch (work in progress) which you can try: > > > >>http://home.selasky.org:8192/dwc_otg_isoc_support_wip.diff > > > >> > > > >>Still not working 100% reliable. Trying to figure out the last bits > > > >>and pieces. > > > > > > > >For testing it would be very helful if someone could add > > > > > > > >device sound > > > >device snd_uaudio > > > > > > > >to RPI-B kernel. > > > > > > > >Having this in BEAGLEBONE would be nice to. > > > >Perhaps this schould go in every config that supports usb. > > > > > > > > > > Hi, > > > > > > The following patch should make "devd" load sound.ko and snd_uaudio.ko > > > automatically: > > > > > > http://svnweb.freebsd.org/changeset/base/265359 > > > > This won't work unless sound.ko especting ISA in ARM kernel is fixed > > as well. > > > > This shouldn't be a problem. The code that references isa stuff is > wrapped in #ifdef DEV_ISA, and an arm kernel build won't have that > defined. The problem was that the makefile for building a sound module > created an opt_isa.h containing #define DEV_ISA when building for arm so > the loadable sound modules had references to isa but the driver in the > kernel didn't. Didn't test myself, but this thread started with a problem like this. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.