All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS
@ 2018-03-31 22:49 Pierre-Jean TEXIER
  2018-03-31 22:49 ` [U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC Pierre-Jean TEXIER
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Pierre-Jean TEXIER @ 2018-03-31 22:49 UTC (permalink / raw)
  To: u-boot

use the generic filesystem command 'load' rather
than 'fatload' to avoid per-fs specific commands.

Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
---
Changes for v3:
	- None

 include/configs/warp7.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index fe96988..82dc629 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -45,11 +45,11 @@
 	"mmcargs=setenv bootargs console=${console},${baudrate} " \
 		"root=PARTUUID=${uuid} rootwait rw\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 finduuid; " \
 		"run mmcargs; " \
-- 
2.7.4

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

* [U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC
  2018-03-31 22:49 [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS Pierre-Jean TEXIER
@ 2018-03-31 22:49 ` Pierre-Jean TEXIER
  2018-03-31 23:01   ` Fabio Estevam
                     ` (2 more replies)
  2018-03-31 23:01 ` [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS Fabio Estevam
                   ` (2 subsequent siblings)
  3 siblings, 3 replies; 8+ messages in thread
From: Pierre-Jean TEXIER @ 2018-03-31 22:49 UTC (permalink / raw)
  To: u-boot

This enable generic file system commands (load, ls).

Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
---
Changes for v3:
	- drop 'warp7_secure_defconfig'

 configs/warp7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig
index 29c4512..3856918 100644
--- a/configs/warp7_defconfig
+++ b/configs/warp7_defconfig
@@ -26,6 +26,7 @@ CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_FS_GENERIC=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DFU_MMC=y
 CONFIG_USB=y
-- 
2.7.4

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

* [U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC
  2018-03-31 22:49 ` [U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC Pierre-Jean TEXIER
@ 2018-03-31 23:01   ` Fabio Estevam
  2018-03-31 23:09   ` Bryan O'Donoghue
  2018-04-27  8:47   ` Stefano Babic
  2 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2018-03-31 23:01 UTC (permalink / raw)
  To: u-boot

Hi Pierre-Jean,

On Sat, Mar 31, 2018 at 7:49 PM, Pierre-Jean TEXIER
<texier.pj2@gmail.com> wrote:
> This enable generic file system commands (load, ls).
>
> Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>

Thanks for sending this new version:

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>

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

* [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS
  2018-03-31 22:49 [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS Pierre-Jean TEXIER
  2018-03-31 22:49 ` [U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC Pierre-Jean TEXIER
@ 2018-03-31 23:01 ` Fabio Estevam
  2018-03-31 23:10 ` Bryan O'Donoghue
  2018-04-27  8:47 ` Stefano Babic
  3 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2018-03-31 23:01 UTC (permalink / raw)
  To: u-boot

On Sat, Mar 31, 2018 at 7:49 PM, Pierre-Jean TEXIER
<texier.pj2@gmail.com> wrote:
> use the generic filesystem command 'load' rather
> than 'fatload' to avoid per-fs specific commands.
>
> Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>

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

* [U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC
  2018-03-31 22:49 ` [U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC Pierre-Jean TEXIER
  2018-03-31 23:01   ` Fabio Estevam
@ 2018-03-31 23:09   ` Bryan O'Donoghue
  2018-04-27  8:47   ` Stefano Babic
  2 siblings, 0 replies; 8+ messages in thread
From: Bryan O'Donoghue @ 2018-03-31 23:09 UTC (permalink / raw)
  To: u-boot



On 31/03/18 23:49, Pierre-Jean TEXIER wrote:
> This enable generic file system commands (load, ls).
> 
> Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
> ---
> Changes for v3:
> 	- drop 'warp7_secure_defconfig'
> 
>   configs/warp7_defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig
> index 29c4512..3856918 100644
> --- a/configs/warp7_defconfig
> +++ b/configs/warp7_defconfig
> @@ -26,6 +26,7 @@ CONFIG_CMD_EXT2=y
>   CONFIG_CMD_EXT4=y
>   CONFIG_CMD_EXT4_WRITE=y
>   CONFIG_CMD_FAT=y
> +CONFIG_CMD_FS_GENERIC=y
>   CONFIG_NET_RANDOM_ETHADDR=y
>   CONFIG_DFU_MMC=y
>   CONFIG_USB=y
> 

Acked-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

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

* [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS
  2018-03-31 22:49 [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS Pierre-Jean TEXIER
  2018-03-31 22:49 ` [U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC Pierre-Jean TEXIER
  2018-03-31 23:01 ` [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS Fabio Estevam
@ 2018-03-31 23:10 ` Bryan O'Donoghue
  2018-04-27  8:47 ` Stefano Babic
  3 siblings, 0 replies; 8+ messages in thread
From: Bryan O'Donoghue @ 2018-03-31 23:10 UTC (permalink / raw)
  To: u-boot



On 31/03/18 23:49, Pierre-Jean TEXIER wrote:
> use the generic filesystem command 'load' rather
> than 'fatload' to avoid per-fs specific commands.
> 
> Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
> ---
> Changes for v3:
> 	- None
> 
>   include/configs/warp7.h | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/configs/warp7.h b/include/configs/warp7.h
> index fe96988..82dc629 100644
> --- a/include/configs/warp7.h
> +++ b/include/configs/warp7.h
> @@ -45,11 +45,11 @@
>   	"mmcargs=setenv bootargs console=${console},${baudrate} " \
>   		"root=PARTUUID=${uuid} rootwait rw\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 finduuid; " \
>   		"run mmcargs; " \
> 

Acked-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

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

* [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS
  2018-03-31 22:49 [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS Pierre-Jean TEXIER
                   ` (2 preceding siblings ...)
  2018-03-31 23:10 ` Bryan O'Donoghue
@ 2018-04-27  8:47 ` Stefano Babic
  3 siblings, 0 replies; 8+ messages in thread
From: Stefano Babic @ 2018-04-27  8:47 UTC (permalink / raw)
  To: u-boot

On 01/04/2018 00:49, Pierre-Jean TEXIER wrote:
> use the generic filesystem command 'load' rather
> than 'fatload' to avoid per-fs specific commands.
> 
> Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
> ---
> Changes for v3:
> 	- None
> 
>  include/configs/warp7.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/configs/warp7.h b/include/configs/warp7.h
> index fe96988..82dc629 100644
> --- a/include/configs/warp7.h
> +++ b/include/configs/warp7.h
> @@ -45,11 +45,11 @@
>  	"mmcargs=setenv bootargs console=${console},${baudrate} " \
>  		"root=PARTUUID=${uuid} rootwait rw\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 finduuid; " \
>  		"run mmcargs; " \
> 

Applied to u-boot-imx, thanks !

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] 8+ messages in thread

* [U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC
  2018-03-31 22:49 ` [U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC Pierre-Jean TEXIER
  2018-03-31 23:01   ` Fabio Estevam
  2018-03-31 23:09   ` Bryan O'Donoghue
@ 2018-04-27  8:47   ` Stefano Babic
  2 siblings, 0 replies; 8+ messages in thread
From: Stefano Babic @ 2018-04-27  8:47 UTC (permalink / raw)
  To: u-boot

On 01/04/2018 00:49, Pierre-Jean TEXIER wrote:
> This enable generic file system commands (load, ls).
> 
> Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
> ---
> Changes for v3:
> 	- drop 'warp7_secure_defconfig'
> 
>  configs/warp7_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig
> index 29c4512..3856918 100644
> --- a/configs/warp7_defconfig
> +++ b/configs/warp7_defconfig
> @@ -26,6 +26,7 @@ CONFIG_CMD_EXT2=y
>  CONFIG_CMD_EXT4=y
>  CONFIG_CMD_EXT4_WRITE=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_FS_GENERIC=y
>  CONFIG_NET_RANDOM_ETHADDR=y
>  CONFIG_DFU_MMC=y
>  CONFIG_USB=y
> 

Applied to u-boot-imx, thanks !

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] 8+ messages in thread

end of thread, other threads:[~2018-04-27  8:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-31 22:49 [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS Pierre-Jean TEXIER
2018-03-31 22:49 ` [U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC Pierre-Jean TEXIER
2018-03-31 23:01   ` Fabio Estevam
2018-03-31 23:09   ` Bryan O'Donoghue
2018-04-27  8:47   ` Stefano Babic
2018-03-31 23:01 ` [U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS Fabio Estevam
2018-03-31 23:10 ` Bryan O'Donoghue
2018-04-27  8:47 ` Stefano Babic

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.