* [U-Boot] [PATCH] mx53loco: Use generic 'load' command instead of 'fatload'
@ 2015-06-16 9:48 Guillaume GARDET
2015-06-16 11:51 ` Liu Jason
0 siblings, 1 reply; 5+ messages in thread
From: Guillaume GARDET @ 2015-06-16 9:48 UTC (permalink / raw)
To: u-boot
This patch uses generic 'load' command instead of 'fatload' for 'loadbootscript', 'loadimage' and 'loadfdt' for mx53loco board.
This allows to use EXT partition instead of FAT, while keeping FAT compatibility.
Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
Cc: Jason Liu <r64343@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
---
include/configs/mx53loco.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index db551a9..b3ac5e2 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -43,6 +43,7 @@
#define CONFIG_MMC
#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
+#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_FAT
#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
@@ -116,11 +117,11 @@
"mmcroot=/dev/mmcblk0p2 rw rootwait\0" \
"mmcargs=setenv bootargs console=ttymxc0,${baudrate} root=${mmcroot}\0" \
"loadbootscript=" \
- "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
+ "load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
"bootscript=echo Running bootscript from mmc ...; " \
"source\0" \
- "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
- "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
+ "loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
+ "loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
"mmcboot=echo Booting from mmc ...; " \
"run mmcargs; " \
"if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
--
1.8.4.5
^ permalink raw reply related [flat|nested] 5+ messages in thread* [U-Boot] [PATCH] mx53loco: Use generic 'load' command instead of 'fatload'
2015-06-16 9:48 [U-Boot] [PATCH] mx53loco: Use generic 'load' command instead of 'fatload' Guillaume GARDET
@ 2015-06-16 11:51 ` Liu Jason
2015-07-06 10:10 ` Guillaume Gardet
0 siblings, 1 reply; 5+ messages in thread
From: Liu Jason @ 2015-06-16 11:51 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: Guillaume GARDET [mailto:guillaume.gardet at free.fr]
> Sent: Tuesday, June 16, 2015 5:49 PM
> To: u-boot at lists.denx.de
> Cc: Guillaume GARDET; Liu Hui-R64343; Stefano Babic
> Subject: [U-Boot] [PATCH] mx53loco: Use generic 'load' command instead of
> 'fatload'
>
> This patch uses generic 'load' command instead of 'fatload' for
> 'loadbootscript', 'loadimage' and 'loadfdt' for mx53loco board.
>
> This allows to use EXT partition instead of FAT, while keeping FAT
> compatibility.
>
> Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
>
> Cc: Jason Liu <r64343@freescale.com>
> Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Jason Liu <r64343@freescale.com>
>
> ---
> include/configs/mx53loco.h | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
> index db551a9..b3ac5e2 100644
> --- a/include/configs/mx53loco.h
> +++ b/include/configs/mx53loco.h
> @@ -43,6 +43,7 @@
> #define CONFIG_MMC
> #define CONFIG_CMD_MMC
> #define CONFIG_GENERIC_MMC
> +#define CONFIG_CMD_FS_GENERIC
> #define CONFIG_CMD_FAT
> #define CONFIG_CMD_EXT2
> #define CONFIG_DOS_PARTITION
> @@ -116,11 +117,11 @@
> "mmcroot=/dev/mmcblk0p2 rw rootwait\0" \
> "mmcargs=setenv bootargs console=ttymxc0,${baudrate}
> root=${mmcroot}\0" \
> "loadbootscript=" \
> - "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
> + "load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
> "bootscript=echo Running bootscript from mmc ...; " \
> "source\0" \
> - "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0"
> \
> - "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr}
> ${fdt_file}\0" \
> + "loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
> + "loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
> "mmcboot=echo Booting from mmc ...; " \
> "run mmcargs; " \
> "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then "
> \
> --
> 1.8.4.5
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot] [PATCH] mx53loco: Use generic 'load' command instead of 'fatload'
2015-06-16 11:51 ` Liu Jason
@ 2015-07-06 10:10 ` Guillaume Gardet
2015-07-06 10:26 ` Stefano Babic
0 siblings, 1 reply; 5+ messages in thread
From: Guillaume Gardet @ 2015-07-06 10:10 UTC (permalink / raw)
To: u-boot
Le 16/06/2015 13:51, Liu Jason a ?crit :
>> -----Original Message-----
>> From: Guillaume GARDET [mailto:guillaume.gardet at free.fr]
>> Sent: Tuesday, June 16, 2015 5:49 PM
>> To: u-boot at lists.denx.de
>> Cc: Guillaume GARDET; Liu Hui-R64343; Stefano Babic
>> Subject: [U-Boot] [PATCH] mx53loco: Use generic 'load' command instead of
>> 'fatload'
>>
>> This patch uses generic 'load' command instead of 'fatload' for
>> 'loadbootscript', 'loadimage' and 'loadfdt' for mx53loco board.
>>
>> This allows to use EXT partition instead of FAT, while keeping FAT
>> compatibility.
>>
>> Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
>>
>> Cc: Jason Liu <r64343@freescale.com>
>> Cc: Stefano Babic <sbabic@denx.de>
> Acked-by: Jason Liu <r64343@freescale.com>
Stefano, could you merge it, please? It would be nice to get it in 2015.07 release.
Guillaume
>
>> ---
>> include/configs/mx53loco.h | 7 ++++---
>> 1 file changed, 4 insertions(+), 3 deletions(-)
>>
>> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
>> index db551a9..b3ac5e2 100644
>> --- a/include/configs/mx53loco.h
>> +++ b/include/configs/mx53loco.h
>> @@ -43,6 +43,7 @@
>> #define CONFIG_MMC
>> #define CONFIG_CMD_MMC
>> #define CONFIG_GENERIC_MMC
>> +#define CONFIG_CMD_FS_GENERIC
>> #define CONFIG_CMD_FAT
>> #define CONFIG_CMD_EXT2
>> #define CONFIG_DOS_PARTITION
>> @@ -116,11 +117,11 @@
>> "mmcroot=/dev/mmcblk0p2 rw rootwait\0" \
>> "mmcargs=setenv bootargs console=ttymxc0,${baudrate}
>> root=${mmcroot}\0" \
>> "loadbootscript=" \
>> - "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
>> + "load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
>> "bootscript=echo Running bootscript from mmc ...; " \
>> "source\0" \
>> - "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0"
>> \
>> - "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr}
>> ${fdt_file}\0" \
>> + "loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
>> + "loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
>> "mmcboot=echo Booting from mmc ...; " \
>> "run mmcargs; " \
>> "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then "
>> \
>> --
>> 1.8.4.5
>
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot] [PATCH] mx53loco: Use generic 'load' command instead of 'fatload'
2015-07-06 10:10 ` Guillaume Gardet
@ 2015-07-06 10:26 ` Stefano Babic
2015-07-06 11:31 ` Guillaume Gardet
0 siblings, 1 reply; 5+ messages in thread
From: Stefano Babic @ 2015-07-06 10:26 UTC (permalink / raw)
To: u-boot
Hi Guillaume,
On 06/07/2015 12:10, Guillaume Gardet wrote:
>
>
> Le 16/06/2015 13:51, Liu Jason a ?crit :
>>> -----Original Message-----
>>> From: Guillaume GARDET [mailto:guillaume.gardet at free.fr]
>>> Sent: Tuesday, June 16, 2015 5:49 PM
>>> To: u-boot at lists.denx.de
>>> Cc: Guillaume GARDET; Liu Hui-R64343; Stefano Babic
>>> Subject: [U-Boot] [PATCH] mx53loco: Use generic 'load' command
>>> instead of
>>> 'fatload'
>>>
>>> This patch uses generic 'load' command instead of 'fatload' for
>>> 'loadbootscript', 'loadimage' and 'loadfdt' for mx53loco board.
>>>
>>> This allows to use EXT partition instead of FAT, while keeping FAT
>>> compatibility.
>>>
>>> Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
>>>
>>> Cc: Jason Liu <r64343@freescale.com>
>>> Cc: Stefano Babic <sbabic@denx.de>
>> Acked-by: Jason Liu <r64343@freescale.com>
>
> Stefano, could you merge it, please? It would be nice to get it in
> 2015.07 release.
>
>
Yes, I do it.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] mx53loco: Use generic 'load' command instead of 'fatload'
2015-07-06 10:26 ` Stefano Babic
@ 2015-07-06 11:31 ` Guillaume Gardet
0 siblings, 0 replies; 5+ messages in thread
From: Guillaume Gardet @ 2015-07-06 11:31 UTC (permalink / raw)
To: u-boot
Le 06/07/2015 12:26, Stefano Babic a ?crit :
> Hi Guillaume,
>
> On 06/07/2015 12:10, Guillaume Gardet wrote:
>>
>> Le 16/06/2015 13:51, Liu Jason a ?crit :
>>>> -----Original Message-----
>>>> From: Guillaume GARDET [mailto:guillaume.gardet at free.fr]
>>>> Sent: Tuesday, June 16, 2015 5:49 PM
>>>> To: u-boot at lists.denx.de
>>>> Cc: Guillaume GARDET; Liu Hui-R64343; Stefano Babic
>>>> Subject: [U-Boot] [PATCH] mx53loco: Use generic 'load' command
>>>> instead of
>>>> 'fatload'
>>>>
>>>> This patch uses generic 'load' command instead of 'fatload' for
>>>> 'loadbootscript', 'loadimage' and 'loadfdt' for mx53loco board.
>>>>
>>>> This allows to use EXT partition instead of FAT, while keeping FAT
>>>> compatibility.
>>>>
>>>> Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
>>>>
>>>> Cc: Jason Liu <r64343@freescale.com>
>>>> Cc: Stefano Babic <sbabic@denx.de>
>>> Acked-by: Jason Liu <r64343@freescale.com>
>> Stefano, could you merge it, please? It would be nice to get it in
>> 2015.07 release.
>>
>>
> Yes, I do it.
Thanks!
Guillaume
>
> Best regards,
> Stefano Babic
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-07-06 11:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-16 9:48 [U-Boot] [PATCH] mx53loco: Use generic 'load' command instead of 'fatload' Guillaume GARDET
2015-06-16 11:51 ` Liu Jason
2015-07-06 10:10 ` Guillaume Gardet
2015-07-06 10:26 ` Stefano Babic
2015-07-06 11:31 ` Guillaume Gardet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox