All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] OMAP4: Use generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage'.
@ 2014-09-05 13:32 Guillaume GARDET
  2014-09-17  8:11 ` Guillaume Gardet
  2014-09-18 12:34 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 4+ messages in thread
From: Guillaume GARDET @ 2014-09-05 13:32 UTC (permalink / raw)
  To: u-boot

This patch uses generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage' for OMAP4 boards.

This allows to use EXT partition instead of FAT, while keeping FAT compatibility.

Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>                                                                                                                                                 
Cc: Tom Rini <trini@ti.com>

---
 include/configs/ti_omap4_common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
index 8c7310c..b0f199e 100644
--- a/include/configs/ti_omap4_common.h
+++ b/include/configs/ti_omap4_common.h
@@ -101,10 +101,10 @@
 		"vram=${vram} " \
 		"root=${mmcroot} " \
 		"rootfstype=${mmcrootfstype}\0" \
-	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
+	"loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
 	"bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
 		"source ${loadaddr}\0" \
-	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
+	"loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
 	"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
 		"env import -t ${loadaddr} ${filesize}\0" \
 	"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
-- 
1.8.4.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] OMAP4: Use generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage'.
  2014-09-05 13:32 [U-Boot] [PATCH] OMAP4: Use generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage' Guillaume GARDET
@ 2014-09-17  8:11 ` Guillaume Gardet
  2014-09-17 17:42   ` Tom Rini
  2014-09-18 12:34 ` [U-Boot] " Tom Rini
  1 sibling, 1 reply; 4+ messages in thread
From: Guillaume Gardet @ 2014-09-17  8:11 UTC (permalink / raw)
  To: u-boot

Ping.

Le 05/09/2014 15:32, Guillaume GARDET a ?crit :
> This patch uses generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage' for OMAP4 boards.
>
> This allows to use EXT partition instead of FAT, while keeping FAT compatibility.
>
> Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
> Cc: Tom Rini <trini@ti.com>
>
> ---
>   include/configs/ti_omap4_common.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
> index 8c7310c..b0f199e 100644
> --- a/include/configs/ti_omap4_common.h
> +++ b/include/configs/ti_omap4_common.h
> @@ -101,10 +101,10 @@
>   		"vram=${vram} " \
>   		"root=${mmcroot} " \
>   		"rootfstype=${mmcrootfstype}\0" \
> -	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
> +	"loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
>   	"bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
>   		"source ${loadaddr}\0" \
> -	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
> +	"loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
>   	"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
>   		"env import -t ${loadaddr} ${filesize}\0" \
>   	"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] OMAP4: Use generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage'.
  2014-09-17  8:11 ` Guillaume Gardet
@ 2014-09-17 17:42   ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2014-09-17 17:42 UTC (permalink / raw)
  To: u-boot

On Wed, Sep 17, 2014 at 10:11:03AM +0200, Guillaume Gardet wrote:

> Ping.

Sorry, tracking down the boot regression sidetracked me from doing a
u-boot-ti pull request after getting things into master, I'll be picking
this (and your other patch, and a bunch of others) soon.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140917/7cf52ebf/attachment.pgp>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] OMAP4: Use generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage'.
  2014-09-05 13:32 [U-Boot] [PATCH] OMAP4: Use generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage' Guillaume GARDET
  2014-09-17  8:11 ` Guillaume Gardet
@ 2014-09-18 12:34 ` Tom Rini
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2014-09-18 12:34 UTC (permalink / raw)
  To: u-boot

On Fri, Sep 05, 2014 at 03:32:46PM +0200, Guillaume GARDET wrote:

> This patch uses generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage' for OMAP4 boards.
> 
> This allows to use EXT partition instead of FAT, while keeping FAT compatibility.
> 
> Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>                                                                                                                                                 
> Cc: Tom Rini <trini@ti.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140918/8fe9e15d/attachment.pgp>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-18 12:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-05 13:32 [U-Boot] [PATCH] OMAP4: Use generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage' Guillaume GARDET
2014-09-17  8:11 ` Guillaume Gardet
2014-09-17 17:42   ` Tom Rini
2014-09-18 12:34 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.