From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Chain loading an u-boot from an u-boot
Date: Fri, 04 Apr 2014 11:25:18 +0200 [thread overview]
Message-ID: <533E7A7E.5060601@denx.de> (raw)
In-Reply-To: <CAPnjgZ1OE+bZTCDitgj3t2C+ejudhOoDPKnH5LUSW8YibQjw9Q@mail.gmail.com>
Hi Helmut,
On 04/04/2014 01:13, Simon Glass wrote:
>> 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 a u-boot image to encapsulate the second u-boot
>> and use 'bootm', but I think I'll stumble over the same kind of questions.
>
>
> There is already 'dcache off' but I wonder if something like 'go prepare'
> would be useful? Another option is that bootm has a prepare state, but it
> requires an image.
I agree with Simon. If you have not changed your target, you are using a
MX31 and what cleanup_linux for arm1136 does is turning off the caches.
What about if you turn off i-cache and d-cache in einem script before
the go command ?
Best regards,
Stefano
--
=====================================================================
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
=====================================================================
next prev parent reply other threads:[~2014-04-04 9:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-10 11:11 [U-Boot] Chain loading an u-boot from an u-boot Helmut Raiger
2014-02-10 12:14 ` Andreas Bießmann
2014-02-10 12:57 ` Helmut Raiger
2014-02-12 21:59 ` Scott Wood
2014-02-13 9:45 ` Helmut Raiger
2014-02-11 9:38 ` Stefano Babic
2014-02-12 9:56 ` Helmut Raiger
2014-02-12 10:41 ` Stefano Babic
2014-02-12 10:45 ` Andreas Bießmann
2014-02-13 9:03 ` Helmut Raiger
2014-03-31 11:29 ` Helmut Raiger
2014-04-03 23:13 ` Simon Glass
2014-04-04 9:25 ` Stefano Babic [this message]
2014-04-09 14:07 ` Helmut Raiger
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=533E7A7E.5060601@denx.de \
--to=sbabic@denx.de \
--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