This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] DRA821U:SPI 无法工作、因为为 OMAP 加载 McSPI 驱动程序失败

Guru**** 2465890 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1475960/dra821u-spi-not-work-because-loading-mcspi-driver-for-omap-failed

器件型号:DRA821U
主题中讨论的其他器件:DRA821

工具与软件:

你(们)好、

我无法在定制 DRA821板上使用 SPI 接口、因为加载 McSPI 驱动器失败。 如下在控制台日志中所示、我使用 modprobe 命令加载 McSPI 驱动程序、但该命令从未返回、我不得不停止使用 CTRL+C 驱动程序不会显示在已加载模块列表中。 但是、加载 spidev 驱动程序(与 McSPI 驱动程序位于同一位置)没有问题。

我正在使用包含 processor-sdk-gateway-10_00.txt 和 tisdk-base-image 的 Kirkstone Yocto 项目。 内核版本为6.6.32 (Linux-ti-staging)。

是否已知可导致此问题的 McSPI 驱动程序? 如何解决问题?

谢谢!

Charles

root@edr:~#
root@edr:~# modprobe spi-omap2-mcspi
^C
root@edr:~# lsmod
Module                  Size  Used by
rpmsg_ctrl             12288  0
rpmsg_char             20480  1 rpmsg_ctrl
overlay               139264  0
cfg80211              409600  0
rfkill                 28672  2 cfg80211
crct10dif_ce           12288  1
ti_k3_r5_remoteproc    24576  0
at24                   16384  0
k3_j72xx_bandgap       12288  0
sa2ul                  32768  0
ti_am335x_tscadc       12288  1
authenc                12288  1 sa2ul
cdns3_ti               12288  1
rti_wdt                12288  1
spi_omap2_mcspi        20480  1
cryptodev              49152  0
fuse                  131072  1
drm                   598016  0
drm_panel_orientation_quirks    24576  1 drm
backlight              20480  1 drm
configfs               49152  1
ipv6                  462848  26
root@edr:~# modprobe spidev
root@edr:~# lsmod
Module                  Size  Used by
spidev                 16384  0
rpmsg_ctrl             12288  0
rpmsg_char             20480  1 rpmsg_ctrl
overlay               139264  0
cfg80211              409600  0
rfkill                 28672  2 cfg80211
crct10dif_ce           12288  1
ti_k3_r5_remoteproc    24576  0
at24                   16384  0
k3_j72xx_bandgap       12288  0
sa2ul                  32768  0
ti_am335x_tscadc       12288  1
authenc                12288  1 sa2ul
cdns3_ti               12288  1
rti_wdt                12288  1
spi_omap2_mcspi        20480  1
cryptodev              49152  0
fuse                  131072  1
drm                   598016  0
drm_panel_orientation_quirks    24576  1 drm
backlight              20480  1 drm
configfs               49152  1
ipv6                  462848  26
root@edr:~#