[Linaro-validation] Can we use mmcblk0p8?
paul.larson at linaro.org
Mon Jun 18 14:20:33 UTC 2012
On Mon, Jun 18, 2012 at 8:32 AM, Marcin Juszkiewicz <
marcin.juszkiewicz at linaro.org> wrote:
> W dniu 18.06.2012 15:02, YongQin Liu pisze:
> > Hi, Saugata
> > We have a problem to use the mmcblk0p8 partition, do you know if we
> > can use it, and how can we use it?
> > I created the 8th partition with fdisk command and the 8th partition
> > is listed in the output of fdisk -l command but it is not listed in
> > /proc/partitions file, even after reboot And also I can't use
> > mkfs.vfat -n sdcard /dev/mmcblk0p8 to format.
> > Could you give me some help about this?
> Check /dev/mmcblk1p0 node number for answer. IIRC there is limited
> amount of partitions on MMC cards which Linux handles (a bit stupid
> limit imho).
Yes it is stupid, and it's bit us before . The better thing is to
rethink your partitioning and see if you can come up with a better way to
lay it out. It's worked for us so far, but it's been tight on the lava
side due to the number of partitions that android wants, and especially
with the annoying hardcoded partition numbers that android uses.
The max partitions can be changed but requires rebuilding your kernel
MMC_BLOCK_MINORS on *every* machine that you will ever need to mess with
that mmc card on. So if you are building a master image on your laptop,
you'll need to rebuild that one, the kernels for all platform images you
want to boot on it, etc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the linaro-validation