qemu-discuss
[Top][All Lists]
Advanced

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

Re: qemu: fatal: lockup...


From: abhijeet inamdar
Subject: Re: qemu: fatal: lockup...
Date: Mon, 6 Dec 2021 14:29:52 +0100

How to find out where actually the hardware is expecting the initial VTOR? 

Mine is a Cortex-M3 machine. But not entirely it's a combination of two cores A7 and M3. 

Any tips!

BR.
Abhijeet.

On Mon, 6 Dec, 2021, 12:06 Peter Maydell, <peter.maydell@linaro.org> wrote:
On Sun, 5 Dec 2021 at 17:16, abhijeet inamdar
<abhijeetinamdar3005@gmail.com> wrote:
>
> So the solution would be placing the vector correctly and mapping to the right address for Flash/RAM...?

Yes, you need to make sure your model:
 * puts RAM and flash where the hardware does
 * configures the CPU object to set the initial VTOR to
   the same place the hardware does
and you need to make sure your guest code is written and
linked to execute from the correct addresses.

-- PMM

reply via email to

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