linux 如何支持 w25Q128fv spi flash
kl222 2017-04-21 02:42:04 linux kernel 3.19 可以以RAMDISK方式启动,但我想直接用jffs2 rootfs启动,并支持FLASH分区可读写。
FLASH型号:w25Q128fv
内核支持此型号的驱动,我打开了下列项:
Device Drivers --->
- SPI support --->
<*> User mode SPI device driver support
<*> Memory Technology Device - (MTD) support --->
- Command line partition table parsing
Self-contained MTD device drivers --->
<*> Support most SPI Flash chips - (AT26DF, M25P, W25X, ...)
<*> MTD using block device
但是没有成功:
1、内核没有加载SPI模块,也没有加载SPI FLASH
2、命令行传递 mtdparts= 参数中有一个 mtd-id 如何设置?