[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation.
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation. |
Date: |
Tue, 16 Feb 2016 21:06:55 +0000 |
On 16 February 2016 at 20:49, Jean-Christophe DUBOIS
<address@hidden> wrote:
> Le 16/02/2016 16:31, Peter Maydell a écrit :
>> On 8 February 2016 at 22:08, Jean-Christophe Dubois <address@hidden>
>> wrote:
>>> + object_property_set_bool(OBJECT(&s->cpu[i]), false,
>>> + "has_el3", &error_abort);
>>
>> Do the CPUs in this board really not have EL3 ?
>
>
> Well the Cortex A9 is certainly able to get to the secure mode. However, if
> I enable it (has_el3 set to true), the OS (Linux or Xvisor) will not boot.
> Disabling it allow both OS to boot on the emulated i.MX6.
>
> Would you have some idea on the reason for this "hang" during the boot when
> EL3 is enabled?
How are you booting the OS/hypervisor? Via -kernel or via -bios ?
Usually if it doesn't boot this is because there's some bit of
boot rom/loader code that runs on the real h/w and isn't being
run in your QEMU setup, that does the initial setup of the h/w
in secure mode. (In particular, if the secure side doesn't set
the GIC interrupts to be NS accessible then things don't work
very well.)
I wouldn't have expected that to be an issue for booting linux
via -kernel though because there we should be booting the kernel
NS and have a hack to configure the GIC appropriately.
Peter C may remember the details of how this should work
better than me.
thanks
-- PMM
- Re: [Qemu-devel] [PATCH v2 6/9] i.MX: Add i.MX6 System Reset Controller device., (continued)
- [Qemu-devel] [PATCH v2 5/9] i.MX: Add i.MX6 CCM and ANALOG device., Jean-Christophe Dubois, 2016/02/08
- [Qemu-devel] [PATCH v2 8/9] i.MX: Add sabrelite i.MX6 emulation., Jean-Christophe Dubois, 2016/02/08
- [Qemu-devel] [PATCH v2 9/9] i.MX: Add missing descriptions in devices., Jean-Christophe Dubois, 2016/02/08
- [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Jean-Christophe Dubois, 2016/02/08
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Peter Maydell, 2016/02/16
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Jean-Christophe DUBOIS, 2016/02/16
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation.,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Jean-Christophe DUBOIS, 2016/02/16
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Peter Maydell, 2016/02/16
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Jean-Christophe DUBOIS, 2016/02/18
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Peter Maydell, 2016/02/18
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Jean-Christophe DUBOIS, 2016/02/19
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Peter Maydell, 2016/02/19
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Jean-Christophe DUBOIS, 2016/02/19
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Jean-Christophe DUBOIS, 2016/02/20
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Peter Crosthwaite, 2016/02/20
- Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation., Jean-Christophe DUBOIS, 2016/02/20