Hi Ed,
On 1/3/20 7:59 PM, Ed Mooring via Openamp-rp wrote:
On the December 19 call, I committed to sending the instructions I had provided to the Linaro LITE team to build a bootable image that can be used to develop and test OpenAMP with Linux on Xilinx QEMU.
I am using this setup to work with Paul Sokolovsky on getting CI for OpenAMP on QEMU using LAVA.
This is a first cut. Feedback is welcome.
Regards, Ed M 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.
As you sent the instructions as an attachment I can't reply inline but I will fake it.
# Building the image
In the build directory (<path to repo>/build):
$ bitbake openamp-image-minimal
To get this at least started I used:
$ MACHINE=zcu102-zynqmp bitbake openamp-image-minimal
The instructions above leaves a default machine of qemuzynq which does not exist. There is a qemu-zynq7 but I don't think that is right.
From the name of the output image I am inferring that you want the
zcu102-zynqmp machine.
Please confirm or deny this assumption. Thanks.
**** What version for openamp/* git sources?
Right now I have the three dirs in the openamp dir as follows:
bill@rocky:~/w/proj/openamp/ci-xilinx$ for d in openamp/*; do (echo "*** $d"; cd $d; git remote -v; git status); done *** openamp/embeddedsw origin https://github.com/Xilinx/embeddedsw.git (fetch) origin https://github.com/Xilinx/embeddedsw.git (push) On branch master Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean *** openamp/libmetal origin https://github.com/Xilinx/libmetal.git (fetch) origin https://github.com/Xilinx/libmetal.git (push) On branch master Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean *** openamp/open-amp origin https://github.com/Xilinx/open-amp.git (fetch) origin https://github.com/Xilinx/open-amp.git (push) On branch master Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
Can you please document what you are using and have tested.
Thanks, Bill
Hi Bill,
On Wed, Jan 15, 2020 at 01:05:57PM -0500, William Mills wrote:
Hi Ed,
On 1/3/20 7:59 PM, Ed Mooring via Openamp-rp wrote:
On the December 19 call, I committed to sending the instructions I had provided to the Linaro LITE team to build a bootable image that can be used to develop and test OpenAMP with Linux on Xilinx QEMU.
I am using this setup to work with Paul Sokolovsky on getting CI for OpenAMP on QEMU using LAVA.
This is a first cut. Feedback is welcome.
[ snip ]
As you sent the instructions as an attachment I can't reply inline but I will fake it.
Should we make it a policy to send everything on this list in plain text with files as patches?
# Building the image
In the build directory (<path to repo>/build):
$ bitbake openamp-image-minimal
To get this at least started I used:
$ MACHINE=zcu102-zynqmp bitbake openamp-image-minimal
The instructions above leaves a default machine of qemuzynq which does not exist. There is a qemu-zynq7 but I don't think that is right. From the name of the output image I am inferring that you want the zcu102-zynqmp machine.
Please confirm or deny this assumption. Thanks.
This is correct. I goofed and omitted the step of selecting the machine from the instructions. I have corrected this.
**** What version for openamp/* git sources?
When I did my build, I pulled everything from the rel-v2019.2 branch from the Xilinx GitHub. The Xilinx build process builds the R5 binaries using the Xilinx toolchain, and pulls it out of the embeddedsw repository.
Right now I have the three dirs in the openamp dir as follows:
bill@rocky:~/w/proj/openamp/ci-xilinx$ for d in openamp/*; do (echo "*** $d"; cd $d; git remote -v; git status); done *** openamp/embeddedsw origin https://github.com/Xilinx/embeddedsw.git (fetch) origin https://github.com/Xilinx/embeddedsw.git (push) On branch master Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean *** openamp/libmetal origin https://github.com/Xilinx/libmetal.git (fetch) origin https://github.com/Xilinx/libmetal.git (push) On branch master Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean *** openamp/open-amp origin https://github.com/Xilinx/open-amp.git (fetch) origin https://github.com/Xilinx/open-amp.git (push) On branch master Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
Can you please document what you are using and have tested.
I have tested remoteproc and rpmsg with the 2019.2 build from the Xilinx GitHub repositories.
I have also tested with the OpenAMP project repositories for the Unix side, and it works. I have not yet tested the R5 side from those repositories. That will happen soon.
One of my goals is to put together a complete open source toolkit for building R5 and Linux OpenAMP applications, along with the Linux kernel, and create a deployable image for use with the Xilinx QEMU docker image. This set of instructions was a first step. It also helps enable a LAVA CI loop for OpenAMP.
Thanks, Bill
Regards, Ed M
openamp-rp@lists.openampproject.org