Hi, sharma:
Thanks for your answer!
I described my understanding on current ARM UEFI code:
1. Most ARM UEFI code package is based on ARMv7 SOCs.
    Because of lacking ARMv8 development board, so enthusiast ported uefi code 
on 32bit SOC.
2. ARMv8 supports aarch32 state.
    So, if ARMv8 SOC powered to aarch32 state:
    Developer could use current 32bit uefi code as code base to boot to uefi 
shell environment.
3. at uefi shell environment, there are 2 methods to boot 64bit linux kernel.
    (1) switch to aarch64 state, then boot to linux kernel's entry point.
    (2) linux kernel's entry point included code to switch itself's execute 
state to aarch64.if this assumption exist, uefi bootloader just keep aarch32 
state.

Best wishes,
-----邮件原件-----
发件人: bhupesh.sha...@freescale.com [mailto:bhupesh.sha...@freescale.com] 
发送时间: 2014年1月13日 11:26
收件人: 'edk2-devel@lists.sourceforge.net'
抄送: 'oliviermar...@users.sourceforge.net'
主题: Re: [edk2] [edk2-ARM] ARMv8 bootloader question

Hi Tiger,

AFAIK, the AArch64 ISA is written from scratch for 64-bit support.
Although it is backward compatible with AArch32 and binaries compiled
for AArch32 (ARMv7 compatible) are supposed to run well on the ARMv8 
machine running in AArch32 mode.

However, as per my understanding (and Olivier can correct me if I am wrong 
here),
the UEFI code for ARMv8 executes in AArch64 mode - usually if the ARM core
boots up in AArch64 in EL3, bootloaders like UEFI/u-boot also execute in 
AArch64 EL3
or EL2. 

Regards,
Bhupesh


> -----Original Message-----
> From: tiger...@viatech.com.cn [mailto:tiger...@viatech.com.cn]
> Sent: Monday, January 13, 2014 6:32 AM
> To: edk2-devel@lists.sourceforge.net
> Cc: oliviermar...@users.sourceforge.net
> Subject: [edk2] [edk2-ARM] ARMv8 bootloader question
> 
> Hi, Oliver:
> I have a question abourt ARMv8 CPU's bootloader.
> ARMv8 supports: AARCH32 / AARCH64
> Take an example:
> An ARMv8 SOC, when power up / reset, its default state is : AARCH32 Then,
> could i still run an old arm uefi bootloader which written by
> ARMv7 instruction set?
> I will switch ARMv8 SOC to AARCH64 before jumping into linux kernel.
> Is it possible?
> 
> Best wishes,
> 
> -------------------------------------------------------------------------
> -----
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical
> Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clk
> trk
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
> 


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to