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.

[参考译文] Linux/DRA722:DRA722

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/659926/linux-dra722-dra722

器件型号:DRA722

工具/软件:Linux

您好、先生、

我需要对 SPI NOR 闪存器件进行编程、并且在 m25p80.c 中添加了新器件"is25wp064q"、如下所示 我在"器件驱动程序/存储器技术器件(MTD)支持/自包含 MTD 器件驱动程序/支持大多数 SPI 闪存芯片(AT26DF、M25P、W25X、...) "make linux_menuconfig"命令。 构建内核映像后、我可以看到"m25p80.ko" 、但插入"m25p80.ko"后、我无法通过"cat /proc/mtd "看到 MTD 器件。  如果我想在用户空间中对 SPI 或闪存进行编程、该怎么办?  

静态常量结构 spi_device_id m25p_id[]={
/* ISSI -- is25wp0xxa */
{"is25wp064q"、信息(0x9D7017、0、64 * 1024、128、 0)}、...

{},
};

此致

Kevin