iMX6 bitbake error - layer.conf not found

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6 bitbake error - layer.conf not found

5,268 Views
mickaeltoumi
Contributor III

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

Labels (2)
2 Replies

1,933 Views
mickaeltoumi
Contributor III

I solved this problem. The <build> directory needs to be under fsl-release-bsp. In the above situation I put the build directory in my home directory (~).

1,933 Views
rahul_khurana
Contributor I

Can you share complete path of fsl-release-bsp . I am having a similar issue with i.MX8

0 Kudos