imx8 bitbake extensible SDK error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx8 bitbake extensible SDK error

跳至解决方案
2,043 次查看
Ichi_
Contributor I

Hi all

I have a need for extensible SDK. 

I can build SDK by command

bitbake imx-image-full -c populate_sdk,

but can't build extensible SDK by command

bitbake imx-image-full -c populate_sdk_ext.

I'vd tried cleanall imx-image-full and changong python version 2 and 3.

but neither works?

Could anyone please give me advice?Thank you.

The error message is as follows:

oading cache: 100% |############################################| Time: 0:00:00
Loaded 4640 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:00
Parsing of 3218 .bb files complete (3217 cached, 1 parsed). 4641 targets, 464 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-20.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mqevk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "5.4-zeus"
TUNE_FEATURES = "aarch64 cortexa53 crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:d88d62c20d7d8da85f02edb170dae0280624ad7e"
meta-oe
meta-multimedia
meta-python = "HEAD:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-freescale = "HEAD:14f1a630a47375432f93c556927b879b51d84c4e"
meta-freescale-3rdparty = "HEAD:dbcc686f52c3c84db8cb86aa8973a4e373651b98"
meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"
meta-bsp
meta-sdk
meta-ml = "HEAD:7f0abf664d65ab9f03f85a1d16ab54e0d1134a9b"
meta-nxp-demo-experience = "HEAD:03904c493469907a2829cf29df7ab060f9c664a6"
meta-browser = "HEAD:ee3be3b5986a4aa0e73df2204a625ae1fe5df37e"
meta-rust = "HEAD:53bfa324891966a2daf5d36dc13d4a43725aebed"
meta-clang = "HEAD:711e593d5984aad3bf35c51b7ac4482982bc16c7"
meta-gnome
meta-networking
meta-filesystems = "HEAD:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-qt5 = "HEAD:21ce4c124d9a972d9122f87c64ac2773bf04c284"
meta-python2 = "HEAD:4400f9155ec193d028208cf0c66aeed2ba2b00ab"

WARNING: /home/sysgration/imx8_5_4/imx8-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.4.bb:do_compile is tainted from a forced run
WARNING: /home/sysgration/imx8_5_4/imx8-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.4.bb:do_deploy is tainted from a forced run
WARNING: /home/sysgration/imx8_5_4/imx8-yocto-bsp/sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2020.04.bb:do_compile is tainted from a forced run
WARNING: /home/sysgration/imx8_5_4/imx8-yocto-bsp/sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2020.04.bb:do_deploy is tainted from a forced run
Initialising tasks: 100% |#######################################| Time: 0:00:02
Sstate summary: Wanted 0 Found 0 Missed 0 Current 4036 (0% match, 100% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
ERROR: imx-image-full-1.0-r0 do_sdk_depends: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:extend_recipe_sysroot(d)
0003:
File: '/home/sysgration/imx8_5_4/imx8-yocto-bsp/sources/poky/meta/classes/staging.bbclass', lineno: 551, function: extend_recipe_sysroot
0547: dest = newmanifest[l]
0548: if l.endswith("/"):
0549: staging_copydir(l, targetdir, dest, seendirs)
0550: continue
*** 0551: staging_copyfile(l, targetdir, dest, postinsts, seendirs)
0552:
0553: bb.note("Installed into sysroot: %s" % str(msg_adding))
0554: bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))
0555:
File: '/home/sysgration/imx8_5_4/imx8-yocto-bsp/sources/poky/meta/classes/staging.bbclass', lineno: 144, function: staging_copyfile
0140: if os.path.islink(c):
0141: linkto = os.readlink(c)
0142: if os.path.lexists(dest):
0143: if not os.path.islink(dest):
*** 0144: raise OSError(errno.EEXIST, "Link %s already exists as a file" % dest, dest)
0145: if os.readlink(dest) == linkto:
0146: return dest
0147: raise OSError(errno.EEXIST, "Link %s already exists to a different location? (%s vs %s)" % (dest, os.readlink(dest), linkto), dest)
0148: os.symlink(linkto, dest)
Exception: FileExistsError: [Errno 17] Link /home/sysgration/imx8_5_4/imx8-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/recipe-sysroot/lib already exists as a file: '/home/sysgration/imx8_5_4/imx8-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/recipe-sysroot/lib'

ERROR: Logfile of failure stored in: /home/sysgration/imx8_5_4/imx8-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/temp/log.do_sdk_depends.835827
ERROR: Task (/home/sysgration/imx8_5_4/imx8-yocto-bsp/sources/meta-imx/meta-sdk/dynamic-layers/qt5-layer/recipes-fsl/images/imx-image-full.bb:do_sdk_depends) failed with exit code '1'
NOTE: Tasks Summary: Attempted 10496 tasks of which 10495 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/sysgration/imx8_5_4/imx8-yocto-bsp/sources/meta-imx/meta-sdk/dynamic-layers/qt5-layer/recipes-fsl/images/imx-image-full.bb:do_sdk_depends
Summary: There were 5 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

 

0 项奖励
回复
1 解答
1,913 次查看
Harvey021
NXP TechSupport
NXP TechSupport
0 项奖励
回复
5 回复数
2,012 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

esdk will include debug, which makes it larger. This makes it uncertain whether our wic format is sufficient. If debugging is needed, it is recommended to target a specific package instead of the entire toolchain.

 

Regards

Harvey

0 项奖励
回复
1,973 次查看
Ichi_
Contributor I

Hi @Harvey021 

I can build the multimedia version esdk (bitbake imx-image-multimedia -c populate_sdk_ext).

Do you know how to add QT on multimedia esdk?Thanks. 

0 项奖励
回复
1,958 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

What about the multimedia image burn and flash into board?

As full image includes QT, sorry. I haven't got that experience for adding QT to multimedia.

 

Regards

Harvey

 

0 项奖励
回复
1,953 次查看
Ichi_
Contributor I

Hi @Harvey021 

 

Because there is a problem by use imx-image-full -c populate_sdk_ext ,

so I need add QT5 then use imx-image-multimedia -c populate_sdk_ext.

Thanks for your reply.

 

0 项奖励
回复
1,914 次查看
Harvey021
NXP TechSupport
NXP TechSupport
0 项奖励
回复