iMX23 SPI USER MODE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX23 SPI USER MODE

2,103件の閲覧回数
AndracsEstacvez
Contributor II

Hello everybody,


I'm trying to use SPI from user space. I have already configured the kernel:

<*> User mode SPI device driver support

But I can't see /dev/spidev. Am I missing something?

Regards,

タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,807件の閲覧回数
Balaji_ng
Contributor III

Hi,

Answers inline.

I think that there are some problem because SPI is being used by ethernet. Should it be?

If your target hardware is imx23 evk, you may try loading enc28j60 as module. If you are using spidev, do not load enc28j60.ko module, if you think that is an issue.

Apart from that, I have another problem: I don't have the commands flash_eraseall, ubiattach and ubimkvol. I don't know why. However, I have kobs-ng

I think these are available with mtd-utils package. Try enabling mtd-utils package in ltib configuration. You could refer the following link:

http://processors.wiki.ti.com/index.php/MTD_Utilities#MTD-Utils_User-space_tools

Regards,

Balaji

0 件の賞賛
返信

1,807件の閲覧回数
AndracsEstacvez
Contributor II

Hi Balaji,

thanks for your reply. I think that there are some problem because SPI is being used by ethernet. Should it be?

Apart from that, I have another problem: I don't have the commands flash_eraseall, ubiattach and ubimkvol. I don't know why. However, I have kobs-ng

Thank you,

0 件の賞賛
返信

1,807件の閲覧回数
Balaji_ng
Contributor III

Hi,

It should appear. If not, check if the driver's platform data is defined in the board configuration file for the imx23.

Regards,

Balaji.V

0 件の賞賛
返信