From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752142Ab3HOIdA (ORCPT ); Thu, 15 Aug 2013 04:33:00 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:37717 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751242Ab3HOIc4 (ORCPT ); Thu, 15 Aug 2013 04:32:56 -0400 Message-ID: <520C9235.5070104@gmail.com> Date: Thu, 15 Aug 2013 01:32:53 -0700 From: Brian Norris User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 MIME-Version: 1.0 To: Caizhiyong CC: Andrew Morton , Karel Zak , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "Wanglin (Albert)" , Artem Bityutskiy , Shmulik Ladkani , Huang Shijie Subject: Re: [PATCH] block: add command line partition parser References: <20130805152206.76462cc4a42e51b16a0532f1@linux-foundation.org> <20130814155742.d3cd651e40e552696667e4f2@linux-foundation.org> <20130815050007.GA23474@brian-ubuntu> <20130815070938.GB24007@brian-ubuntu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/15/2013 12:45 AM, Caizhiyong wrote: >> -----Original Message----- >> From: Brian Norris [mailto:computersforpeace@gmail.com] ... >> 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 >> method, >>> 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. Thanks, Brian From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pb0-x234.google.com ([2607:f8b0:400e:c01::234]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V9szd-0001yA-5H for linux-mtd@lists.infradead.org; Thu, 15 Aug 2013 08:33:18 +0000 Received: by mail-pb0-f52.google.com with SMTP id wz12so493526pbc.25 for ; Thu, 15 Aug 2013 01:32:55 -0700 (PDT) Message-ID: <520C9235.5070104@gmail.com> Date: Thu, 15 Aug 2013 01:32:53 -0700 From: Brian Norris MIME-Version: 1.0 To: Caizhiyong Subject: Re: [PATCH] block: add command line partition parser References: <20130805152206.76462cc4a42e51b16a0532f1@linux-foundation.org> <20130814155742.d3cd651e40e552696667e4f2@linux-foundation.org> <20130815050007.GA23474@brian-ubuntu> <20130815070938.GB24007@brian-ubuntu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Wanglin \(Albert\)" , Artem Bityutskiy , "linux-kernel@vger.kernel.org" , Huang Shijie , Karel Zak , "linux-mtd@lists.infradead.org" , Shmulik Ladkani , Andrew Morton List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 08/15/2013 12:45 AM, Caizhiyong wrote: >> -----Original Message----- >> From: Brian Norris [mailto:computersforpeace@gmail.com] ... >> 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 >> method, >>> 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. Thanks, Brian