Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: SPI support on OMAP
On Tue, Apr 23, 2013 at 09:16:45PM +0200, Pierre Pronchery wrote:
> Hi port-arm,
>
> I am trying to implement the SPI bus driver on OMAP, in order to
> implement the touchscreen driver on the Nokia N900 (TSC2005). I think I
> am getting close, but kind of stuck at the moment - I would therefore
> welcome feedback already.
>
> During my latest tests I got the following error:
> === BEGIN PASTE ===
> panic: kernel diagnostic assertion "!cpu_intr_p()" failed: file
> ".../sys/kern/kern_condvar.c", line 142
> === END PASTE ===
this means you're trying to sleep in interrupt context.
>
> I still have no functional keypad driver to obtain a backtrace, but I
> suppose this is triggered within spi_wait() whenever a transfer is
> started. I'll welcome an explanation of the issue here :/
You should be able to use this in your kernel config file:
options DDB_COMMANDONENTER="trace"
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index