Paul Larson <paul.lar...@linaro.org> writes:

> On Mon, Jun 18, 2012 at 8:32 AM, Marcin Juszkiewicz <
> marcin.juszkiew...@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 [1].  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.

Gah.  I don't think insisting every system involved in LAVA has a custom
kernel can really work :/

One thing I _think_ we could do would be to share the boot and testboot
partitions -- we could install the kernels to be tested in
/boot/test-kernel or something and carefully tweak the commands we pass
to uboot to load that kernel.  Sounds like a fiddle, but might work?

Cheers,
mwh

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to