[meta-freescale] pyro branch mfgtool kernel and initramfs build fails

Marc Ferland marc.ferland at gmail.com
Tue Jun 26 12:19:55 PDT 2018


On Tue, Jun 26, 2018 at 2:49 PM, Sergeant Peppercorn
<speppercorn109 at gmail.com> wrote:
> I am trying to build the mfgtool initramfs and mfgtool kernel from the pyro
> branch.
>
> I created my repo by doing this:
>
> $ mkdir fsl-community-bsp-pyro  && cd fsl-community-bsp-pyro/
> $  repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b
> pyro && repo sync && repo start pyro --all
> $  MACHINE=imx6ulevk DISTRO=fslc-framebuffer SDKMACHINE=x86_64 source
> setup-environment build-evk
>
> Then, because I need a bit of customization, before I do "bitbake
> fsl-image-mfgtool-initramfs", I do:
> $ bitbake -c menuconfig mfgtool-linux-imx
> ... which fails:
> NOTE: Your conf/bblayers.conf has been automatically updated.
> Parsing recipes: 100%
> |#################################################################################################################################|
> Time: 0:09:11
> Parsing of 1709 .bb files complete (0 cached, 1709 parsed). 2330 targets,
> 465 skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing PROVIDES 'virtual/mfgtool-arm-fslc-linux-gnueabi-binutils'.
> Close matches:
>   virtual/arm-fslc-linux-gnueabi-binutils
>   virtual/arm-fslc-linux-gnueabi-libc-initial
>   virtual/arm-fslc-linux-gnueabi-gcc-initial
> ERROR: Required build target 'mfgtool-linux-imx' has no buildable providers.
> Missing or unbuildable dependency chain was: ['mfgtool-linux-imx',
> 'virtual/mfgtool-arm-fslc-linux-gnueabi-binutils']
>
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
> $
>
> Is this supposed to work? How do I fix this? What is this strange dependency
> that is not present? morty seems to work, as well as the official
> fsl-arm-yocto-bsp imx-4.1.15_1.0.0-ga branch from NXP.
>

I think this has been broken for awhile and is caused by the MLPREFIX
variable being set to "mfgtool-" in linux-mfgtool.inc.

I was able to get around this issue by just removing the:

    e.data.setVar("MLPREFIX", "mfgtool-")

line from linux-mfgtool.inc. Pretty hacky... but it seems to work, I
was able to compile the kernel and get mfgtool going. I think the
right solution would be to use the KERNEL_PACAKGE_NAME which is now
available in sumo...

Marc


More information about the meta-freescale mailing list