8/21/2020 0 Comments Linux Spi Tool
NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit).The newly created question will be automatically linked to this question.
Linux Spi Tool Driver Included InFor that, the SPI driver included in the kernel must be capable of DMA transfers. In the Montavista kernel sources, theres an SPI driver which apparently has support for DMA transfers enabled, but only when the system processor is not a DM355: driversspidavincispimaster.c, line 974 says: DM355 does not have DMA capabilities if(cpuisdavincidm355()) usedma 0. Linux Spi Tool Manuals Stating ClearlyDoes the DM355 SPI not support DMA transfers, in spite of its datasheets and manuals stating clearly that it does Or does the DM355 have unpublished errata A third interpretation could be that this specific driver doesnt use the DMA on the DM355, but it could be done. If the problem is that some kind of hardware issue forbids the use of the DMA controller for SPI transfers on the DM355, then we could start looking for alternatives for this processor. Thanks, Moyses Borges moysesesystech.com.br Esystech Embedded Systems. Last time I checked the SPI driver on DM355 (I was interfacing to a touch screen chip) it wasnt an outstanding driver and we have to tweak it a bit to make it work right (AFAIK it didnt support SPI1). That is more or less what we were expecting while working with the 2.6.10-mvl kernel, the one that came with the evaluation board. The SPI driver didnt even mention DMA, so we were beginning to work on a DMA driver on there. But then, after we downloaded the updated kernel (2.6.18) and saw that the SPI driver was extended to support DMA but explicitly excluded the DM355, we were a little confused. I guess that the wording in the commentary (DM355 does not have DMA capabilities) is misleading in that it doesnt make clear whether by DM355 the programmer was referring to the SPI driver or to the processor itself. Well then, guess its time for some fun in kernel space now.;) -moyses. This link talks about enabling spidev interface on OMAP-L138. If it answers your question, please click the Verify Answer button below. Linux Spi Tool How To Configure TheI have checked the link you suggested (and many others) and I also read the the documentation on Documentationspi to figure out how to configure the kernel properly to generate my load the spidev driver and allow Linux to create the dev file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |