menuconfig 缺失 MTD partitioning support 解决办法

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

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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.












评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值