[U-Boot] [PATCH] omap: beagle: Use ubifs instead of jffs2 for nand boot

Steve Sakoman sakoman at gmail.com
Fri Sep 30 21:39:03 CEST 2011


On Fri, Sep 30, 2011 at 12:32 PM, Kooi, Koen <k-kooi at ti.com> wrote:
> On Fri, Sep 30, 2011 at 21:29:11, Steve Sakoman wrote:
>> Subject: [PATCH] omap: beagle: Use ubifs instead of jffs2 for
>> nand boot
>>
>> Signed-off-by: Steve Sakoman <steve at sakoman.com>
>> ---
>>
>> diff --git a/include/configs/omap3_beagle.h
>> b/include/configs/omap3_beagle.h
>> index 2c0f5a5..a92ffdf 100644
>> --- a/include/configs/omap3_beagle.h
>> +++ b/include/configs/omap3_beagle.h
>> @@ -227,8 +227,8 @@
>>       "mmcdev=0\0" \
>>       "mmcroot=/dev/mmcblk0p2 rw\0" \
>>       "mmcrootfstype=ext3 rootwait\0" \
>> -     "nandroot=/dev/mtdblock4 rw\0" \
>> -     "nandrootfstype=jffs2\0" \
>> +     "nandroot=ubi0:rootfs ubi.mtd=4\0" \
>> +     "nandrootfstype=ubifs\0" \
>
> IIRC all beagle builds use 'beagleboard-rootfs' as ubi name, but I need to double check.
>
> In any case, this is already a massive improvement, so:
>
> Acked-by: Koen Kooi <k-kooi at ti.com>

I do generic omap kernel & rootfs builds, so it seemed better to do a
non machine specific ubi name.

Steve


More information about the U-Boot mailing list