From owner-freebsd-arm@FreeBSD.ORG Mon Nov 4 00:58:46 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1D30C6B4 for ; Mon, 4 Nov 2013 00:58:46 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E5B702D65 for ; Mon, 4 Nov 2013 00:58:45 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Vd8V5-000Ee2-5V; Mon, 04 Nov 2013 00:58:39 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id rA40waKi059740; Sun, 3 Nov 2013 17:58:36 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/Al3dedOmalprkqZLuF1YJ Subject: Re: freebsd/pandaboard Spurious interrupt detected [0x000003ff] From: Ian Lepore To: David Cheney In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-sDkxqRH6Tg7oSH9db2j8" Date: Sun, 03 Nov 2013 17:58:36 -0700 Message-ID: <1383526716.31172.131.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Nov 2013 00:58:46 -0000 --=-sDkxqRH6Tg7oSH9db2j8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, 2013-11-04 at 11:10 +1100, David Cheney wrote: > Hello, > > I recently built a FreeBSD-CURRENT image for pandaboard (original, not > ES), the console is flooded with these messages > > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > Spurious interrupt detected [0x000003ff] > > After bootup they settle down and at a guess are related to sd card > access. The host appears to be working ok, but it is hard to tell as > the messages can be pretty constant > > root@pandaboard:~ # uname -a > FreeBSD pandaboard 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r257562: Sun > Nov 3 21:01:11 EST 2013 > root@deadwood.local:/root/crochet-freebsd/work/obj/arm.armv6/usr/src/sys/PANDABOARD > arm > > Can anyone offer any assistance ? > > Cheers > If it is the sdcard, the attached patch might help. Or it might fail completely. :) It switches over to a rewritten sd driver for TI chips, but so far it has only been tested on the am335x, not OMAP3/4. If it works it should give you much better performance than the old driver. -- Ian --=-sDkxqRH6Tg7oSH9db2j8 Content-Description: Content-Disposition: inline; filename="use_ti_sdhci.diff" Content-Type: text/x-patch; name="use_ti_sdhci.diff"; charset="us-ascii" Content-Transfer-Encoding: 7bit Index: sys/arm/ti/omap4/files.omap4 =================================================================== --- sys/arm/ti/omap4/files.omap4 (revision 257403) +++ sys/arm/ti/omap4/files.omap4 (working copy) @@ -6,7 +6,7 @@ arm/ti/ti_smc.S standard arm/ti/usb/omap_ehci.c optional usb ehci arm/ti/ti_sdma.c optional ti_sdma -arm/ti/ti_mmchs.c optional mmc +arm/ti/ti_sdhci.c optional sdhci arm/ti/omap4/omap4_l2cache.c optional pl310 arm/ti/omap4/omap4_prcm_clks.c standard Index: sys/arm/conf/PANDABOARD =================================================================== --- sys/arm/conf/PANDABOARD (revision 257403) +++ sys/arm/conf/PANDABOARD (working copy) @@ -73,6 +73,7 @@ options PREEMPTION # MMC/SD/SDIO Card slot support device mmc # mmc/sd bus device mmcsd # mmc/sd flash cards +device sdhci # I2C support device iicbus --=-sDkxqRH6Tg7oSH9db2j8--