[meta-xilinx] [meta-xilinx-tools][2019.1][patch 2/2] layer.conf: add fpga-manager as an IMAGE_FEATURE

Manjukumar Harthikote Matha MANJUKUM at xilinx.com
Wed Jun 26 08:23:37 PDT 2019


Hi JD,

> -----Original Message-----
> From: Jean-Francois Dagenais <jeff.dagenais at gmail.com>
> Sent: Wednesday, June 26, 2019 5:09 AM
> To: Manjukumar Harthikote Matha <MANJUKUM at xilinx.com>
> Cc: meta-xilinx at yoctoproject.org
> Subject: Re: [meta-xilinx-tools][2019.1][patch 2/2] layer.conf: add fpga-
> manager as an IMAGE_FEATURE
> 
> Hi Manju!
> 
> > On Jun 25, 2019, at 23:40, Manjukumar Harthikote Matha
> <MANJUKUM at xilinx.com> wrote:
> >
> > We don't plan to use image-features going forward with fpga-manager.
> > The best way is to just enable using FPGA_MNGR_RECONFIG_ENABLE.
> > Setting the variable to "1" allow you to use the script and utility
> 
> Hmmm... this line
> FPGA_MNGR_RECONFIG_ENABLE ?= "${@bb.utils.contains('IMAGE_FEATURES',
> 'fpga-manager', '1', '0', d)}"
> 

We kept it this way for allowing backward compatibility with meta-petalinux.
Ideally we want to have FPGA_MNGR_RECONFIG_ENABLE ?=1 by default

> enable FPGA_MNGR_RECONFIG_ENABLE through 'fpga-manager' in
> IMAGE_FEATURES. The problem is that this is not a recognized IMAGE_FEATURE
> so it fails with bb.parse.SkipRecipe("'%s' in IMAGE_FEATURES is not a valid
> image feature... from image.bbclass
> 
> So do you recommend I add something like this to mymachine.conf?
> 
> FPGA_MNGR_RECONFIG_ENABLE = "1"
> MACHINE_ESSENTIAL_EXTRA_DEPENDS += "fpga-manager-util"
> EXTRA_HDF = "${DEPLOY_DIR_IMAGE}"
> 
> 
> Is this how it is meant to be used? (without petalinux)

If you are using FPGA manager then it is easier to set that variable to "1" instead of image feature.

> 
> Thanks!
> P.S.: Did you look into my other patch?

Yes, checking why it worked for us and did not see the error

Thanks,
Manju



More information about the meta-xilinx mailing list