cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
1,226 Views
Registered: ‎05-06-2018

xilinx-zcu106-2018.1 petalinux-config -c kernel throw error

Jump to solution

[INFO] generating Kconfig for project

[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
[INFO] configuring: kernel
[INFO] generating kernel configuration files
[INFO] bitbake virtual/kernel -c menuconfig
Loading cache: 100% |############################################| Time: 0:00:01
Loaded 3434 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:06
Parsing of 2544 .bb files complete (2501 cached, 43 parsed). 3436 targets, 136 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'gstreamer-vcu-examples' (but /home/lx/user/xilinx-zcu106-2018.1/project-spec/meta-plnx-generated/recipes-core/images/petalinux-user-image.bb RDEPENDS on or otherwise requires it)
gstreamer-vcu-examples was skipped: incompatible with machine zcu106-zynqmp (not in COMPATIBLE_MACHINE)
NOTE: Runtime target 'gstreamer-vcu-examples' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gstreamer-vcu-examples']
NOTE: Runtime target 'device-tree-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['device-tree-dev', 'virtual/kernel', 'petalinux-user-image', 'gstreamer-vcu-examples']
NOTE: Runtime target 'device-tree' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['device-tree', 'virtual/kernel', 'petalinux-user-image', 'gstreamer-vcu-examples']
ERROR: Required build target 'virtual/kernel' has no buildable providers.
Missing or unbuildable dependency chain was: ['virtual/kernel', 'petalinux-user-image', 'gstreamer-vcu-examples']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: bitbake failed to cleansstate kernel
ERROR: Failed to config kernel.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
1,479 Views
Registered: ‎12-04-2016

Hi

 

I beleive you are not using HDF which has VCU enabled. You may try using VCU TRD hdf

 

 

Best Regards

Shabbir

View solution in original post

0 Kudos
3 Replies
Highlighted
Moderator
Moderator
1,480 Views
Registered: ‎12-04-2016

Hi

 

I beleive you are not using HDF which has VCU enabled. You may try using VCU TRD hdf

 

 

Best Regards

Shabbir

View solution in original post

0 Kudos
Highlighted
Participant
Participant
1,169 Views
Registered: ‎05-06-2018
It works fine, when i have VCU enabled. But new error occurs.
[INFO] generating Kconfig for project

[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
[INFO] configuring: kernel
[INFO] generating kernel configuration files
[INFO] bitbake virtual/kernel -c menuconfig
WARNING: /home/lx/petalinux/components/yocto/source/aarch64/layers/core/meta/recipes-core/meta/meta-environment.bb: Exception during build_dependencies for toolchain_create_sdk_version
WARNING: /home/lx/petalinux/components/yocto/source/aarch64/layers/core/meta/recipes-core/meta/meta-environment.bb: Error during finalise of /home/lx/petalinux/components/yocto/source/aarch64/layers/core/meta/recipes-core/meta/meta-environment.bb
ERROR: ExpansionError during parsing /home/lx/petalinux/components/yocto/source/aarch64/layers/core/meta/recipes-core/meta/meta-environment.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable METADATA_REVISION, expression was ${@base_detect_revision(d)} which triggered exception CmdError: Execution of 'git rev-parse HEAD' failed: [Errno 12] Cannot allocate memory

WARNING: /home/lx/petalinux/components/yocto/source/aarch64/layers/core/meta/recipes-core/meta/meta-environment-extsdk.bb: Exception during build_dependencies for toolchain_create_sdk_version
WARNING: /home/lx/petalinux/components/yocto/source/aarch64/layers/core/meta/recipes-core/meta/meta-environment-extsdk.bb: Error during finalise of /home/lx/petalinux/components/yocto/source/aarch64/layers/core/meta/recipes-core/meta/meta-environment-extsdk.bb

Summary: There were 4 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: bitbake failed to cleansstate kernel
ERROR: Failed to config kernel.
0 Kudos
Highlighted
Moderator
Moderator
1,167 Views
Registered: ‎12-04-2016

Hi 

 

This error is something to do with out of memory, as per the log message, not with the HDF.

exception CmdError: Execution of 'git rev-parse HEAD' failed: [Errno 12] Cannot allocate memory

 

 

Best Regards

Shabbir

0 Kudos