Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Nov 2013 17:58:36 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        David Cheney <david.cheney@canonical.com>
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: freebsd/pandaboard Spurious interrupt detected [0x000003ff]
Message-ID:  <1383526716.31172.131.camel@revolution.hippie.lan>
In-Reply-To: <CAHPQsESP2aQxYDj0J=BdDUDhQdWnxMuAJ5fPNELGqLPsR==Ktg@mail.gmail.com>
References:  <CAHPQsESP2aQxYDj0J=BdDUDhQdWnxMuAJ5fPNELGqLPsR==Ktg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1383526716.31172.131.camel>