* [U-Boot] [PATCH 0/2] Fixes and simplification to omap3_pandora boot configuration
@ 2016-08-29 7:56 Vagrant Cascadian
2016-08-29 7:56 ` [U-Boot] [PATCH 1/2] omap3_pandora: Fix mmc loading of autoboot script to use correct syntax Vagrant Cascadian
2016-08-29 7:56 ` [U-Boot] [PATCH 2/2] omap3_pandora: Switch to using "load" command to load the autoboot script Vagrant Cascadian
0 siblings, 2 replies; 7+ messages in thread
From: Vagrant Cascadian @ 2016-08-29 7:56 UTC (permalink / raw)
To: u-boot
First patch fixes the syntax used for loading a boot script from mmc.
The second patch makes use of the "load" command provided by
CONFIG_CMD_FS_GENERIC.
Vagrant Cascadian (2):
omap3_pandora: Fix mmc loading of autoboot script to use correct
syntax.
omap3_pandora: Switch to using "load" command to load the autoboot
script.
include/configs/omap3_pandora.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--
2.9.3
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 1/2] omap3_pandora: Fix mmc loading of autoboot script to use correct syntax.
2016-08-29 7:56 [U-Boot] [PATCH 0/2] Fixes and simplification to omap3_pandora boot configuration Vagrant Cascadian
@ 2016-08-29 7:56 ` Vagrant Cascadian
2016-08-29 18:48 ` Grazvydas Ignotas
2016-09-07 17:59 ` [U-Boot] [U-Boot, " Tom Rini
2016-08-29 7:56 ` [U-Boot] [PATCH 2/2] omap3_pandora: Switch to using "load" command to load the autoboot script Vagrant Cascadian
1 sibling, 2 replies; 7+ messages in thread
From: Vagrant Cascadian @ 2016-08-29 7:56 UTC (permalink / raw)
To: u-boot
fatload/ext2load both require that the device and partition be
specified after specifying the device type. Specify the first
partition on mmc device 0, which is the only mmc device currently
configured on the pandora.
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
---
include/configs/omap3_pandora.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
index 380ec12..6ff9375 100644
--- a/include/configs/omap3_pandora.h
+++ b/include/configs/omap3_pandora.h
@@ -93,8 +93,8 @@
"mtdparts=" MTDPARTS_DEFAULT "\0" \
#define CONFIG_BOOTCOMMAND \
- "if mmc rescan && fatload mmc1 0 ${loadaddr} autoboot.scr || " \
- "ext2load mmc1 0 ${loadaddr} autoboot.scr; then " \
+ "if mmc rescan && fatload mmc 0:1 ${loadaddr} autoboot.scr || " \
+ "ext2load mmc 0:1 ${loadaddr} autoboot.scr; then " \
"source ${loadaddr}; " \
"fi; " \
"ubi part boot && ubifsmount ubi:boot && " \
--
2.9.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 2/2] omap3_pandora: Switch to using "load" command to load the autoboot script.
2016-08-29 7:56 [U-Boot] [PATCH 0/2] Fixes and simplification to omap3_pandora boot configuration Vagrant Cascadian
2016-08-29 7:56 ` [U-Boot] [PATCH 1/2] omap3_pandora: Fix mmc loading of autoboot script to use correct syntax Vagrant Cascadian
@ 2016-08-29 7:56 ` Vagrant Cascadian
2016-08-29 18:48 ` Grazvydas Ignotas
2016-09-07 17:59 ` [U-Boot] [U-Boot, " Tom Rini
1 sibling, 2 replies; 7+ messages in thread
From: Vagrant Cascadian @ 2016-08-29 7:56 UTC (permalink / raw)
To: u-boot
CONFIG_CMD_FS_GENERIC is enabled; use it to load the autoboot script,
rather than first attempting with fatload and falling back to
ext2load.
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
---
include/configs/omap3_pandora.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
index 6ff9375..0d733bd 100644
--- a/include/configs/omap3_pandora.h
+++ b/include/configs/omap3_pandora.h
@@ -93,8 +93,7 @@
"mtdparts=" MTDPARTS_DEFAULT "\0" \
#define CONFIG_BOOTCOMMAND \
- "if mmc rescan && fatload mmc 0:1 ${loadaddr} autoboot.scr || " \
- "ext2load mmc 0:1 ${loadaddr} autoboot.scr; then " \
+ "if mmc rescan && load mmc 0:1 ${loadaddr} autoboot.scr; then " \
"source ${loadaddr}; " \
"fi; " \
"ubi part boot && ubifsmount ubi:boot && " \
--
2.9.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 1/2] omap3_pandora: Fix mmc loading of autoboot script to use correct syntax.
2016-08-29 7:56 ` [U-Boot] [PATCH 1/2] omap3_pandora: Fix mmc loading of autoboot script to use correct syntax Vagrant Cascadian
@ 2016-08-29 18:48 ` Grazvydas Ignotas
2016-09-07 17:59 ` [U-Boot] [U-Boot, " Tom Rini
1 sibling, 0 replies; 7+ messages in thread
From: Grazvydas Ignotas @ 2016-08-29 18:48 UTC (permalink / raw)
To: u-boot
On Mon, Aug 29, 2016 at 10:56 AM, Vagrant Cascadian <vagrant@debian.org> wrote:
> fatload/ext2load both require that the device and partition be
> specified after specifying the device type. Specify the first
> partition on mmc device 0, which is the only mmc device currently
> configured on the pandora.
>
> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Acked-by: Grazvydas Ignotas <notasas@gmail.com>
> ---
>
> include/configs/omap3_pandora.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
> index 380ec12..6ff9375 100644
> --- a/include/configs/omap3_pandora.h
> +++ b/include/configs/omap3_pandora.h
> @@ -93,8 +93,8 @@
> "mtdparts=" MTDPARTS_DEFAULT "\0" \
>
> #define CONFIG_BOOTCOMMAND \
> - "if mmc rescan && fatload mmc1 0 ${loadaddr} autoboot.scr || " \
> - "ext2load mmc1 0 ${loadaddr} autoboot.scr; then " \
> + "if mmc rescan && fatload mmc 0:1 ${loadaddr} autoboot.scr || " \
> + "ext2load mmc 0:1 ${loadaddr} autoboot.scr; then " \
> "source ${loadaddr}; " \
> "fi; " \
> "ubi part boot && ubifsmount ubi:boot && " \
> --
> 2.9.3
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 2/2] omap3_pandora: Switch to using "load" command to load the autoboot script.
2016-08-29 7:56 ` [U-Boot] [PATCH 2/2] omap3_pandora: Switch to using "load" command to load the autoboot script Vagrant Cascadian
@ 2016-08-29 18:48 ` Grazvydas Ignotas
2016-09-07 17:59 ` [U-Boot] [U-Boot, " Tom Rini
1 sibling, 0 replies; 7+ messages in thread
From: Grazvydas Ignotas @ 2016-08-29 18:48 UTC (permalink / raw)
To: u-boot
On Mon, Aug 29, 2016 at 10:56 AM, Vagrant Cascadian <vagrant@debian.org> wrote:
> CONFIG_CMD_FS_GENERIC is enabled; use it to load the autoboot script,
> rather than first attempting with fatload and falling back to
> ext2load.
>
> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Acked-by: Grazvydas Ignotas <notasas@gmail.com>
> ---
>
> include/configs/omap3_pandora.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
> index 6ff9375..0d733bd 100644
> --- a/include/configs/omap3_pandora.h
> +++ b/include/configs/omap3_pandora.h
> @@ -93,8 +93,7 @@
> "mtdparts=" MTDPARTS_DEFAULT "\0" \
>
> #define CONFIG_BOOTCOMMAND \
> - "if mmc rescan && fatload mmc 0:1 ${loadaddr} autoboot.scr || " \
> - "ext2load mmc 0:1 ${loadaddr} autoboot.scr; then " \
> + "if mmc rescan && load mmc 0:1 ${loadaddr} autoboot.scr; then " \
> "source ${loadaddr}; " \
> "fi; " \
> "ubi part boot && ubifsmount ubi:boot && " \
> --
> 2.9.3
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [U-Boot, 1/2] omap3_pandora: Fix mmc loading of autoboot script to use correct syntax.
2016-08-29 7:56 ` [U-Boot] [PATCH 1/2] omap3_pandora: Fix mmc loading of autoboot script to use correct syntax Vagrant Cascadian
2016-08-29 18:48 ` Grazvydas Ignotas
@ 2016-09-07 17:59 ` Tom Rini
1 sibling, 0 replies; 7+ messages in thread
From: Tom Rini @ 2016-09-07 17:59 UTC (permalink / raw)
To: u-boot
On Mon, Aug 29, 2016 at 12:56:05AM -0700, Vagrant Cascadian wrote:
> fatload/ext2load both require that the device and partition be
> specified after specifying the device type. Specify the first
> partition on mmc device 0, which is the only mmc device currently
> configured on the pandora.
>
> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
> Acked-by: Grazvydas Ignotas <notasas@gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160907/8b71d4c7/attachment.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [U-Boot, 2/2] omap3_pandora: Switch to using "load" command to load the autoboot script.
2016-08-29 7:56 ` [U-Boot] [PATCH 2/2] omap3_pandora: Switch to using "load" command to load the autoboot script Vagrant Cascadian
2016-08-29 18:48 ` Grazvydas Ignotas
@ 2016-09-07 17:59 ` Tom Rini
1 sibling, 0 replies; 7+ messages in thread
From: Tom Rini @ 2016-09-07 17:59 UTC (permalink / raw)
To: u-boot
On Mon, Aug 29, 2016 at 12:56:06AM -0700, Vagrant Cascadian wrote:
> CONFIG_CMD_FS_GENERIC is enabled; use it to load the autoboot script,
> rather than first attempting with fatload and falling back to
> ext2load.
>
> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
> Acked-by: Grazvydas Ignotas <notasas@gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160907/ba2fc7bd/attachment.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-09-07 17:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-29 7:56 [U-Boot] [PATCH 0/2] Fixes and simplification to omap3_pandora boot configuration Vagrant Cascadian
2016-08-29 7:56 ` [U-Boot] [PATCH 1/2] omap3_pandora: Fix mmc loading of autoboot script to use correct syntax Vagrant Cascadian
2016-08-29 18:48 ` Grazvydas Ignotas
2016-09-07 17:59 ` [U-Boot] [U-Boot, " Tom Rini
2016-08-29 7:56 ` [U-Boot] [PATCH 2/2] omap3_pandora: Switch to using "load" command to load the autoboot script Vagrant Cascadian
2016-08-29 18:48 ` Grazvydas Ignotas
2016-09-07 17:59 ` [U-Boot] [U-Boot, " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox