+Rafal for the subpartition stuff Hi Daniel, On Mon, 5 Nov 2018 14:37:52 +0100 Daniel Danzberger <daniel@xxxxxxxxxx> wrote: > This allows to specify multiple -(name) SIZE_REMAINING partitions on the > commandline parser. > > Example: > mtdparts=physmap-flash.0:256k(uboot),128k(params),-(firmware),1966080(kernel),-(rootfs) Now that Rafal introduced sub-partitioning support I'd prefer to go for this solution. If I take your example, that would give something like: mtdparts=physmap-flash.0:256k(uboot),128k(params),-(firmware);firmware:1966080(kernel),-(rootfs) I'm not entirely sure, but I think all you'd have to do to support that is add "cmdline" to the default_subpartition_type[] array [1] (or simply use default_partition_type since default_subpartition_type and default_partition_type would be the same after this change). Regards, Boris [1]https://elixir.bootlin.com/linux/latest/source/drivers/mtd/mtdpart.c#L800 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/