[meta-xilinx] AMP using Yocto meta-xilinx
Mike Looijmans
mike.looijmans at topic.nl
Sat Nov 22 11:31:11 PST 2014
On 11/21/2014 07:58 PM, Elvis Dowson wrote:
> Hi Edward,
>
>> On Nov 21, 2014, at 22:46, Edward Wingate <edwingate8 at gmail.com> wrote:
>>
>> 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.
>
> Type the following command to clean and reconfigure the kernel:
>
> bitbake linux-xilinx -c clean -f
> bitbake linux-xilinx -c configure -f
> bitbake linux-xilinx -c menuconfig -f
> bitbake linux-xilinx -c compile -f
> bitbake linux-xilinx -c deploy -f
Use:
bitbake virtual/kernel -c menuconfig
Then from the menuconfig, save the configuration file to where your
bitbake recipe will pick it up. Otherwise, your changes will be lost the
next run of the kernel.
And bitbake is smart enough to figure out the dependencies, so just running:
bitbake virtual/kernel
will install and deploy the new kernel after you've changed the
configuration. All those "-f" (force) options aren't needed, and you
also don't need to specify all the single steps. You can add a "-c
deploy" if you like.
--
Mike Looijmans
More information about the meta-xilinx
mailing list