Hi Ed,
On the 12/19 call you said you had build instructions for the R5 that you had sent to the LITE group. You took an action item to post them here as well. Can you do that please? It would be very helpful.
More comments below...
On 11/25/19 8:47 PM, Ed Mooring via Openamp-rp wrote:
Here is the README for the Docker Container discussed in today's call: # Running the container:
docker run -it xilinx-qemu
You had previously said to use the image named: edmooring/qemu:xilinx-qemu
I tried running as you had it above (just xilinx-qemu) and it did not find the image. The old name still works but has not been updated in 8 weeks.
Am I missing something? Have you published a new docker image somewhere I can't find?
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
Thanks for this. I have tested it myself and added it to the wiki.
# 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.
Thanks, Bill