Hi All,
I am Menna, a Linux kernel intern- Outreahy internship. I worked on a
project related to the Morello kernel. I checked the user guides and
followed this: https://git.morello-project.org/morello/morello-linux, but I
have a problem I couldn't create my own FVP kernel image and run it, I want
to develop the kernel and update the FVP image and run it but I don't know
how to do that.
Could you please help me?
Thanks in advance,
Menna
Hello,
This patch aims to enable the FVP shared folder for Morello Linux docker
image. This would allow files to be shared between the host and the FVP
session.
Thanks,
Harry.
---
README.md | 8 ++++++++
usr/bin/morello | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index fdc31f9..d7e183f 100644
--- a/README.md
+++ b/README.md
@@ -41,9 +41,11 @@ Create the following workspace structure:
```
workspace/
|-> morello/
+ |-> shared_folder/
|-> docker-compose.yml
```
+
Create a `docker-compose.yml` file and map the morello directory into /morello as follows:
```
@@ -112,6 +114,12 @@ Username: root
Password: morello
```
+## Shared Folder
+To mount the shared folder to share files between host and FVP:
+```
+$ mount -t 9p -o trans=virtio,version=9p2000.L FM shared_folder
+```
+
## Shutdown the FVP Model
To shutdown the FVP correctly type on a root shell:
diff --git a/usr/bin/morello b/usr/bin/morello
index f7a515a..25f507b 100755
--- a/usr/bin/morello
+++ b/usr/bin/morello
@@ -16,4 +16,4 @@ export OUTPUT_DIR=/morello/logs
mkdir -p $OUTPUT_DIR
-morello-run.sh -f distro -i /usr/share/morello/images/morello-fvp/morello-fvp.img
+morello-run.sh -f distro -i /usr/share/morello/images/morello-fvp/morello-fvp.img -v /morello/shared_folder
--
2.34.1