Re: [PATCH] block: add command line partition parser

From: Brian Norris
Date: Thu Aug 15 2013 - 04:33:07 EST

On 08/15/2013 12:45 AM, Caizhiyong wrote:
-----Original Message-----
From: Brian Norris [mailto:computersforpeace@xxxxxxxxx]
On Thu, Aug 15, 2013 at 06:16:04AM +0000, Caizhiyong wrote:
I want to use the MTD command line partition method on block devices (eMMC).
It is very suitable for embedded systems. I think, in embedded system partition
if somebody need some feature on MTD device, he may be also need it on block device.
so I fully functional reference MTD command line partition.

I agree.

I'm curious: have you seen any need for a similar arrangement via
device-tree? See, for example, drivers/mtd/ofpart.c.

So far, I have no seen. We mainly use ARM. For ARM, device-tree is a new thing.

But device-tree is *the* thing for ARM going forward, and the kernel command line can get unwieldy (and beyond its limits) pretty quickly like this.

I hope extend the flexibility to block device.

Sure. I'll try to review the full patch soon and test out integrating
it with MTD.

If there is no problem, I will send my next patch, mtd cmdline parts use cmdline-parser lib.

We will get some reviews on this soon (no time for me tonight). Do you already have a mtd patch? If so, you might as well post it for review as well.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at