From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?
Date: Mon, 07 Apr 2014 21:19:09 +0200 [thread overview]
Message-ID: <20140407191910.02A85380958@gemini.denx.de> (raw)
In-Reply-To: <20140407190210.GK23803@bill-the-cat>
Dear Tom,
In message <20140407190210.GK23803@bill-the-cat> you wrote:
>
> > I think CONFIG_ENV_IS_IN.. is an independent thing. Even when booting
> > from NOR you can have the environment anywhere else.
>
> Well, maybe. I'm not sure (and too lazy to dig through the board doc
> atm) on if you can have both NOR and QSPI available on the reference
> design, but I think not. But also, for ..._qspiboot I want to show
> everything from QSPI, and ..._norboot I want everything on NOR.
OK, but this is a design decision for this specific board, then. It
is not a fundamental property of the U-Boot design. For us, boot
device and environment storage are independent. And so it should be
implemented.
> > As for the differences between NOR and QSPI... IIRC we cannot execute
> > any code directly on QSPI, we have to load it to some memory first,
> > right? So QSPI is not much different from loading the code from any
> > other storage device - or am I missing something? How is XIP from
> > QSPI working?
>
> Nope, this board has memory mapped QSPI and on reading something other
> than all 0s or all 1s ROM jumps to it.
If you use the memory mapped mode, then it looks just like any
other ROM, and we should not need special code either.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I am not now, nor have I ever been, a member of the demigodic party.
-- Dennis Ritchie
next prev parent reply other threads:[~2014-04-07 19:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 17:28 [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice? Tom Rini
2014-04-07 16:31 ` Albert ARIBAUD
2014-04-07 16:45 ` Tom Rini
2014-04-07 17:05 ` Wolfgang Denk
2014-04-07 17:19 ` Tom Rini
2014-04-07 17:41 ` Wolfgang Denk
2014-04-07 17:49 ` Tom Rini
2014-04-07 18:45 ` Wolfgang Denk
2014-04-07 19:02 ` Tom Rini
2014-04-07 19:19 ` Wolfgang Denk [this message]
2014-04-07 19:57 ` Tom Rini
2014-04-08 13:02 ` Wolfgang Denk
2014-04-08 18:00 ` Tom Rini
2014-04-08 18:35 ` Albert ARIBAUD
2014-04-08 19:44 ` Wolfgang Denk
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=20140407191910.02A85380958@gemini.denx.de \
--to=wd@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;
as well as URLs for NNTP newsgroup(s).