All of lore.kernel.org
 help / color / mirror / Atom feed
* OpenBSI and U-Boot
@ 2020-08-08 14:59 Heinrich Schuchardt
  2020-08-08 15:32 ` Sean Anderson
  2020-08-09 19:54 ` Atish Patra
  0 siblings, 2 replies; 17+ messages in thread
From: Heinrich Schuchardt @ 2020-08-08 14:59 UTC (permalink / raw)
  To: u-boot

Hello Anup,

I have looking at you OpenSBI code firmware/payloads/test_head.S. Here
like in U-Boot's common/spl/spl_opensbi.c you put all but one hart in to
an enless loop (hang).

When Linux boots via UEFI it will wake up the extra harts after
ExitBootServices(). So I assume we should define function hang() in
lib/hang.c as __efi_runtime to avoid seeing it overwritten by the EFI
payload.

@Ard:
Does Linux take care of the hanging harts and redirect them to its own
routine before SetVirtualAddressMap()? Otherwise anything could happen.

On the Kendryte K210 we don't have SPL. So we will not boot in the
sequence SPL->OpenSBI->U-Boot but OpenSBI->U-Boot. Does this imply that
we have to implement the hart lottery at the entry point of main U-Boot
in this case?

Best regards

Heinrich

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

end of thread, other threads:[~2020-08-12  1:37 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-08 14:59 OpenBSI and U-Boot Heinrich Schuchardt
2020-08-08 15:32 ` Sean Anderson
2020-08-08 16:17   ` Heinrich Schuchardt
2020-08-08 17:22     ` Sean Anderson
2020-08-08 18:56       ` Heinrich Schuchardt
2020-08-09  1:48         ` Sean Anderson
2020-08-09  4:23           ` Heinrich Schuchardt
2020-08-09 10:02             ` Sean Anderson
2020-08-09 11:49           ` Heinrich Schuchardt
2020-08-09 20:08     ` Atish Patra
2020-08-09 20:28       ` Heinrich Schuchardt
2020-08-10  0:33         ` Atish Patra
2020-08-11  1:55         ` Rick Chen
2020-08-11  5:29           ` Heinrich Schuchardt
2020-08-11  7:06             ` Atish Patra
2020-08-12  1:37               ` Rick Chen
2020-08-09 19:54 ` Atish Patra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.