Skip to contentSkip to conversation

Where is /dev/mtdX on Linux-3.8.0-rc7+

DISCUSSION bill4carson 2 participants 2 messages Apr 15, 2013

lore
Share & tools
lore
#0 lore raw

Hi, All

It seems "MTD partitioning support" CONFIG_MTD_PARTITIONS has been deleted some time ago, at least not exist on Linux-3.8.0-rc7+. And there is no /dev/mtdx neither, so how do I make it happen?

thanks in advance!

Signature · 3 lines
?????????,??????????

--bill
#1 lore raw

Hi Bill,

I had a look at the following patchs.
http://permalink.gmane.org/gmane.linux.kernel.commits.head/303418
http://lists.infradead.org/pipermail/linux-mtd/2011-May/035368.html
http://comments.gmane.org/gmane.linux.drivers.mtd/35293

I think the only way to define different partition layout is to pass it as command line argument to kernel.

Refer this for mtdparts argument description.
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/mtd/cmdlinepart.c?id=refs/tags/v3.8.7

I am thinking that the device file /dev/mtdx will be present since the char diver code is still existing in the kernel mainline.(line no 1254)

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/mtd/mtdchar.c?id=refs/tags/v3.8.7

Regards,
Yuva

Quoted 12 lines · On Mon, Apr 15, 2013 at 3:19 PM, bill4carson <[email protected]> wrote:

Hi, All

It seems "MTD partitioning support" CONFIG_MTD_PARTITIONS has been deleted some time ago, at least not exist on Linux-3.8.0-rc7+.
And there is no /dev/mtdx neither, so how do I make it happen?

thanks in advance!

--
?????????,??????????

Quoted 7 lines

--bill

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130415/299f5194/attachment.html