spidev on sabrelite

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,532件の閲覧回数
jaiganesh
Contributor III

Greetings,

I am using sabrelite board with 2009.08 u-boot and 3.0.35 linux kernel (LTIB BSP) . The sabrelite board has 2MB SPI NOR flash but I cannot find "/dev/spidev" entry created in linux kernel.

I have tried steps in these posts but still no "spidev" entry is created.

How to enable spidev for all SPI (1-5) for MX6

Can't use spidev on i.MX53.

Re: SPI: SPIDEV interface question

/dev/spidev not appearing on iMX6Q despite kernel configuration and modalias="spidev"

Re: spidev

I can access the NOR flash using "sf" command in u-boot. Has anyone successfully able to create "/dev/spidev" entry in linux kernel for sabrelite?

Thanks

Jai Ganesh S

ラベル(2)
0 件の賞賛
返信
1 解決策
1,314件の閲覧回数
EricNelson
Senior Contributor II

Hello Jai,

Since the only SPI device on the SABRE Lite (BD-SL-i.MX6) is the SPI-NOR flash, we don't enable userspace SPI in our default configuration.

You can enable it using the kernel's "menuconfig" or by adding "CONFIG_SPI_SPIDEV=y" to your kernel configuration, but the SPI-NOR is accessible using the MTD driver, so SPIDEV isn't needed for that.

We are working on a configuration that will re-purpose the LCD connector (J15) on the SABRE Lite boards

You can enable it using the kernel's "menuconfig" or by adding "CONFIG_SPI_SPIDEV=y" to your kernel configuration, but the SPI-NOR is accessible using the MTD driver, so SPIDEV isn't needed for that.

Based on customer feedback, we are working on a configuration that will re-purpose the LCD connector (J15) on the SABRE Lite boards as a combination of GPIO and additional SPI channels (ECSPI2/3).

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,315件の閲覧回数
EricNelson
Senior Contributor II

Hello Jai,

Since the only SPI device on the SABRE Lite (BD-SL-i.MX6) is the SPI-NOR flash, we don't enable userspace SPI in our default configuration.

You can enable it using the kernel's "menuconfig" or by adding "CONFIG_SPI_SPIDEV=y" to your kernel configuration, but the SPI-NOR is accessible using the MTD driver, so SPIDEV isn't needed for that.

We are working on a configuration that will re-purpose the LCD connector (J15) on the SABRE Lite boards

You can enable it using the kernel's "menuconfig" or by adding "CONFIG_SPI_SPIDEV=y" to your kernel configuration, but the SPI-NOR is accessible using the MTD driver, so SPIDEV isn't needed for that.

Based on customer feedback, we are working on a configuration that will re-purpose the LCD connector (J15) on the SABRE Lite boards as a combination of GPIO and additional SPI channels (ECSPI2/3).

0 件の賞賛
返信