From: Helmut Raiger <helmut.raiger@hale.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] Modify go to allow chain loading a second u-boot
Date: Thu, 03 Apr 2014 11:40:46 +0200 [thread overview]
Message-ID: <533D2C9E.4060103@hale.at> (raw)
Hi,
for all the wrong reasons I have to load a second u-boot from a first
one.
I'm finally able to start it, but it only works if I do a
cleanup_before_linux(),
i.e. turn off interrupts and caches before the actual 'go'.
For testing I patched the go command, but obviously this can't be
contributed as such.
Anyone having a suggestion on how to do this?
1) add option to 'go' command, which is hard as it has variable arguments
2) add another go command
3) use an environment variable to set the option for 'go'
Theoretically I could use an u-boot image to encapsulate the second u-boot
and use 'bootm', but I think I'll stumble over the same kind of questions.
Helmut
PS: this is a re-post (the original one hung on-to the thread where I
asked for help in the first place).
--
Scanned by MailScanner.
next reply other threads:[~2014-04-03 9:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-03 9:40 Helmut Raiger [this message]
2014-04-08 2:27 ` [U-Boot] Modify go to allow chain loading a second u-boot Simon Glass
2014-04-09 13:54 ` Helmut Raiger
2014-04-09 14:29 ` Wolfgang Denk
2014-04-10 8:06 ` Helmut Raiger
2014-04-09 23:41 ` Rob Herring
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=533D2C9E.4060103@hale.at \
--to=helmut.raiger@hale.at \
--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