Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/28.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
有没有一种方法可以创建虚拟Linux MTD设备,类似于模拟实验_Linux_Linux Kernel_Flash Memory_Ubifs - Fatal编程技术网

有没有一种方法可以创建虚拟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驱动程序。