2009-06-08 08:57:32     bfin-spi error..

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-06-08 08:57:32     bfin-spi error..

Nikolay Chokoev (IRELAND)

Message: 75332   

Hi,

 

I have:

bfin-spi bfin-spi.0: No DMA channel specified

error. What does it mean? How can I solve it?

 

In the configuration is specified:

.enable_dma = 0

 

Regards,

Nikolay

QuoteReplyEditDelete

 

 

2009-06-08 09:04:48     Re: bfin-spi error..

Nikolay Chokoev (IRELAND)

Message: 75333   

 

... it is

 

.enable_dma = 1 for SPI_BFIN, but why is this error? How to specify the channel?

QuoteReplyEditDelete

 

 

2009-06-08 12:19:47     Re: bfin-spi error..

Nikolay Chokoev (IRELAND)

Message: 75361   

 

...any hints?

QuoteReplyEditDelete

 

 

2009-06-08 23:48:15     Re: bfin-spi error..

Sonic Zhang (CHINA)

Message: 75376   

 

What kernel and toolchain release do you use?

 

What device do you use with the SPI driver?

 

Have you tried the PIO mode in SPI driver? Does it work?

QuoteReplyEditDelete

 

 

2009-06-09 04:05:27     Re: bfin-spi error..

Nikolay Chokoev (IRELAND)

Message: 75381   

 

The kernel is:

Linux version 2.6.28.10-ADI-2010R1-pre-svn6597 (root@dlnx764) (gcc version 4.1.2 (ADI svn)) #215 Mon Jun 8 17:18:12 IST 2009

 

and the toolchain is version 4.1.2 (ADI svn)

 

I'm using MMC device.

I haven't tried PIO mode.

 

 

It worked fine with the same kernel and toolchain before, but since one of the builds it stopped.  I'm trying to figure out what's happaned...

QuoteReplyEditDelete

 

 

2009-06-09 04:25:31     Re: bfin-spi error..

Mike Frysinger (UNITED STATES)

Message: 75399   

 

you need to update your board resources.  look at how the spi resources are declared in any of the ADI boards.

QuoteReplyEditDelete

 

 

2009-06-09 05:14:54     Re: bfin-spi error..

Nikolay Chokoev (IRELAND)

Message: 75400   

 

That's it, Mike! Thanks a lot!

Attachments

    Outcomes