systemctlm-cosim-demo icon indicating copy to clipboard operation
systemctlm-cosim-demo copied to clipboard

qemu connet problem

Open heixi opened this issue 3 years ago • 1 comments

when i run a demo in systemctlm-cosim-demo and qemu, the problem is raise:

SystemC 2.3.2-Accellera --- Aug 4 2021 09:24:49 Copyright (c) 1996-2017 by all Contributors, ALL RIGHTS RESERVED

Info: (I702) default timescale unit used for tracing: 1 ps (trace.vcd) open socket connect to /tmp/cosim/qemu-rport-_amba@0_cosim@0 Failed to connect to /tmp/cosim/qemu-rport-_amba@0_cosim@0, attempt to list

and my run demo command is ./zynq_demo unix:/tmp/cosim/qemu-rport-_amba@0_cosim@0 1000000

and run qemu command is qemu-system-aarch64
-m 2G -smp 4 -accel tcg,tb-size=1280,thread=multi -M virt -cpu max
-bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd
-drive if=none,file=debian-10-openstack-arm64.qcow2,id=hd0 -device virtio-blk-device,drive=hd0
-device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp:127.0.0.1:5556-:22
-nographic
-dtb virt.dtb
-hw-dtb ./zcu102-arm.cosim.dtb
-device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4
-machine-path /tmp/cosim
-sync-quantum 1000000
-netdev user,id=net4
-device ioh3420,id=rootport,slot=0
-serial mon:stdio

how to solve the problem? thx

heixi avatar Aug 06 '21 02:08 heixi