From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] ARM: tegra: Disable SPL and non-cached memory on 64-bit
Date: Tue, 28 Jul 2015 10:05:25 -0600 [thread overview]
Message-ID: <55B7A845.6090903@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ3bQL6Pr3wyCgxwdPEF3gkNoMW6U4nGdh6trDU9=XnSbg@mail.gmail.com>
On 07/28/2015 09:50 AM, Simon Glass wrote:
> Hi Stephen,
>
> On 28 July 2015 at 09:44, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> On 07/28/2015 09:33 AM, Simon Glass wrote:
>>>
>>> Hi,
>>>
>>> On 27 July 2015 at 11:45, Stephen Warren <swarren@wwwdotorg.org> wrote:
>>>>
>>>> From: Thierry Reding <treding@nvidia.com>
>>>>
>>>> For 64-bit ARM SoCs we rely on non-U-Boot code to bring up the CPU in
>>>> AArch64 mode so that we don't need the SPL. Non-cached memory is not
>>>> implemented (yet) for 64-bit ARM.
>>>>
>>>> Signed-off-by: Thierry Reding <treding@nvidia.com>
>>>> Signed-off-by: Tom Warren <twarren@nvidia.com>
>>>> Signed-off-by: Stephen Warren <swarren@nvidia.com>
>>>> ---
>>>> include/configs/tegra-common.h | 4 ++++
>>>> 1 file changed, 4 insertions(+)
>>>
>>>
>>> What does start up the CPU? Is this something that will be implemented
>>> in SPL later?
>>
>>
>> At least initially, the plan is to use a separate bootloader on the boot CPU
>> (was named AVP, but got renamed to BPMP lite in Tegra210). It's vaguely
>> possible that U-Boot SPL support will exist in the future, but I'm not sure.
>
> Ah OK. Where does that live? I think SPL would be better.
We haven't yet worked out the logistics of how to release it. I expect
it will be a little while yet.
As an aside, I don't think SPL is the right mechanism at least for new
Tegra chips, although using the U-Boot code base on the boot CPU might
be reasonable, and is something we might look at after we've got the
first round SW stack up. The boot CPU and main CPU complex have always
been different CPUs and even ARM architectures. While we were able to
hack around this with Tegra124 and earlier since they were both 32-bit
ARM, so the same compiler and variable sizes etc. could be used, this
likely isn't possible on Tegra210 and later, since the boot CPU is
32-bit ARM and the main CPU complex is 64-bit ARM. It'd be better to
build two completely separate builds of U-Boot for the two CPU types,
and then combine them together during the flash image generation process.
next prev parent reply other threads:[~2015-07-28 16:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-27 17:45 [U-Boot] [PATCH 1/3] ARM: tegra: Restrict usable RAM to 32-bit on 64-bit SoCs Stephen Warren
2015-07-27 17:45 ` [U-Boot] [PATCH 2/3] ARM: tegra: Use standard cache enable for 64-bit Stephen Warren
2015-07-28 15:33 ` Simon Glass
2015-07-28 15:42 ` Stephen Warren
2015-07-27 17:45 ` [U-Boot] [PATCH 3/3] ARM: tegra: Disable SPL and non-cached memory on 64-bit Stephen Warren
2015-07-28 15:33 ` Simon Glass
2015-07-28 15:44 ` Stephen Warren
2015-07-28 15:50 ` Simon Glass
2015-07-28 16:05 ` Stephen Warren [this message]
2015-07-28 16:12 ` Simon Glass
2015-07-28 15:33 ` [U-Boot] [PATCH 1/3] ARM: tegra: Restrict usable RAM to 32-bit on 64-bit SoCs Simon Glass
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=55B7A845.6090903@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--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