Here is the README for the Docker Container discussed in today's call: # Running the container:
docker run -it xilinx-qemu
This boots a Linux image (with ramdisk) and a device tree. The image contains the OpenAMP demo firmware images and examples.
Alternatively,
docker run -it -v <path_to_tftpboot_directory>:/tftpboot xilinx-qemu
adds <path_to_tftpboot_directory> on the host system as /tftpboot inside the container, allowing a user to fetch arbitrary files, including Linux executables and firmware images, from within the container.
# Running the OpenAMP echo test example
* Log in to the emulated Linux as root (password is also "root"). * Set up the R5 firmware: echo image_echo_test >/sys/class/remoteproc/remoteproc0/firmware * Start the R5: echo start >/sys/class/remoteproc/remoteproc0/state * Run the example: echo_test
# Random notes:
The version of QEMU that this uses is built from the xilinx-v2019.1 tag on GitHub for Debian Stretch. Debian Stretch was chosen for the base of this container because Linaro uses it extensively and this way the executables are compatible across the various Linaro containers. This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.