From: Guillaume Gardet <guillaume.gardet@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] omap3_beagle: Add boot script support to omap3 beagle board
Date: Tue, 02 Sep 2014 14:41:21 +0200 [thread overview]
Message-ID: <5405BAF1.9010707@free.fr> (raw)
In-Reply-To: <1409042893-6647-1-git-send-email-guillaume.gardet@free.fr>
Ping.
Guillaume
Le 26/08/2014 10:48, Guillaume GARDET a ?crit :
> This patch adds boot script support to omap3 beagle board.
>
> Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
> Cc: Tom Rini <trini@ti.com>
>
> ---
> include/configs/omap3_beagle.h | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
>
> diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
> index 644e97f..f25a940 100644
> --- a/include/configs/omap3_beagle.h
> +++ b/include/configs/omap3_beagle.h
> @@ -207,6 +207,9 @@
> "rootfstype=${ramrootfstype}\0" \
> "loadramdisk=load mmc ${bootpart} ${rdaddr} ${bootdir}/${ramdisk}\0" \
> "loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
> + "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
> + "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
> + "source ${loadaddr}\0" \
> "loadfdt=run validatefdt; load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
> "mmcboot=echo Booting from mmc ...; " \
> "run mmcargs; " \
> @@ -243,9 +246,13 @@
> "echo Running uenvcmd ...;" \
> "run uenvcmd;" \
> "fi;" \
> - "if run loadimage; then " \
> - "run mmcboot;" \
> - "fi;" \
> + "if run loadbootscript; then " \
> + "run bootscript; " \
> + "else " \
> + "if run loadimage; then " \
> + "run mmcboot;" \
> + "fi;" \
> + "fi; " \
> "fi;" \
> "run nandboot;" \
> "setenv bootfile zImage;" \
next prev parent reply other threads:[~2014-09-02 12:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-26 8:48 [U-Boot] [PATCH] omap3_beagle: Add boot script support to omap3 beagle board Guillaume GARDET
2014-09-02 12:41 ` Guillaume Gardet [this message]
2014-09-04 20:47 ` [U-Boot] " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5405BAF1.9010707@free.fr \
--to=guillaume.gardet@free.fr \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.