[meta-xilinx] Linux/FreeRTOS AMP vrings
Wendy Liang
wendy.liang at xilinx.com
Sun Aug 30 11:29:10 PDT 2015
About using xlnx 3.19 kernel, I found this commit from the meta-xilinx github: 5aa58bbbf8ddcc59f8746805d62fd156d7cff461
linux-xlnx: Add recipe for v3.19 Xilinx kernel
* Pin a commit from the master branch for a 3.19 based linux-xlnx kernel
Signed-off-by: Nathan Rossi <nathan.rossi at xilinx.com>
Best Regards,
Wendy
> -----Original Message-----
> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
> bounces at yoctoproject.org] On Behalf Of Wendy Liang
> Sent: Sunday, August 30, 2015 10:30 AM
> To: Edward Wingate <edwingate8 at gmail.com>
> Cc: Veena Kumar <veena at xilinx.com>; meta-xilinx at yoctoproject.org
> Subject: Re: [meta-xilinx] Linux/FreeRTOS AMP vrings
>
> Hi Edward,
>
> The change in the virtio_rpmsg_bus is due to ZynqMP. It may not be good to just
> upgrade the kernel. It would be better to figure out if the kernel put the wrong
> addr or the slave get it wrong.
>
> You can add some debug in virtqueue_add() in virtio_ring.c to see what addr
> kernel put to the virt_ring. And you should also add debug before the slave do
> the VRING_ADDR_MASK to see what it gets.
>
> About upgrading the kernel from yocto, I am not familiar with that part, but I
> just wonder if you can clone the https://github.com/Xilinx/linux-xlnx kernel and
> ask yocto to just use that one.
>
> Best Regards,
> Wendy
>
> > -----Original Message-----
> > From: Edward Wingate [mailto:edwingate8 at gmail.com]
> > Sent: Friday, August 28, 2015 1:34 PM
> > To: Wendy Liang <jliang at xilinx.com>
> > Cc: Magnus Olsson <Mago at hms.se>; meta-xilinx at yoctoproject.org; Veena
> > Kumar <veena at xilinx.com>
> > Subject: Re: [meta-xilinx] Linux/FreeRTOS AMP vrings
> >
> > I should have mentioned that I'm using linux-xlnx kernel 3.14. And I
> > see now that there were a lot of changes to rpmsg bus since then,
> > including some that specifically address allocating vring buffers and
> > converting virtual to physical
> > address:
> > https://github.com/Xilinx/linux-
> > xlnx/commits/master/drivers/rpmsg/virtio_rpmsg_bus.c
> >
> > I'll try linux-xlnx 3.19 and see if it's better. I didn't specify
> > anything in meta-xilinx layer about which kernel to use though. I
> > used fido branch and just got linux- xlnx 3.14 by default. To try to use 3.19, I
> added these to my machine conf:
> >
> > PREFERRED_PROVIDER_virtual/kernel = "linux-xlnx"
> > PREFERRED_VERSION_linux-yocto = "3.19%"
> >
> > But got these errors:
> > NOTE: preferred version 3.19% of linux-xlnx not available (for item
> > virtual/kernel)
> > NOTE: versions of linux-xlnx available:
> > 3.14-xilinx+gitAUTOINC+2b48a8aeea
> > NOTE: preferred version 3.19% of linux-xlnx not available (for item
> > kernel-base)
> > NOTE: versions of linux-xlnx available:
> > 3.14-xilinx+gitAUTOINC+2b48a8aeea
> > NOTE: preferred version 3.19% of linux-xlnx not available (for item
> > kernel-image)
> > NOTE: versions of linux-xlnx available:
> > 3.14-xilinx+gitAUTOINC+2b48a8aeea
> > NOTE: preferred version 3.19% of linux-xlnx not available (for item
> > kernel-module-rpmsg-omx)
> > NOTE: versions of linux-xlnx available:
> > 3.14-xilinx+gitAUTOINC+2b48a8aeea
> > NOTE: preferred version 3.19% of linux-xlnx not available (for item
> > kernel-module-zynq-remoteproc)
> > NOTE: versions of linux-xlnx available:
> > 3.14-xilinx+gitAUTOINC+2b48a8aeea
> > NOTE: preferred version 3.19% of linux-xlnx not available (for item
> > kernel-module-virtio-rpmsg-bus)
> > NOTE: versions of linux-xlnx available:
> > 3.14-xilinx+gitAUTOINC+2b48a8aeea
> > NOTE: preferred version 3.19% of linux-xlnx not available (for item
> > kernel-module-rpmsg-freertos-statistic)
> > NOTE: versions of linux-xlnx available:
> > 3.14-xilinx+gitAUTOINC+2b48a8aeea
> >
> > It seems 3.14 is the only version of linux-xlnx available to me. I
> > see references to 3.19 in fido branch though. How would I go about
> > adding/specifying 3.19 kernel version to use? Do I need to use the master
> branch?
> >
> > Thanks for your help.
> >
> > Ed
>
>
> 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.
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
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.
More information about the meta-xilinx
mailing list