microSD single ext2 or ext3 partition boot?
Alastair Johnson
alastair at truebox.co.uk
Mon Oct 6 12:29:26 CEST 2008
Alex Osborne wrote:
>
> On 06/10/2008, at 11:49 AM, feywulf wrote:
>
>>
>> setenv menu_9 Boot from microSD (ext2): setenv bootargs
>> \${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p1 rootdelay=5
>> \${mtdparts} ro\; mmcinit\; ext2load mmc 1 0x32000000
>> \${sd_image_name}\; bootm 0x32000000
>>
>
> I think it would. For me $bootargs_base also contained root= and
> rootfstype= pointing at the flash which was giving the kernel some
> confusion having them specified twice, so if you have problems with it
> check that.
It looks very similar to what I'm using, including the rootfstype= part.
The only bit I think may need a change is the ext2load which I think
needs to be:
ext2load mmc 1:1 0x32000000 boot/uImage\;
For the second partition it would be 1:2. Depending on what your
${sd_image_name} is you may be ok to leave it, but I prefer defining it
explicitly for each partition.
More information about the community
mailing list