[Sound-open-firmware] Double exception when booting qemu with imx8

Liam Girdwood liam.r.girdwood at linux.intel.com
Tue Feb 4 13:47:04 CET 2020


On Tue, 2020-02-04 at 11:51 +0200, Daniel Baluta wrote:
> Hi Liam,
> 
> We are working on integrating support for hifi4 DSP/imx8 with Qemu.
> I wonder if you had this problem when you did the work for Intel
> integration.
> 
> It looks like we get an exception when qemu is trying to execute
> first
> line of code:
> 
> 596f8000 <_ResetVector>:
> 
> EXCCAUSE=0000000e (PIF address error during instruction fetch)
> 
> We think that we are correctly setting memory zones:
> 
> bridge-io: qemu-bridge-iram-mem fd 10 region 1 at 0x7fcbce733000
> allocated 2048 bytes
> bridge-io: qemu-bridge-dram-mem fd 11 region 2 at 0x7fcbce72b000
> allocated 32768 bytes
> bridge-io: qemu-bridge-sdram0-mem fd 12 region 3 at 0x7fcbbc6fc000
> allocated 8388608 bytes
> 
> Reading the memory from Qemu monitor or gdb connected to Qemu looks
> good.

Can you turn on trace from the script, this should show you all
instructions, TLB loads, etc

Also please dump the boot text memory region to make sure instructions
are actually there in the correct place.

Liam
> 
> thanks,
> Daniel.
> _______________________________________________
> Sound-open-firmware mailing list
> Sound-open-firmware at alsa-project.org
> https://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware



More information about the Sound-open-firmware mailing list