UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor safweneful
Visitor
445 Views
Registered: ‎03-31-2018

QEMU segfault when creating the node axi dma

I am having an issue emulating my board, which is base on the zynq-700 board series. When I run qemu, it segfaults and dumps a core file, here is the backtrace.

I am using the 2017.3 tag for both the kernel and qemu. and here is my device tree.

The command I use to launch qemu:
/root/qemu/aarch64-softmmu/qemu-system-aarch64 -M arm-generic-fdt-7series -machine linux=on -serial /dev/null -serial mon:stdio -nographic -dtb dtree.dtb -kernel /root/linux-xlnx/arch/arm/boot/zImage -drive if=sd,format=raw,index=0,file=/root/rootfs/sd.img -append "root=/dev/mmcblk0 rw rootwait rootfstype=ext2"

Safwene Software engineer
0 Kudos
1 Reply
Moderator
Moderator
407 Views
Registered: ‎12-04-2016

Re: QEMU segfault when creating the node axi dma

Hi

 

Try adding this to the DMA node of your device tree:

sg = <&memory>;
mm2s = <&memory>;
s2mm = <&memory>;

 

 

Best Regards

Shabbir

0 Kudos