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.
本文介绍了解决内核配置工具menuconfig中MTD分区支持缺失的方法。由于内核源码中mtd目录下的Kconfig文件未完全支持MTD分区,通过手动补全相关配置项即可解决问题。
1691

被折叠的 条评论
为什么被折叠?



