[PATCH 1/3] mtd: cmdlinepart: make the partitions rule more strict

Artem Bityutskiy dedekind1 at gmail.com
Fri Aug 31 07:45:43 EDT 2012


On Sun, 2012-08-26 at 13:21 -0400, Huang Shijie wrote:
> There are typically two types to set the mtd partitions:
> 
> <1> set with the `size`, such as
>     gpmi-nand:100m(boot),100m(kernel),1g(rootfs)
> 
> <2> set with the `offset`, such as
>     gpmi-nand:100m at 0(boot),100m at 100m(kernel),1g at 200m(rootfs)
>     gpmi-nand:1g at 200m(rootfs),100m at 0(boot),100m at 100m(kernel)
> 
> If we mix these two types, such as:
>      gpmi-nand:100m at 0(boot),100m(kernel),1g at 200m(rootfs)
>      gpmi-nand:1g at 200m(rootfs),100m at 0(boot),100m(kernel)
> 
> It's hard to understand the cmdline. And also it is hard to sort the
> partitions in this mixed type. So we explicitly forbid the mixed type.

So "explicitly forbid" is just to add a "do not do this" comment?

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120831/7ac1a219/attachment.sig>


More information about the linux-mtd mailing list