[meta-xilinx] Linux/FreeRTOS AMP vrings
Wendy Liang
wendy.liang at xilinx.com
Sun Aug 30 10:29:49 PDT 2015
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.
More information about the meta-xilinx
mailing list