AnsweredAssumed Answered

iMX6 bitbake error - layer.conf not found

Question asked by mickaeltoumi on Nov 18, 2015
Latest reply on Nov 18, 2015 by mickaeltoumi

I am going through the document called Freescale Yocto Project User's Guide (IMXLXYOCTOUG, Rev. L3.14.38_6ul-ga, 09/2015)

 

I followed all the steps to setup the iMX/Yocto environment on Linux. I am running into an issue when I run the bitake command described in "5.3 Building an image".

 

The following error below is displayed in my console, what is missing?

 

xxxx@xxxx-VirtualBox:~/build_dir_imx6ulevk$ bitbake fsl-image-machine-test

ERROR: Traceback (most recent call last):

  File "/home/xxxx/fsl-release-bsp/sources/poky/bitbake/lib/bb/cookerdata.py", line 175, in wrapped

    return func(fn, *args)

  File "/home/xxxx/fsl-release-bsp/sources/poky/bitbake/lib/bb/cookerdata.py", line 185, in parse_config_file

    return bb.parse.handle(fn, data, include)

  File "/home/xxxx/fsl-release-bsp/sources/poky/bitbake/lib/bb/parse/__init__.py", line 107, in handle

    return h['handle'](fn, data, include)

  File "/home/xxxx/fsl-release-bsp/sources/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 118, in handle

    abs_fn = resolve_file(fn, data)

  File "/home/xxxx/fsl-release-bsp/sources/poky/bitbake/lib/bb/parse/__init__.py", line 130, in resolve_file

    raise IOError("file %s not found" % fn)

IOError: file /home/xxxx/sources/poky/meta/conf/layer.conf not found

 

ERROR: Unable to parse /home/xxxx/sources/poky/meta/conf/layer.conf: file /home/xxxx/sources/poky/meta/conf/layer.conf not found

xxxx@xxxx-VirtualBox:~/build_dir_imx6ulevk$

 

Extra information: my platform is i.MX6 ULEVK

Outcomes