RE: [PATCH] block: support embedded device command line partition

2013-09-17 Thread Caizhiyong
> I saw this patch appear in kernel v3.12-rc1, and it's nice since it's exactly > what we need. So needed that we proposed it in 2010: > http://marc.info/?l=linux-kernel&m=127425650923757&w=2 > http://marc.info/?l=linux-kernel&m=127599718024364&w=2 > > Is this patch inspired by Ulfs patch? (I ca

Re: [PATCH] block: support embedded device command line partition

2013-09-17 Thread Linus Walleij
On Sat, Aug 3, 2013 at 11:57 AM, Caizhiyong wrote: > From: Cai Zhiyong > > Read block device partition table from command line. > The partition used for fixed block device (eMMC) embedded device. > It is no MBR, save storage space. Bootloader can be easily accessed by > absolute address of data

Re: [PATCH] block: support embedded device command line partition

2013-08-19 Thread Stephen Warren
On 08/19/2013 02:36 AM, Caizhiyong wrote: >> On 08/15/2013 08:54 PM, Caizhiyong wrote: > +blkdevparts=[;] > + := :[,] > + := [@](part-name) > + > + > +block device disk name, embedded device used fixed block device, > +it's disk name also fixed. such as: mm

RE: [PATCH] block: support embedded device command line partition

2013-08-19 Thread Caizhiyong
> On 08/15/2013 08:54 PM, Caizhiyong wrote: > >>> +blkdevparts=[;] > >>> + := :[,] > >>> + := [@](part-name) > >>> + > >>> + > >>> +block device disk name, embedded device used fixed block device, > >>> +it's disk name also fixed. such as: mmcblk0, mmcblk1, mmcblk0boot0. > >> > >> The

Re: [PATCH] block: support embedded device command line partition

2013-08-16 Thread Stephen Warren
On 08/15/2013 08:54 PM, Caizhiyong wrote: >>> +blkdevparts=[;] >>> + := :[,] >>> + := [@](part-name) >>> + >>> + >>> +block device disk name, embedded device used fixed block device, >>> +it's disk name also fixed. such as: mmcblk0, mmcblk1, mmcblk0boot0. >> >> The device-name isn't a

RE: [PATCH] block: support embedded device command line partition

2013-08-15 Thread Caizhiyong
> > +blkdevparts=[;] > > + := :[,] > > + := [@](part-name) > > + > > + > > +block device disk name, embedded device used fixed block device, > > +it's disk name also fixed. such as: mmcblk0, mmcblk1, mmcblk0boot0. > > The device-name isn't always fixed. > > For example, what if ther

Re: [PATCH] block: support embedded device command line partition

2013-08-15 Thread Stephen Warren
On 08/03/2013 03:57 AM, Caizhiyong wrote: > From: Cai Zhiyong > > Read block device partition table from command line. > The partition used for fixed block device (eMMC) embedded device. > It is no MBR, save storage space. Bootloader can be easily accessed by > absolute address of data on the blo

Re: [PATCH] block: support embedded device command line partition

2013-08-06 Thread Andrew Morton
ert); Quyaxin; > > Jens Axboe; > > David Woodhouse; Marius Groeger > > Subject: Re: [PATCH] block: support embedded device command line partition > > > > On Sat, 3 Aug 2013 09:57:04 + Caizhiyong wrote: > > > > > From: Cai Zhiyong > > >

RE: [PATCH] block: support embedded device command line partition

2013-08-06 Thread Caizhiyong
bject: Re: [PATCH] block: support embedded device command line partition > > On Sat, 3 Aug 2013 09:57:04 + Caizhiyong wrote: > > > From: Cai Zhiyong > > > > Read block device partition table from command line. > > The partition used for fixed block device (eM

Re: [PATCH] block: support embedded device command line partition

2013-08-05 Thread Andrew Morton
On Sat, 3 Aug 2013 09:57:04 + Caizhiyong wrote: > From: Cai Zhiyong > > Read block device partition table from command line. > The partition used for fixed block device (eMMC) embedded device. > It is no MBR, save storage space. Bootloader can be easily accessed by > absolute address of dat

RE: [PATCH] block: support embedded device command line partition

2013-07-31 Thread Caizhiyong
> From: Karel Zak [mailto:k...@redhat.com] > Sent: Wednesday, July 31, 2013 9:25 PM > To: Caizhiyong > Cc: Andrew Morton; linux-kernel@vger.kernel.org; Wanglin (Albert); Quyaxin > Subject: Re: [PATCH] block: support embedded device command line partition > > On Sat, Jul 2

Re: [PATCH] block: support embedded device command line partition

2013-07-31 Thread Karel Zak
On Sat, Jul 27, 2013 at 01:56:24PM +, Caizhiyong wrote: > +static int parse_partitions(struct parsed_partitions *state, > + struct cmdline_parts *parts) > +{ > + int slot; > + uint64_t from = 0; > + uint64_t disk_size; > + char buf[BDEVNAME_SIZE]; > +

Re: [PATCH] block: support embedded device command line partition

2013-07-30 Thread Andrew Morton
On Sat, 27 Jul 2013 13:56:24 + Caizhiyong wrote: > From: Cai Zhiyong > > Read block device partition table from command line. This partition used for > fixed block device (eMMC) embedded device. > It no MBR, can save storage space. Bootloader can be easily accessed by > absolute address o