public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ash Charles <ashcharles@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] omap4: load files for legacy boot
Date: Thu,  5 May 2016 11:58:06 -0700	[thread overview]
Message-ID: <1462474687-19709-2-git-send-email-ashcharles@gmail.com> (raw)
In-Reply-To: <1462474687-19709-1-git-send-email-ashcharles@gmail.com>

Be sure to load the zImage and fdtfile prior to actually booting in
case we are doing a legacy boot.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 include/configs/ti_omap4_common.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
index 586d848..5fad3c1 100644
--- a/include/configs/ti_omap4_common.h
+++ b/include/configs/ti_omap4_common.h
@@ -122,7 +122,10 @@
 	"loaduimage=load mmc ${mmcdev} ${loadaddr} uImage\0" \
 	"mmcboot=echo Booting from mmc${mmcdev} ...; " \
 		"run args_mmc; " \
-		"bootz ${loadaddr} - ${fdtaddr}\0" \
+		"if run loadimage; then " \
+			"run loadfdt; " \
+			"bootz ${loadaddr} - ${fdtaddr}; " \
+		"fi;\0" \
 	"uimageboot=echo Booting from mmc${mmcdev} ...; " \
 		"run args_mmc; " \
 		"bootm ${loadaddr}\0" \
-- 
2.1.4

  reply	other threads:[~2016-05-05 18:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05 18:58 [U-Boot] [PATCH 0/2] Re-enabled DuoVero platform Ash Charles
2016-05-05 18:58 ` Ash Charles [this message]
2016-05-06 17:47   ` [U-Boot] [PATCH 1/2] omap4: load files for legacy boot Tom Rini
2016-05-05 18:58 ` [U-Boot] [PATCH 2/2] omap4: duovero: Disable EFI booting Ash Charles
2016-05-06 17:47   ` 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=1462474687-19709-2-git-send-email-ashcharles@gmail.com \
    --to=ashcharles@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox