diff options
Diffstat (limited to 'recipes-bsp/u-boot/u-boot/2011.09git/0015-am335x-switch-to-ext4-mode.patch')
-rw-r--r-- | recipes-bsp/u-boot/u-boot/2011.09git/0015-am335x-switch-to-ext4-mode.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot/2011.09git/0015-am335x-switch-to-ext4-mode.patch b/recipes-bsp/u-boot/u-boot/2011.09git/0015-am335x-switch-to-ext4-mode.patch new file mode 100644 index 00000000..3a932896 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot/2011.09git/0015-am335x-switch-to-ext4-mode.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | From 89f08384d5048059ac0a8ab72b6a7a194513dc64 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Wed, 4 Apr 2012 00:06:31 +0200 | ||
4 | Subject: [PATCH 15/15] am335x: switch to ext4 mode | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | include/configs/am335x_evm.h | 6 ++++-- | ||
9 | 1 files changed, 4 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h | ||
12 | index b2628c5..18d2cac 100755 | ||
13 | --- a/include/configs/am335x_evm.h | ||
14 | +++ b/include/configs/am335x_evm.h | ||
15 | @@ -76,6 +76,7 @@ | ||
16 | "env import -t $loadaddr $filesize\0" \ | ||
17 | "mmc_load_uimage=fatload mmc ${mmc_dev}:1 0x80007fc0 ${bootfile}\0" \ | ||
18 | "mmc_load_uimage_ext2=ext2load mmc ${mmc_dev}:2 0x80007fc0 /boot/${bootfile}\0" \ | ||
19 | + "mmc_load_uimage_ext4=ext4load mmc ${mmc_dev}:2 0x80007fc0 /boot/${bootfile}\0" \ | ||
20 | "optargs=\0" \ | ||
21 | "bootargs_defaults=setenv bootargs " \ | ||
22 | "console=${console} " \ | ||
23 | @@ -102,7 +103,7 @@ | ||
24 | "nfsroot=${serverip}:${rootpath},${nfsopts} rw " \ | ||
25 | "ip=dhcp\0" \ | ||
26 | "mmc_boot=run mmc_args; " \ | ||
27 | - "run mmc_load_uimage_ext2; " \ | ||
28 | + "run mmc_load_uimage_ext4; " \ | ||
29 | "bootm 0x80007fc0\0" \ | ||
30 | "nand_boot=echo Booting from nand ...; " \ | ||
31 | "run nand_args; " \ | ||
32 | @@ -136,7 +137,7 @@ | ||
33 | "echo Running uenvcmd ...;" \ | ||
34 | "run uenvcmd;" \ | ||
35 | "fi;" \ | ||
36 | - "if run mmc_load_uimage_ext2; then " \ | ||
37 | + "if run mmc_load_uimage_ext4; then " \ | ||
38 | "run mmc_args;" \ | ||
39 | "bootm 0x80007fc0;" \ | ||
40 | "fi;" \ | ||
41 | @@ -404,6 +405,7 @@ | ||
42 | #define CONFIG_DOS_PARTITION | ||
43 | #define CONFIG_CMD_FAT | ||
44 | #define CONFIG_CMD_EXT2 | ||
45 | +#define CONFIG_CMD_EXT4 | ||
46 | #endif | ||
47 | |||
48 | /* Unsupported features */ | ||
49 | -- | ||
50 | 1.7.2.5 | ||
51 | |||