有没有一种方法可以创建虚拟Linux MTD设备,类似于模拟实验
想知道我们是否可以创建一个虚拟的有没有一种方法可以创建虚拟Linux MTD设备,类似于模拟实验,linux,linux-kernel,flash-memory,ubifs,Linux,Linux Kernel,Flash Memory,Ubifs,想知道我们是否可以创建一个虚拟的MTD设备,或者在Linux上模拟一个MTD设备来玩UBIFS 我没有,我正在探索使用UBIFS的选项是的,有一些。您可以在driver/mtd/devices/Kconfig中找到它们,MTDRAM可能就是您正在寻找的使用vmalloc内存进行存储备份的东西 config MTD_SLRAM tristate "Uncached system RAM" help If your CPU cannot cache
MTD
设备,或者在Linux上模拟一个MTD
设备来玩UBIFS
我没有,我正在探索使用
UBIFS
的选项是的,有一些。您可以在driver/mtd/devices/Kconfig中找到它们,MTDRAM可能就是您正在寻找的使用vmalloc内存进行存储备份的东西
config MTD_SLRAM
tristate "Uncached system RAM"
help
If your CPU cannot cache all of the physical memory in your machine,
you can still use it for storage or swap by using this driver to
present it to the system as a Memory Technology Device.
config MTD_PHRAM
tristate "Physical system RAM"
help
config MTD_SLRAM
tristate "Uncached system RAM"
help
If your CPU cannot cache all of the physical memory in your machine,
you can still use it for storage or swap by using this driver to
present it to the system as a Memory Technology Device.
config MTD_MTDRAM
tristate "Test driver using RAM"
help
This enables a test MTD device driver which uses vmalloc() to
provide storage. You probably want to say 'N' unless you're
testing stuff.
是的,有一些。您可以在driver/mtd/devices/Kconfig中找到它们,MTDRAM可能就是您正在寻找的使用vmalloc内存进行存储备份的东西
config MTD_SLRAM
tristate "Uncached system RAM"
help
If your CPU cannot cache all of the physical memory in your machine,
you can still use it for storage or swap by using this driver to
present it to the system as a Memory Technology Device.
config MTD_PHRAM
tristate "Physical system RAM"
help
config MTD_SLRAM
tristate "Uncached system RAM"
help
If your CPU cannot cache all of the physical memory in your machine,
you can still use it for storage or swap by using this driver to
present it to the system as a Memory Technology Device.
config MTD_MTDRAM
tristate "Test driver using RAM"
help
This enables a test MTD device driver which uses vmalloc() to
provide storage. You probably want to say 'N' unless you're
testing stuff.
可能不会,因为UBI几乎要求安装MTD设备。奥托,SPI闪存芯片并不难找到。或者在最坏的情况下使用MTDRAM、PHRAM或BLOCK2MTD驱动程序。可能不会,因为UBI几乎强制使用MTD设备。奥托,SPI闪存芯片并不难找到。或者在最坏的情况下使用MTDRAM、PHRAM或BLOCK2MTD驱动程序。