u-boot 2011.12: switch beagleboard to ext4 to match beaglebone
[glsdk/meta-ti-glsdk.git] / recipes-bsp / u-boot / u-boot / 2011.12 / 0013-beagleboard-switch-mmcroots-to-ext4.patch
1 From f5b19d6609a540a9eafa60dad902e7416df57771 Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Mon, 30 Apr 2012 11:10:07 +0200
4 Subject: [PATCH 13/13] beagleboard: switch mmcroots to ext4
6 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7 ---
8  include/configs/omap3_beagle.h |    5 +++--
9  1 file changed, 3 insertions(+), 2 deletions(-)
11 diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
12 index 65ab8ee..3157d47 100644
13 --- a/include/configs/omap3_beagle.h
14 +++ b/include/configs/omap3_beagle.h
15 @@ -140,6 +140,7 @@
16  
17  #define CONFIG_CMD_CACHE
18  #define CONFIG_CMD_EXT2                /* EXT2 Support                 */
19 +#define CONFIG_CMD_EXT4
20  #define CONFIG_CMD_FAT         /* FAT support                  */
21  #define CONFIG_CMD_JFFS2       /* JFFS2 Support                */
22  #define CONFIG_CMD_MTDPARTS    /* Enable MTD parts commands */
23 @@ -222,7 +223,7 @@
24         "defaultdisplay=dvi\0" \
25         "mmcdev=0\0" \
26         "mmcroot=/dev/mmcblk0p2 ro\0" \
27 -       "mmcrootfstype=ext3 rootwait\0" \
28 +       "mmcrootfstype=ext4 rootwait\0" \
29         "nandroot=ubi0:rootfs ubi.mtd=4\0" \
30         "nandrootfstype=ubifs\0" \
31         "ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=0x81000000,64M\0" \
32 @@ -265,7 +266,7 @@
33                 "rootfstype=${ramrootfstype}\0" \
34         "loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz\0" \
35         "loaduimagefat=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
36 -       "loaduimage=ext2load mmc ${mmcdev}:2 ${loadaddr} /boot/uImage\0" \
37 +       "loaduimage=ext4load mmc ${mmcdev}:2 ${loadaddr} /boot/uImage\0" \
38         "mmcboot=echo Booting from mmc ...; " \
39                 "run mmcargs; " \
40                 "bootm ${loadaddr}\0" \
41 -- 
42 1.7.10