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

Sergeant Peppercorn speppercorn109 at gmail.com
Tue Jun 26 14:41:14 PDT 2018


Marc, Thank you very much for the response. This got me much further
running 'bitbake -c menuconfig mfgtool-linux-imx' until this happened:
WARNING: mfgtool-linux-imx-4.1.15-r0 do_fetch: Failed to fetch URL
file://defconfig, attempting MIRRORS if available
ERROR: mfgtool-linux-imx-4.1.15-r0 do_fetch: Fetcher failure: Unable to
find file file://defconfig anywhere. The paths that were searched were:
... (all directories under source/meta-freescale/recipes-kernel/... )

Can it be that that prefix is in fact needed? What else could be the
problem? I can't get an initramfs or mfgtool kernel built for 4.1.15 with
any method so far! TIA.

On Tue, Jun 26, 2018 at 12:19 PM, Marc Ferland <marc.ferland at gmail.com>
wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20180626/3e30b56f/attachment.html>


More information about the meta-freescale mailing list