qemu-discuss
[Top][All Lists]
Advanced

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

Question on using machine mcimx6ul-evk


From: mqt personal
Subject: Question on using machine mcimx6ul-evk
Date: Wed, 8 Apr 2020 16:30:29 +1000

Hi,

I am trying to run the Linux kernel on mcimx6ul-evk (cortex-a7), but I
am not seeing anything on the serial. It seems there was a failure in
running the kernel.

What I did:

1. Install qemu 4.2.0 for Windows.  Also build qemu 4.2.0 using WSL2.
2. Build the kernel from the following repos:

https://source.codeaurora.org/external/imx/linux-imx (branch:
imx_4.9.88_2.0.0_ga, config: imx_v7_defconfig)

git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
(branch: 4.18, config: imx_v6_v7_defconfig)

3. Run qemu using the following command:

qemu-system-arm -machine mcimx6ul-evk -cpu cortex-a7 -m 512 -kernel
arch/arm/boot/zImage -serial stdio -d int

The following is displayed with the "-d int" option:
Exception return from AArch32 hyp to svc PC 0x80010088
Taking exception 11 [Hypervisor Call]
...from EL1 to EL2
...with ESR 0x12/0x4a000000
Exception return from AArch32 hyp to svc PC 0x800114a0
Taking exception 11 [Hypervisor Call]
...from EL1 to EL2
...with ESR 0x12/0x4a000000
Exception return from AArch32 hyp to svc PC 0x800114a0
Taking exception 11 [Hypervisor Call]
...from EL1 to EL2
...with ESR 0x12/0x4a000000
Exception return from AArch32 hyp to svc PC 0x80f93ce0
Taking exception 11 [Hypervisor Call]
...from EL1 to EL2
...with ESR 0x12/0x4a000000
Exception return from AArch32 hyp to svc PC 0x80008034
AArch32 mode switch from svc to irq PC 0x80109ccc
AArch32 mode switch from irq to abt PC 0x80109cd0
AArch32 mode switch from abt to und PC 0x80109cdc
AArch32 mode switch from und to fiq PC 0x80109ce8
AArch32 mode switch from fiq to svc PC 0x80109cf4


In all cases (qemu windows/wsl2, different repositories), the above
issue happens.

Can someone please provide an insight on what is going wrong?  I was
expecting it would have displayed something in the serial when the
kernel is loaded, then it would display an error that it cannot find a
root filesystem.

Thanks.

mqt



reply via email to

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