OpenWrt confused on partitions on Micro SD card?
Xiangfu Liu
xiangfu at sharism.cc
Wed Jan 5 20:50:46 EST 2011
Hi Lars
thanks for the info.
On 01/06/2011 06:51 AM, Lars-Peter Clausen wrote:
> On 01/05/2011 11:25 PM, Lars-Peter Clausen wrote:
>> > On 12/16/2010 11:14 PM, Delbert Franz wrote:
>>> >> I'm working up to some benchmarks on micro SD card and today I
>>> >> partitioned a 8 GB card into eight partitions: First 3 are primary and
>>> >> the remaining ones are logical. Using cfdisk on the Nanonote numbers
>>> >> the partitions: p1 through p9 with the base name of "mmcblk0". This
>>> >> all looks OK. However, when the Nanonote is booted with the card
>>> >> present in the micro SD slot, it come ups during boot up showing the
>>> >> following pattern of partitions:
>> >
>>> >> p1 p2 p3 p4 <p5 p6 p7>
>> >
>>> >> which is incorrect. It should be
>> >
>>> >> p1 p2 p3 p4 < p5 p6 p7 p8 p9>.
>> >
>> >
>> > Hi
>> >
>> > The kernel has only support for up to 7 partions. You can change this by setting
>> > CONFIG_MMC_BLOCK_MINORS
>> > to a higher number and recompile the kernel.
>> >
>> > - Lars
>> >
> I just had a closer look and you could also set mmcblk.perdev_minors=x in the kernel
> cmdline, where is is the maximum number of partitions you want to support minus one.
> So for 9 partitions set it 10.
>
--
Best Regards
Xiangfu
-- Qi RSS feed, http://en.qi-hardware.com/feed/rss20.xml --
More information about the discussion
mailing list