Xilinx / systemctlm-cosim-demo

QEMU libsystemctlm-soc co-simulation demos.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/862421112/Co-simulation
Other
131 stars 47 forks source link

zynqmp_demo failed #26

Open mksaksms opened 2 years ago

mksaksms commented 2 years ago

dear @edgarigl

I tried to run your zynqmp_demo with this script

LD_LIBRARY_PATH=${HOME}/cosim/systemc-2.3.2/lib-linux64/ ~/cosim/systemctlm-cosim-demo/zynqmp_demo unix:${HOME}/Peta19/zynqmp/tmp/cosim/qemu-rport-_pmu@0 1000000

The reason I put the name qemu-rport-_pmu@0 here is that when petalinux qemu start the os it shows that qemu-rport-_pmu@0 is disconnected. So I thought it should be better to put this port name.
I also put the name qemu-rport-_amba@0_cosim@0 but it doesnot also works.

petalinux-boot --qemu --kernel --qemu-args "-machine-path /tmp/cosim -icount 1 -sync-quantum 1000000"

But the zynqmp demo couldnot connect the remote port.

Steps I followed :

  1. Created a custom soc with vivado
  2. create a petalinux project with custom .hdf file.
  3. added the zynqmp-pl-remoteport.dtsi in the device tree.
  4. build it.

Could you suggest pls anything ?