public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] armv8: Support loading 32-bit OS in AArch32 execution state
@ 2016-05-13  8:40 Alison Wang
  2016-05-13  8:40 ` [U-Boot] [PATCH 1/2] " Alison Wang
  2016-05-13  8:40 ` [U-Boot] [PATCH 2/2] armv8: fsl-layerscape: SMP support for loading 32-bit OS Alison Wang
  0 siblings, 2 replies; 11+ messages in thread
From: Alison Wang @ 2016-05-13  8:40 UTC (permalink / raw)
  To: u-boot

This series is to support loading a 32-bit OS, the execution state
will change from AArch64 to AArch32 when jumping to kernel. The
architecture information will be got through checking FIT image,
then U-Boot will load 32-bit OS or 64-bit OS automatically.

Spin-table method is used for secondary cores to load 32-bit OS. The
architecture information will be got through checking FIT image and
saved in the os_arch element of spin-table, then the secondary cores
will check os_arch and jump to 32-bit OS or 64-bit OS automatically.

This series is tested on LS1043ARDB board.
----------------------------------------------------------------
Alison Wang (2):
      armv8: Support loading 32-bit OS in AArch32 execution state
      armv8: fsl-layerscape: SMP support for loading 32-bit OS

 arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S  |  21 +++++++++++++++++++
 arch/arm/cpu/armv8/fsl-layerscape/mp.c        |  10 +++++++++
 arch/arm/cpu/armv8/transition.S               | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/arm/include/asm/arch-fsl-layerscape/mp.h |   6 ++++++
 arch/arm/include/asm/system.h                 |   2 ++
 arch/arm/lib/bootm.c                          |  25 +++++++++++++++++++++--
 common/image-fit.c                            |  12 ++++++++++-
 7 files changed, 173 insertions(+), 3 deletions(-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-05-17  9:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-13  8:40 [U-Boot] [PATCH 0/2] armv8: Support loading 32-bit OS in AArch32 execution state Alison Wang
2016-05-13  8:40 ` [U-Boot] [PATCH 1/2] " Alison Wang
2016-05-13 11:11   ` Alexander Graf
2016-05-16  5:28     ` Huan Wang
2016-05-16 10:30       ` Alexander Graf
2016-05-17  9:24         ` Huan Wang
2016-05-13 16:34   ` York Sun
2016-05-16  5:29     ` Huan Wang
2016-05-13  8:40 ` [U-Boot] [PATCH 2/2] armv8: fsl-layerscape: SMP support for loading 32-bit OS Alison Wang
2016-05-13 11:15   ` Alexander Graf
2016-05-13 16:31     ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox