menuconfig 缺失 MTD partitioning support 解决办法
这是最近内核的问题,mtd目录下的Kconfig没有对MTD进行完全的支持,需要我们自己手动修改Kconfig
对比可知,左边的Kconfig是正确的,右边的Kconfig是导致我们在menuconfig里面看不到MTD partitioning support的原因所在。补全即可
把下面这段话补充进去就可以了~
config MTD_PARTITIONS
bool "MTD partitioning support"
help
If you have a device which needs to divide its flash chip(s) up
into multiple 'partitions', each of which appears to the user as
a separate MTD device, you require this option to be enabled. If
unsure, say 'Y'.
Note, however, that you don't need this option for the DiskOnChip
devices. Partitioning on NFTL 'devices' is a different - that's the
'normal' form of partitioning used on a block device.