u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: drambo <drambo@broadcom.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] how to get u-boot code with arm64: core support
Date: Sat, 25 Jan 2014 17:42:27 -0800 (PST)	[thread overview]
Message-ID: <52E467F3.4050809@broadcom.com> (raw)
In-Reply-To: <f12d0a5ee10649d0a433197320e19a98@BN1PR03MB220.namprd03.prod.outlook.com>



On 14-01-25 11:46 AM, bhupesh.sharma at freescale.com [via U-Boot] wrote:
>
>
<snip>

>>
>> However, if we set up u-boot so that it can wake up at any security
>> level and migrate to non-secure EL1, that might be a nice compromise.
>> But having specific EL3 startup assumptions and code that is always
>> present in u-boot seems like the wrong approach to me. At the very
>> least, we should wrap the EL3 code in a CONFIG option since this is not
>> the planned entry state for final deployment.
>
> ... You seem to miss a critical detail here, security extensions were also part
> of the ARMv7 architecture (although optional) and were controlled by the
> ID_PFR1, Processor Feature Register 1, Security Extensions, bits[7:4]:
>
> Permitted values are:
> 0b0000 Not implemented.
> 0b0001 Security Extensions implemented.
>
> So, there was a likelihood that some ARMv7 SoCs still didn't have security extensions
> enabled - I have used one and hence can vouch that a u-boot running as bare-metal s/w
> helped me in early SoC bringup.
>
> In ARMv8, we still have the AArch32 state which still has a ID_PFR1_EL1 register, with
> the same definition for security extension bits.
>
> I agree that for AArch64 state, it makes sense that the s/w to be launched at reset
> (usually a BootROM or ATF) executes in a Secure aware (i.e. is EL3 aware) and then provides
> control to a bootloader running in EL2 world (the case presently with UEFI).
>
> But that binds the bootloader, in this case u-boot, with an ATF being available before
> the first early bootloader s/w can be used to play-around with the Pre-SoC emulators or even the
> SoC.
>
> A midway solution can be still have u-boot AArch64 EL3 compliant, but under a #ifdef which gets turned-off
> when u-boot is launched with ATF and turned-on when u-boot is launched as the 1st s/w component
> on the SoC (and in this case u-boot starts up in secure EL2 and assumes that all boot-time or run-time security settings
> are taken care of by the ATF and in case any board/platform specific security settings need to be applied the u-boot code
> can do the same as it is running in secure EL2). I think that should make both the world's happy.
That's exactly what I suggested earlier when I mentioned a CONFIG option 
for EL3-specific code. Thanks for the detailed and clear response.

>
> I add David Feng in cc here for his views on the same and request others as well to pitch in with their thoughts.
>
<snip>


> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://u-boot.10912.n7.nabble.com/PATCH-v15-00-10-arm64-patch-tp167751p172379.html
>
> To unsubscribe from [PATCH v15 00/10] arm64 patch, visit http://u-boot.10912.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=167751&code=ZHJhbWJvQGJyb2FkY29tLmNvbXwxNjc3NTF8LTQ0Nzc3MTIxNQ==
>




--
View this message in context: http://u-boot.10912.n7.nabble.com/PATCH-v15-00-10-arm64-patch-tp167751p172383.html
Sent from the U-Boot mailing list archive at Nabble.com.

  reply	other threads:[~2014-01-26  1:42 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-15  3:45 [U-Boot] [PATCH v15 00/10] arm64 patch fenghua at phytium.com.cn
2013-11-15  3:45 ` [U-Boot] [PATCH v15 01/10] fdt_support: 64bit initrd start address support fenghua at phytium.com.cn
2013-11-15  3:45   ` [U-Boot] [PATCH v15 02/10] cmd_pxe: remove compiling warnings fenghua at phytium.com.cn
2013-11-15  3:45     ` [U-Boot] [PATCH v15 03/10] add weak entry definition fenghua at phytium.com.cn
2013-11-15  3:45       ` [U-Boot] [PATCH v15 04/10] arm64: Add tool to statically apply RELA relocations fenghua at phytium.com.cn
2013-11-15  3:45         ` [U-Boot] [PATCH v15 05/10] arm64: Turn u-boot.bin back into an ELF file after relocate-rela fenghua at phytium.com.cn
2013-11-15  3:45           ` [U-Boot] [PATCH v15 06/10] arm64: Make checkarmreloc accept arm64 relocations fenghua at phytium.com.cn
2013-11-15  3:45             ` [U-Boot] [PATCH v15 07/10] arm64: core support fenghua at phytium.com.cn
2013-11-15  3:45               ` [U-Boot] [PATCH v15 08/10] arm64: generic board support fenghua at phytium.com.cn
2013-11-15  3:45                 ` [U-Boot] [PATCH v15 09/10] arm64: board support of vexpress_aemv8a fenghua at phytium.com.cn
2013-11-15  3:45                   ` [U-Boot] [PATCH v15 10/10] arm64: MAKEALL, filter armv8 boards from LIST_arm fenghua at phytium.com.cn
2013-11-27 20:38               ` [U-Boot] [PATCH v15 07/10] arm64: core support Bhupesh SHARMA
2013-11-29 13:35                 ` FengHua
2013-11-30 18:44                   ` Bhupesh Sharma
     [not found]                     ` <bcf7ed.a55.142ae85d276.Coremail.fenghua@phytium.com.cn>
2013-12-03 10:02                       ` Bhupesh Sharma
2014-01-13 11:24                         ` bhupesh.sharma at freescale.com
2014-01-14  1:52                           ` FengHua
2014-01-23  0:28                             ` Scott Wood
2014-01-23  1:06                               ` drambo
2014-01-24  1:20                               ` FengHua
2014-01-09  9:49               ` [U-Boot] how to get u-boot code with " TigerLiu at viatech.com.cn
2014-01-11  6:44                 ` FengHua
2014-01-11  6:50                   ` Jagan Teki
2014-01-13  0:54                     ` TigerLiu at viatech.com.cn
2014-01-14  9:12                   ` TigerLiu at viatech.com.cn
2014-01-15  6:37                     ` Wolfgang Denk
2014-01-15 11:27                       ` Abraham Varricatt
2014-01-15 12:25                         ` Wolfgang Denk
2014-01-20 10:54                 ` TigerLiu at viatech.com.cn
2014-01-20 11:57                   ` bhupesh.sharma at freescale.com
2014-01-21  0:49                     ` TigerLiu at viatech.com.cn
2014-01-22 19:02                     ` drambo
2014-01-23  7:15                       ` bhupesh.sharma at freescale.com
2014-01-23  7:54                         ` TigerLiu at viatech.com.cn
2014-02-11 13:33                           ` bhupesh.sharma at freescale.com
2014-02-12  2:08                             ` TigerLiu at viatech.com.cn
2014-02-12  7:15                               ` bhupesh.sharma at freescale.com
2014-02-12  7:26                                 ` TigerLiu at viatech.com.cn
2014-02-12  7:52                               ` Inderpal Singh
2014-02-12  8:02                                 ` TigerLiu at viatech.com.cn
2014-02-12  8:06                                   ` Inderpal Singh
2014-02-12  8:14                                     ` TigerLiu at viatech.com.cn
2014-02-12  8:25                                       ` bhupesh.sharma at freescale.com
2014-02-12  9:37                                         ` Inderpal Singh
2014-01-23 15:58                         ` Detlev Zundel
2014-01-23 17:04                           ` Darwin Rambo
2014-01-25 19:46                             ` bhupesh.sharma at freescale.com
2014-01-26  1:42                               ` drambo [this message]
2013-12-11 21:14 ` [U-Boot] [PATCH v15 00/10] arm64 patch Albert ARIBAUD
  -- strict thread matches above, loose matches on Subject: below --
2014-01-14 10:43 [U-Boot] how to get u-boot code with arm64: core support TigerLiu at viatech.com.cn
2014-01-14 10:47 ` bhupesh.sharma at freescale.com
2014-01-14 11:02   ` TigerLiu at viatech.com.cn
2014-01-14 11:10   ` TigerLiu at viatech.com.cn
2014-01-14 11:13     ` bhupesh.sharma at freescale.com
2014-01-14 11:21       ` TigerLiu at viatech.com.cn
2014-01-14 11:23         ` bhupesh.sharma at freescale.com
2014-01-14 11:37           ` TigerLiu at viatech.com.cn
2014-01-14 20:09           ` Scott Wood
2014-01-15  0:45             ` TigerLiu at viatech.com.cn
2014-01-15  5:02               ` FengHua

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=52E467F3.4050809@broadcom.com \
    --to=drambo@broadcom.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;
as well as URLs for NNTP newsgroup(s).