iMX8 bitbake error - layer.conf not found

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX8 bitbake error - layer.conf not found

4,997件の閲覧回数
rahul_khurana
Contributor I

HI

I am trying to follow the i.MX yocto project user guide to build image for i.mx8 mini evk . However when I run bitbake command I get the following error :

rahul@rahul-VirtualBox:~/imx-yocto-bsp/test_build$ bitbake fsl-image-machine-test
ERROR: Unable to start bitbake server
ERROR: Server log for this session (/home/rahul/imx-yocto-bsp/test_build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 4528 at 2020-02-21 23:01:40.185868 ---

Below are contents of bitbake-cookerdaemon.log :

File "/home/rahul/imx-yocto-bsp/sources/poky/bitbake/lib/bb/cookerdata.py", line 179, in wrapped
return func(fn, *args)
File "/home/rahul/imx-yocto-bsp/sources/poky/bitbake/lib/bb/cookerdata.py", line 204, in parse_config_file
return bb.parse.handle(fn, data, include)
File "/home/rahul/imx-yocto-bsp/sources/poky/bitbake/lib/bb/parse/__init__.py", line 117, in handle
return h['handle'](fn, data, include)
File "/home/rahul/imx-yocto-bsp/sources/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 134, in handle
abs_fn = resolve_file(fn, data)
File "/home/rahul/imx-yocto-bsp/sources/poky/bitbake/lib/bb/parse/__init__.py", line 141, in resolve_file
raise IOError(errno.ENOENT, "file %s not found" % fn)
FileNotFoundError: [Errno 2] file /home/rahul/imx-yocto-bsp/sources/meta-freescale/conf/layer.conf not found

ERROR: Unable to parse /home/rahul/imx-yocto-bsp/sources/meta-freescale/conf/layer.conf: [Errno 2] file /home/rahul/imx-yocto-bsp/sources/meta-freescale/conf/layer.conf not found

When I checked the path , the layer.conf was not there . However I could layer.conf under meta-freescale-distro/conf directory .

Can you please suggest a workaround for this ?

ラベル(3)
0 件の賞賛
返信
4 返答(返信)

3,980件の閲覧回数
zuriel921
Contributor II

你好,请问出现bitbake:command not found该怎么解决呢

0 件の賞賛
返信

4,808件の閲覧回数
nxpnxp
Contributor I

After executing the command :bitbake imx-image-multimedia,There is an error sources/meta-freescale/conf/layer.conf not found 。How do you solve it?

0 件の賞賛
返信

4,808件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Rahul Khurana,

Would you please provide more details on the BSP you are using? Are you following the steps on the i.MX Yocto User’s Guide? The problem may relate to a missing package or incomplete sync of the repositories.

Regards,

0 件の賞賛
返信

3,971件の閲覧回数
edwardtyrrell
Senior Contributor I

Hi, 

First thing is get the bitbake server going..

rahul@rahul-VirtualBox:~/imx-yocto-bsp/test_build$ bitbake fsl-image-machine-test
ERROR: Unable to start bitbake server 

In your yocto root did you do a 'source' before building? For example - based of your paths..

In ~/imx-yocto-bsp/  -> source setup-environment test_build, then try a bitbake fsl-image-machine-test

0 件の賞賛
返信