Re: [PATCH 0/3] Virtual MTD concat device driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Boris

(sorry for the duplicate reply, the message to the list bounced because I had my mailer configured wrong)

On 06/09/18 23:03, Boris Brezillon wrote:
On Thu, 6 Sep 2018 22:59:49 +0200
Boris Brezillon <boris.brezillon@xxxxxxxxxxx> wrote:

Hi Bernhard,

On Thu,  6 Sep 2018 18:14:10 +0200
Bernhard Frauendienst <kernel@xxxxxxxxxxxxxxxxx> wrote:

Hi everybody,

when porting my router board from a mach-file based OpenWRT target to a
device-tree based target, I found that there is no generic way to create
a mtd_concat device from within the dts. The following patches attempt
to provide that possibility.
There's a fundamental issue with this patch series: DT is supposed to
represent the hardware, not how you want to use it, and clearly, your
concatenated MTD dev is a virtual device, not a real one, so I doubt it
will pass DT maintainers' review.
BTW, did you consider doing that through the command line?

Would you mind elaborating on that?

The biggest problem that I see is that I have to specify the fixed partitions somewhere, and I would really like to keep that in the dts file, where they would also be if it was only a single chip.

Best Regards
Bernhard


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux