* [U-Boot] [PATCH 2/4] arm: m53evk: Test if bootscript exists before loading it
2014-09-23 11:18 [U-Boot] [PATCH 1/4] arm: m28evk: Test if bootscript exists before loading it Marek Vasut
@ 2014-09-23 11:18 ` Marek Vasut
2014-09-29 9:37 ` Stefano Babic
2014-09-23 11:18 ` [U-Boot] [PATCH 3/4] arm: m28evk: Enable FS_GENERIC Marek Vasut
` (2 subsequent siblings)
3 siblings, 1 reply; 8+ messages in thread
From: Marek Vasut @ 2014-09-23 11:18 UTC (permalink / raw)
To: u-boot
Make sure the boot.scr exists on the card before loading it
from the card to avoid annoying message on the console.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
---
include/configs/m53evk.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h
index df6a226..ad9c39c 100644
--- a/include/configs/m53evk.h
+++ b/include/configs/m53evk.h
@@ -348,10 +348,12 @@
"bootm ${kernel_addr_r}\0" \
"try_bootscript=" \
"mmc rescan;" \
+ "if test -e mmc 0:1 ${bootscript} ; then " \
"if ext4load mmc 0:1 ${kernel_addr_r} ${bootscript};" \
"then;" \
"\techo Running bootscript...;" \
"\tsource ${kernel_addr_r};" \
+ "fi ; " \
"fi\0"
#endif /* __M53EVK_CONFIG_H__ */
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [U-Boot] [PATCH 2/4] arm: m53evk: Test if bootscript exists before loading it
2014-09-23 11:18 ` [U-Boot] [PATCH 2/4] arm: m53evk: " Marek Vasut
@ 2014-09-29 9:37 ` Stefano Babic
0 siblings, 0 replies; 8+ messages in thread
From: Stefano Babic @ 2014-09-29 9:37 UTC (permalink / raw)
To: u-boot
On 23/09/2014 13:18, Marek Vasut wrote:
> Make sure the boot.scr exists on the card before loading it
> from the card to avoid annoying message on the console.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
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 3/4] arm: m28evk: Enable FS_GENERIC
2014-09-23 11:18 [U-Boot] [PATCH 1/4] arm: m28evk: Test if bootscript exists before loading it Marek Vasut
2014-09-23 11:18 ` [U-Boot] [PATCH 2/4] arm: m53evk: " Marek Vasut
@ 2014-09-23 11:18 ` Marek Vasut
2014-09-29 9:37 ` Stefano Babic
2014-09-23 11:18 ` [U-Boot] [PATCH 4/4] arm: m53evk: " Marek Vasut
2014-09-29 9:36 ` [U-Boot] [PATCH 1/4] arm: m28evk: Test if bootscript exists before loading it Stefano Babic
3 siblings, 1 reply; 8+ messages in thread
From: Marek Vasut @ 2014-09-23 11:18 UTC (permalink / raw)
To: u-boot
Enable the CONFIG_CMD_FS_GENERIC on m28evk to avoid per-fs specific commands
and tweak the environment to cater for this new option.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
---
include/configs/m28evk.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index 2d9ad5f..322b45f 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -32,6 +32,7 @@
#define CONFIG_CMD_EXT4
#define CONFIG_CMD_EXT4_WRITE
#define CONFIG_CMD_FAT
+#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_GPIO
#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_I2C
@@ -236,7 +237,7 @@
"addargs=run addcons addmtd addmisc\0" \
"mmcload=" \
"mmc rescan ; " \
- "ext4load mmc 0:2 ${kernel_addr_r} ${bootfile}\0" \
+ "load mmc 0:2 ${kernel_addr_r} ${bootfile}\0" \
"ubiload=" \
"ubi part UBI ; ubifsmount ubi0:rootfs ; " \
"ubifsload ${kernel_addr_r} /boot/${bootfile}\0" \
@@ -280,7 +281,7 @@
"try_bootscript=" \
"mmc rescan;" \
"if test -e mmc 0:2 ${bootscript} ; then " \
- "if ext4load mmc 0:2 ${kernel_addr_r} ${bootscript};" \
+ "if load mmc 0:2 ${kernel_addr_r} ${bootscript};" \
"then;" \
"\techo Running bootscript...;" \
"\tsource ${kernel_addr_r};" \
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [U-Boot] [PATCH 3/4] arm: m28evk: Enable FS_GENERIC
2014-09-23 11:18 ` [U-Boot] [PATCH 3/4] arm: m28evk: Enable FS_GENERIC Marek Vasut
@ 2014-09-29 9:37 ` Stefano Babic
0 siblings, 0 replies; 8+ messages in thread
From: Stefano Babic @ 2014-09-29 9:37 UTC (permalink / raw)
To: u-boot
On 23/09/2014 13:18, Marek Vasut wrote:
> Enable the CONFIG_CMD_FS_GENERIC on m28evk to avoid per-fs specific commands
> and tweak the environment to cater for this new option.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
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 4/4] arm: m53evk: Enable FS_GENERIC
2014-09-23 11:18 [U-Boot] [PATCH 1/4] arm: m28evk: Test if bootscript exists before loading it Marek Vasut
2014-09-23 11:18 ` [U-Boot] [PATCH 2/4] arm: m53evk: " Marek Vasut
2014-09-23 11:18 ` [U-Boot] [PATCH 3/4] arm: m28evk: Enable FS_GENERIC Marek Vasut
@ 2014-09-23 11:18 ` Marek Vasut
2014-09-29 9:38 ` Stefano Babic
2014-09-29 9:36 ` [U-Boot] [PATCH 1/4] arm: m28evk: Test if bootscript exists before loading it Stefano Babic
3 siblings, 1 reply; 8+ messages in thread
From: Marek Vasut @ 2014-09-23 11:18 UTC (permalink / raw)
To: u-boot
Enable the CONFIG_CMD_FS_GENERIC on m53evk to avoid per-fs specific commands
and tweak the environment to cater for this new option.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
---
include/configs/m53evk.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h
index ad9c39c..ee4eb10 100644
--- a/include/configs/m53evk.h
+++ b/include/configs/m53evk.h
@@ -38,6 +38,7 @@
#define CONFIG_CMD_EXT4
#define CONFIG_CMD_EXT4_WRITE
#define CONFIG_CMD_FAT
+#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
@@ -305,7 +306,7 @@
"addargs=run addcons addmtd addmisc\0" \
"mmcload=" \
"mmc rescan ; " \
- "ext4load mmc 0:1 ${kernel_addr_r} ${bootfile}\0" \
+ "load mmc 0:1 ${kernel_addr_r} ${bootfile}\0" \
"ubiload=" \
"ubi part UBI ; ubifsmount ubi0:rootfs ; " \
"ubifsload ${kernel_addr_r} /boot/${bootfile}\0" \
@@ -349,7 +350,7 @@
"try_bootscript=" \
"mmc rescan;" \
"if test -e mmc 0:1 ${bootscript} ; then " \
- "if ext4load mmc 0:1 ${kernel_addr_r} ${bootscript};" \
+ "if load mmc 0:1 ${kernel_addr_r} ${bootscript};" \
"then;" \
"\techo Running bootscript...;" \
"\tsource ${kernel_addr_r};" \
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [U-Boot] [PATCH 4/4] arm: m53evk: Enable FS_GENERIC
2014-09-23 11:18 ` [U-Boot] [PATCH 4/4] arm: m53evk: " Marek Vasut
@ 2014-09-29 9:38 ` Stefano Babic
0 siblings, 0 replies; 8+ messages in thread
From: Stefano Babic @ 2014-09-29 9:38 UTC (permalink / raw)
To: u-boot
On 23/09/2014 13:18, Marek Vasut wrote:
> Enable the CONFIG_CMD_FS_GENERIC on m53evk to avoid per-fs specific commands
> and tweak the environment to cater for this new option.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
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 1/4] arm: m28evk: Test if bootscript exists before loading it
2014-09-23 11:18 [U-Boot] [PATCH 1/4] arm: m28evk: Test if bootscript exists before loading it Marek Vasut
` (2 preceding siblings ...)
2014-09-23 11:18 ` [U-Boot] [PATCH 4/4] arm: m53evk: " Marek Vasut
@ 2014-09-29 9:36 ` Stefano Babic
3 siblings, 0 replies; 8+ messages in thread
From: Stefano Babic @ 2014-09-29 9:36 UTC (permalink / raw)
To: u-boot
On 23/09/2014 13:18, Marek Vasut wrote:
> Make sure the boot.scr exists on the card before loading it
> from the card to avoid annoying message on the console.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
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