[meta-xilinx] AMP using Yocto meta-xilinx

Joe MacDonald Joe_MacDonald at mentor.com
Fri Nov 21 10:57:48 PST 2014


Hey Edward,

[Re: [meta-xilinx] AMP using Yocto meta-xilinx] On 14.11.21 (Fri 10:46) Edward Wingate wrote:

> Hi Joe,
> 
> Thanks for your reply.  I should have clarified, I am trying to do
> this with Yocto, not Petalinux.  I saw those menu options in the ug978
> document, but I am under the impression that Yocto doesn't have that
> GUI to configure kernel options (please let me know if I'm wrong).
> Instead, the kernel config items are specified in a text file that I
> think is at meta-xilinx/conf/machine/boards/common/linux/zynq/defconfig_3.14.cfg.
> I am looking for the text file equivalents of those menu options.

You can create your own kernel config fragments in your own layer, of
course, so you don't need to modify the defconfig, but I think maybe
there was a bit of confusion about my notation.  I was just providing
directions assuming you had done something like this:

   % bitbake -c menuconfig virtual/kernel

or

   % bitbake -c menuconfig linux-xlnx

I definitely wasn't talking about Petalinux, I've only built it a couple
of times myself.  All of those options are available in the linux-xlnx
kernel (the one referenced in SRC_URI from
meta-xilinx/recipes-kernel/linux/linux-xlnx.inc) so you should be good.
If you set those in your build you can try them out, then maybe use the
kernel config fragment creation tool (the name escapes me right now
since I almost never use it myself) to automatically generate just the
piece you need.

Hope that helps.
-J.

> 
> Thanks,
> Edward
> 
> On Fri, Nov 21, 2014 at 10:26 AM, Joe MacDonald
> <Joe_MacDonald at mentor.com> wrote:
> >
> > Hi Edward,
> >
> > I'm in no way an expert, I just fritter around with meta-xilinx from
> > time to time, but I can probably help with these.  They're all kernel
> > configuration options, actually.
> >
> > [[meta-xilinx] AMP using Yocto meta-xilinx] On 14.11.21 (Fri 10:03) Edward Wingate wrote:
> >
> > > I'm trying to configure Yocto Linux with meta-xilinx layer to do AMP on a
> > > zedboard.
> > > I'm following the ug978 AMP guide and trying to configure the kernel similarly:
> > >
> > > 1. Enable loadable module support
> > > 2. Select High Memory Support
> > > 3. Select 2G/2G User/Kernel memory split
> > > 4. Enable userspace firmware loading support
> > > 5. Enable rpmsg driver
> > > 6. Enable remoteproc driver
> > >
> > > I am looking for these options in meta-xilinx/conf/machine/boards/common/linux/
> > > zynq/defconfig_3.14.cfg.  Is this the correct place?
> > >
> > > For #1, do these options accomplish loadable module support?
> > > CONFIG_MODULES=y
> > > CONFIG_MODULE_UNLOAD=y
> > > CONFIG_MODULE_FORCE_UNLOAD=y
> > >
> > > For #2, CONFIG_HIGHMEM=y
> > >
> > > Can someone help me with #3-5?  I don't know what options corresponds with
> > > those, or if that is even the right file to look for them.
> >
> > #3 is:
> >
> >    Kernel Features  --->
> >       Memory split (3G/1G user/kernel split)  --->
> >          (X) 2G/2G user/kernel split
> >
> > and #4 is:
> >
> >    Device Drivers  --->
> >       Generic Driver Options  --->
> >          -*- Userspace firmware loading support
> >
> > > For #6, how would I get the zynq remoteproc driver into the kernel using Yocto
> > > and meta-xilinx?  I'm assuming #1-5 are standard kernel configurations, but #6
> > > is zynq specific and wouldn't be a standard kernel config item.
> >
> > #5 and #6 are options so long as you're building linux-xlnx of some form
> > as your virtual/kernel:
> >
> >    Device Drivers  --->
> >       Remoteproc drivers  --->
> >          < > Support ZYNQ remoteproc
> >       Rpmsg drivers  --->
> >          < > rpmsg user driver (for example...)
> >
> > >
> > > Thank you for any help.
> > >
> > > Edward
> >
> > --
> > -Joe MacDonald.
> > :wq

-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20141121/172405cf/attachment.pgp>


More information about the meta-xilinx mailing list