No response: qemu-system-riscv64 -M microchip-icicle-kit ... #172
Replies: 3 comments 13 replies
-
The As well with Renode, the platform needs to be described separately and not inferred from a job file. Renode has bundled description of the Icicle board, could you try to run it on Renode? On a side note, just in case you have SoftConsole installed, a newer version of SoftConsole will be released this month which will bundle a newer version of Renode. |
Beta Was this translation helpful? Give feedback.
-
FYI, this sequence seems to be an easy way to start running the Renode Icicle emulator with very little effort (just install docker?): docker pull antmicro/renode Redirecting the input to sysbus.mmuart1, press to quit... 23:48:32.6576 [INFO] mmuart1: [+29.93s host +2.11s virt 9.6s virt from start] buildroot login: Then the shell prompt for the icicle linux shell is available in a terminal. |
Beta Was this translation helpful? Give feedback.
-
Per my solution which may be out-of-date: docker pull antmicro/renode Please configure and push your docker container with your renode up-to-date. Doing so would be so much easier than trying to troubleshoot and solve system configuration issues. |
Beta Was this translation helpful? Give feedback.
-
Ubuntu 22.04 x64
sudo apt-get install qemu-system-misc minicom wget 7zip
Download the icicle image and hss.job file that apparently are installed by default on the icicle board and available for download somewhere in these discussions from a sharepoint site.
Extract files:
7zz x Icicle_kit_MTD_OOB_v1.1.6.7z
cd Icicle_kit_MTD_OOB_v1.1.6/
Resize the image:
qemu-img resize core-image-minimal-dev-icicle-kit-es-20201009114001.rootfs.wic 2G
Then run qemu:
sudo qemu-system-riscv64 -M microchip-icicle-kit -smp 5 -bios ICICLE_KIT_MTD_116_HSS.job -sd core-image-minimal-dev-icicle-kit-es-20201009114001.rootfs.wic -nic user,model=cadence_gem -nic tap,ifname=tap,model=cadence_gem,script=no -display none -serial stdio -chardev socket,id=serial1,path=serial1.sock,server=on,wait=on -serial chardev:serial1
and in a separate shell:
sudo minicom -D unix#serial1.sock
The result is always no output. I've tried custom image builds from source, hss builds from source, everything results in no output, blank shells. By example, yocto build from source:
eric@sarek:~/src/yocto-dev/build/tmp-glibc/deploy/images/icicle-kit-es$ ll
total 11041640
drwxr-xr-x 3 eric eric 4096 Aug 9 02:08 ./
drwxr-xr-x 3 eric eric 4096 Aug 8 23:51 ../
-rwxr-xr-x 2 eric eric 1326 Aug 8 23:52 boot.scr.uimg*
lrwxrwxrwx 2 eric eric 66 Aug 8 23:52 fitImage -> fitImage--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.bin
-rw-r--r-- 2 eric eric 4346428 Aug 8 23:52 fitImage--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.bin
lrwxrwxrwx 2 eric eric 66 Aug 8 23:52 fitImage-icicle-kit-es.bin -> fitImage--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.bin
-rw-r--r-- 2 eric eric 1746 Aug 8 23:52 fitImage-its--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.its
lrwxrwxrwx 2 eric eric 70 Aug 8 23:52 fitImage-its-icicle-kit-es -> fitImage-its--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.its
-rw-r--r-- 2 eric eric 4328359 Aug 8 23:52 fitImage-linux.bin--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.bin
lrwxrwxrwx 2 eric eric 76 Aug 8 23:52 fitImage-linux.bin-icicle-kit-es -> fitImage-linux.bin--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.bin
-rwxrwxr-x 1 eric eric 108496 Aug 9 01:39 hss-envm-wrapper.bin*
-rwxrwxr-x 1 eric eric 188088 Aug 9 01:39 hss-l2scratch.bin*
-rw-r--r-- 2 eric eric 1469389 Aug 8 23:52 modules--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.tgz
lrwxrwxrwx 2 eric eric 65 Aug 8 23:52 modules-icicle-kit-es.tgz -> modules--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.tgz
-rw-r--r-- 2 eric eric 4683 Aug 8 23:59 mpfs-dev-cli.env
-rw-r--r-- 2 eric eric 6225176576 Aug 9 00:02 mpfs-dev-cli-icicle-kit-es-20220809044616.rootfs.ext4
-rw-r--r-- 2 eric eric 97741 Aug 8 23:59 mpfs-dev-cli-icicle-kit-es-20220809044616.rootfs.manifest
-rw-r--r-- 2 eric eric 8589934592 Aug 9 01:52 mpfs-dev-cli-icicle-kit-es-20220809044616.rootfs.wic
-rw-r--r-- 2 eric eric 4294 Aug 9 00:06 mpfs-dev-cli-icicle-kit-es-20220809044616.rootfs.wic.bmap
-rw-r--r-- 2 eric eric 1569692622 Aug 9 00:06 mpfs-dev-cli-icicle-kit-es-20220809044616.rootfs.wic.gz
-rw-r--r-- 2 eric eric 231124 Aug 8 23:59 mpfs-dev-cli-icicle-kit-es-20220809044616.testdata.json
lrwxrwxrwx 2 eric eric 53 Aug 9 00:02 mpfs-dev-cli-icicle-kit-es.ext4 -> mpfs-dev-cli-icicle-kit-es-20220809044616.rootfs.ext4
lrwxrwxrwx 2 eric eric 57 Aug 8 23:59 mpfs-dev-cli-icicle-kit-es.manifest -> mpfs-dev-cli-icicle-kit-es-20220809044616.rootfs.manifest
lrwxrwxrwx 2 eric eric 55 Aug 8 23:59 mpfs-dev-cli-icicle-kit-es.testdata.json -> mpfs-dev-cli-icicle-kit-es-20220809044616.testdata.json
lrwxrwxrwx 2 eric eric 52 Aug 9 00:06 mpfs-dev-cli-icicle-kit-es.wic -> mpfs-dev-cli-icicle-kit-es-20220809044616.rootfs.wic
lrwxrwxrwx 2 eric eric 57 Aug 9 00:06 mpfs-dev-cli-icicle-kit-es.wic.bmap -> mpfs-dev-cli-icicle-kit-es-20220809044616.rootfs.wic.bmap
lrwxrwxrwx 2 eric eric 55 Aug 9 00:06 mpfs-dev-cli-icicle-kit-es.wic.gz -> mpfs-dev-cli-icicle-kit-es-20220809044616.rootfs.wic.gz
-rw-r--r-- 2 eric eric 16068 Aug 8 23:52 mpfs-icicle-kit--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.dtb
lrwxrwxrwx 2 eric eric 73 Aug 8 23:52 mpfs-icicle-kit.dtb -> mpfs-icicle-kit--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.dtb
lrwxrwxrwx 2 eric eric 73 Aug 8 23:52 mpfs-icicle-kit-icicle-kit-es.dtb -> mpfs-icicle-kit--5.15+git0+29c2077400-r0-icicle-kit-es-20220809044616.dtb
drwxr-xr-x 2 eric eric 4096 Aug 8 23:51 overlays/
-rw-r--r-- 2 eric eric 566256 Aug 8 23:52 payload.bin
-rw-r--r-- 2 eric eric 1254 Aug 8 23:52 tftp-mmc-icicle-kit-es-2022.01-r0.txt
lrwxrwxrwx 2 eric eric 37 Aug 8 23:52 tftp-mmc-icicle-kit-es.txt -> tftp-mmc-icicle-kit-es-2022.01-r0.txt
lrwxrwxrwx 2 eric eric 37 Aug 8 23:52 tftp-mmc.txt -> tftp-mmc-icicle-kit-es-2022.01-r0.txt
lrwxrwxrwx 2 eric eric 35 Aug 8 23:51 u-boot.bin -> u-boot-icicle-kit-es-2022.01-r0.bin
-rw-r--r-- 2 eric eric 564513 Aug 8 23:51 u-boot-icicle-kit-es-2022.01-r0.bin
lrwxrwxrwx 2 eric eric 35 Aug 8 23:51 u-boot-icicle-kit-es.bin -> u-boot-icicle-kit-es-2022.01-r0.bin
lrwxrwxrwx 2 eric eric 43 Aug 8 23:52 u-boot-initial-env -> u-boot-initial-env-icicle-kit-es-2022.01-r0
lrwxrwxrwx 2 eric eric 43 Aug 8 23:52 u-boot-initial-env-icicle-kit-es -> u-boot-initial-env-icicle-kit-es-2022.01-r0
-rw-r--r-- 2 eric eric 830 Aug 8 23:52 u-boot-initial-env-icicle-kit-es-2022.01-r0
... and qemu:
sudo qemu-system-riscv64 -M microchip-icicle-kit -smp 5 -bios payload.bin -sd mpfs-dev-cli-icicle-kit-es.wic -nic user,model=cadence_gem -nic tap,ifname=tap,model=cadence_gem,script=no -display none -serial stdio -chardev socket,id=serial1,path=serial1.sock,server=on,wait=on -serial chardev:serial1
... trying all three .bin files, and minicom, and all result in blank, nothing, hung with no output.
Any ideas how to get the emulator to work?
Beta Was this translation helpful? Give feedback.
All reactions