When the above command is executed with -icount 1 the QNX kernel hangs while booting. If -icount 1 is not used the kernel does not wait for connection with Co-simulation application (SystemC application) and directly boots without waiting for connection.
Hello,
Please find attached the build file used for generating the QNX kernel. minimal-build.txt
Problem Statement: Not able to connect Co-simulation sample application with QNX OS on QEMU.
From the github repo: https://github.com/xilinx/systemctlm-cosim-demo. we have compiled and used the sample SystemC application.
Command used for executing Systemc co-simulation application - LD_LIBRARY_PATH=/path/to/systemc-2.3.1/lib-linux64/ ./demo-app unix:/tmp 10000
Following command is used to boot QNX on qemu -
./qemu-system-aarch64 -M xlnx-zcu102 -m 8G -serial mon:stdio -display none \ -device loader,file=QNX-IFS.bin,cpu-num=0 \ -machine-path /tmp -icount 1 -sync-quantum 10000
When the above command is executed with -icount 1 the QNX kernel hangs while booting. If -icount 1 is not used the kernel does not wait for connection with Co-simulation application (SystemC application) and directly boots without waiting for connection.
Can you please help us in this issue ?
Regards Asif