[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting raspi3 machine at EL2 or EL3

From: Rodolphe Lepigre
Subject: Re: Starting raspi3 machine at EL2 or EL3
Date: Fri, 12 Nov 2021 11:48:34 +0100

On 12/11/21 10:27, Alex Bennée wrote:
> Rodolphe Lepigre <lepigre@mpi-sws.org> writes:
> > I have been spending a bit of time experimenting with the emulation
> > of a Raspberry Pi 3 computer using QEMU (version  6.1.0) by running
> > the following command.
> >
> > $> qemu-system-aarch64 -M raspi3 -nographics -kernel kernel8.img
> >
> > After booting the machine, the cores are running at exception level
> > 1 (i.e., EL1), and I was not able to find a way to make it start at
> > EL2 (or EL3) instead. Is that at all possible? And if yes, how?
> If you use -bios it should load at a higher exception level. Currently
> only the virt board supports the "virtualization" and "secure" machine
> properties that allow a kernel to be directly booted at the elevated
> exception levels.

Thanks, I'll try this to see if I can get the machine to boot at EL3.

For the record, note that I realised that I was wrong after I posted my
first message: the machine does boot at EL2 by default. I just messed
up a field offset when I initially read the exception level.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]