Re: FVP: kernel BUG at arch/arm64/kernel/traps.c:497 - Internal error: Oops - BUG: 0

From: Mark Brown
Date: Fri Jul 15 2022 - 08:28:58 EST

On Thu, Jul 14, 2022 at 07:35:50PM +0530, Naresh Kamboju wrote:
> On Thu, 14 Jul 2022 at 19:09, Mark Rutland <mark.rutland@xxxxxxx> wrote:

> > When *only* using the initial loading into memory, that blows up in stackdepot
> > and with a subsequent bogus pointer dereference (full log below), and when
> > loaded via semihosting that just works. Note that my kernel is based on the
> > arm64 for-next/core branch, which itself is based on v5.19-rc3.

> > Naresh, please can you fix your boot flow before reporting any further issues?
> Yes.

If you don't *need* to use u-boot for any reason then it might be worth
looking into using EDK2 instead, it will dynamically place loaded images
so you don't need to worry about size issues unless you actually run out
of memory which is a whole other problem.

Attachment: signature.asc
Description: PGP signature