We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everyone,
I am starting my project in Morello Board. I am using FVP and have followed all the steps to get morello-sdk in this guide: https://git.morello-project.org/morello/morello-sdk#build-a-hello-world-application-using-morello-sdk-development-kit. the problem I have is when I run the program using Qemu, I get this error: qemu: uncaught target signal 4 (Illegal instruction) - core dumpedIllegal instruction (core dumped)Can you please help to find a way to solve this issue?
Thanks in advance.
Toshihisa is right about all the technical details regarding 9P. For the morello-linux environment though, you shouldn't need to worry about those - the kernel is built with 9P support and FVP automatically gets passed the right argument if the shared folder exists on the host:
https://git.morello-project.org/morello/morello-linux/-/blob/morello/next/usr/bin/morello
I suspect you are missing that folder. Make sure to create it and add the appropriate line under volumes: in docker-compose.yml, as shown in:
volumes:
https://linux.morello-project.org/docs/morello-linux-and-sdk/#usage
Thank you very much for your help. The problem solved.