devtool build-image does not work

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

devtool build-image does not work

445 Views
TimNew
Contributor I

When I try to build `pokyuser@92da2e39ecdd:~/oem-deere-display_sdk$ devtool build-image`

 

I get the following failures: 

Parsing of 5594 .bb files complete (0 cached, 5594 parsed). 8682 targets, 1176 skipped, 0 masked, 0 errors.
ERROR: No recipes in default available for:
/home/pokyuser/oem-deere-display_sdk/layers/meta-freescale/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.bbappend
/home/pokyuser/oem-deere-display_sdk/layers/meta-deere-oem/meta-deere-display-oem/recipes-bsp/imx-atf/imx-atf_%.bbappend
/home/pokyuser/oem-deere-display_sdk/layers/meta-deere-oem/meta-deere-display-oem/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend
/home/pokyuser/oem-deere-display_sdk/layers/meta-deere-oem/meta-deere-display-oem/recipes-bsp/imx-mkimage/imx-mkimage_git.bbappend
/home/pokyuser/oem-deere-display_sdk/layers/meta-deere-oem/meta-deere-display-oem/recipes-bsp/scfw-deere-display/imx-sc-firmware_%.bbappend
No recipes in ngpd2 available for:
/home/pokyuser/oem-deere-display_sdk/layers/meta-freescale/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.bbappend
/home/pokyuser/oem-deere-display_sdk/layers/meta-deere-oem/meta-deere-display-oem/recipes-bsp/imx-atf/imx-atf_%.bbappend
/home/pokyuser/oem-deere-display_sdk/layers/meta-deere-oem/meta-deere-display-oem/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend
/home/pokyuser/oem-deere-display_sdk/layers/meta-deere-oem/meta-deere-display-oem/recipes-bsp/imx-mkimage/imx-mkimage_git.bbappend
/home/pokyuser/oem-deere-display_sdk/layers/meta-deere-oem/meta-deere-display-oem/recipes-bsp/scfw-deere-display/imx-sc-firmware_%.bbappend

 

I know why those errors occur, when i run the sdk install .sh script not all the directories in the mete-freescale layer are copied. I'm not sure why. 

 

This is what the meta-freescale layer has in my normal build. You can see the recipes-downgrade directory. The missing .bb recipe is included there. 

tn70742@wdx24n1rn3:~/Projects/OEMBSP/oem-ref-BSP/sources/meta-freescale$ ls -ll
total 140
drwxrwxr-x 2 tn70742 tn70742 4096 Jun 5 12:17 classes
drwxrwxr-x 3 tn70742 tn70742 4096 Jun 5 12:17 conf
-rw-rw-r-- 1 tn70742 tn70742 1035 Jun 5 12:17 COPYING.MIT
drwxrwxr-x 2 tn70742 tn70742 4096 Jun 5 12:17 custom-licenses
drwxrwxr-x 13 tn70742 tn70742 4096 Jun 5 12:17 dynamic-layers
-rw-r--r-- 8 tn70742 tn70742 43342 Mar 9 2018 EULA
-rw-rw-r-- 1 tn70742 tn70742 495 Jun 5 12:17 LICENSE
-rw-rw-r-- 1 tn70742 tn70742 1006 Jun 5 12:17 README
drwxrwxr-x 34 tn70742 tn70742 4096 Jun 5 12:17 recipes-bsp
drwxrwxr-x 3 tn70742 tn70742 4096 Jun 5 12:17 recipes-connectivity
drwxrwxr-x 5 tn70742 tn70742 4096 Jun 5 12:17 recipes-core
drwxrwxr-x 8 tn70742 tn70742 4096 Jun 5 12:17 recipes-devtools
drwxrwxr-x 3 tn70742 tn70742 4096 Jun 5 12:17 recipes-downgrade
drwxrwxr-x 6 tn70742 tn70742 4096 Jun 5 12:17 recipes-dpaa
drwxrwxr-x 8 tn70742 tn70742 4096 Jun 5 12:17 recipes-dpaa2
drwxrwxr-x 17 tn70742 tn70742 4096 Jun 5 12:17 recipes-extended
drwxrwxr-x 4 tn70742 tn70742 4096 Jun 5 12:17 recipes-fsl
drwxrwxr-x 22 tn70742 tn70742 4096 Jun 5 12:17 recipes-graphics
drwxrwxr-x 7 tn70742 tn70742 4096 Jun 5 12:17 recipes-kernel
drwxrwxr-x 14 tn70742 tn70742 4096 Jun 5 12:17 recipes-multimedia
drwxrwxr-x 4 tn70742 tn70742 4096 Jun 5 12:17 recipes-security
drwxrwxr-x 3 tn70742 tn70742 4096 Jun 5 12:17 recipes-support
drwxrwxr-x 2 tn70742 tn70742 4096 Jun 5 12:17 SCR
drwxrwxr-x 2 tn70742 tn70742 4096 Jun 5 12:17 scripts
drwxrwxr-x 2 tn70742 tn70742 4096 Jun 5 12:17 wic

When I look at the equivalent directory in the sdk environement, there is no recipes-downgrade directory. 


pokyuser@92da2e39ecdd:~/oem-deere-display_sdk/layers/meta-freescale$ ls -ll
total 88
drwxrwxr-x 2 pokyuser pokyuser 4096 Jun 6 21:19 classes
drwxrwxr-x 3 pokyuser pokyuser 4096 Jun 6 21:19 conf
-rw-rw-r-- 1 pokyuser pokyuser 1035 Jun 6 21:19 COPYING.MIT
drwxrwxr-x 2 pokyuser pokyuser 4096 Jun 6 21:19 custom-licenses
drwxrwxr-x 13 pokyuser pokyuser 4096 Jun 6 21:19 dynamic-layers
-rw-rw-r-- 1 pokyuser pokyuser 495 Jun 6 21:19 LICENSE
-rw-rw-r-- 1 pokyuser pokyuser 1006 Jun 6 21:19 README
drwxrwxr-x 3 pokyuser pokyuser 4096 Jun 6 21:19 recipes-connectivity
drwxrwxr-x 5 pokyuser pokyuser 4096 Jun 6 21:19 recipes-core
drwxrwxr-x 8 pokyuser pokyuser 4096 Jun 6 21:19 recipes-devtools
drwxrwxr-x 6 pokyuser pokyuser 4096 Jun 6 21:19 recipes-dpaa
drwxrwxr-x 8 pokyuser pokyuser 4096 Jun 6 21:19 recipes-dpaa2
drwxrwxr-x 17 pokyuser pokyuser 4096 Jun 6 21:19 recipes-extended
drwxrwxr-x 4 pokyuser pokyuser 4096 Jun 6 21:19 recipes-fsl
drwxrwxr-x 22 pokyuser pokyuser 4096 Jun 6 21:19 recipes-graphics
drwxrwxr-x 7 pokyuser pokyuser 4096 Jun 6 21:19 recipes-kernel
drwxrwxr-x 14 pokyuser pokyuser 4096 Jun 6 21:19 recipes-multimedia
drwxrwxr-x 4 pokyuser pokyuser 4096 Jun 6 21:19 recipes-security
drwxrwxr-x 3 pokyuser pokyuser 4096 Jun 6 21:19 recipes-support
drwxrwxr-x 2 pokyuser pokyuser 4096 Jun 6 21:19 SCR
drwxrwxr-x 2 pokyuser pokyuser 4096 Jun 6 21:19 scripts
drwxrwxr-x 2 pokyuser pokyuser 4096 Jun 6 21:19 wic

 

I'm not sure why the recipes-downgrade directory is not being copied into the sdk environment. 

0 Kudos
Reply
3 Replies

406 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

Do bitbake work in your environment?

Regards

0 Kudos
Reply

389 Views
TimNew
Contributor I

I do get a bitbake failure if I change the highlighted line of my local.conf to 1... from 0. There appears to be a connection in my devtool build-image failure and the failure I get when I make the local.conf change below. 

 

# Bsp default build values.
MACHINE ??= "xxxxx"
DISTRO ??= "xxxxx-xxxxxxx"

# Multiconfig list of targets
# You need to create a single configuration file for
# each build target (each multiconfig) for more info
# look at meta-oem/conf/templates/multiconfig/
BBMULTICONFIG = "ngpd2"

PACKAGE_CLASSES = "package_deb"

USER_CLASSES ?= "buildstats "
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
HALT,${TMPDIR},100M,1K \
HALT,${DL_DIR},100M,1K \
HALT,${SSTATE_DIR},100M,1K \
HALT,/tmp,10M,1K"

CONF_VERSION = "2"
ACCEPT_FSL_EULA = "1"

# Share dirs between build targets
DL_DIR ?= "${TOPDIR}/../downloads/"
SSTATE_DIR ?= "${TOPDIR}/../sstate/"

# This prevents searching the network anywhere but PREMIRRORS, populated solely from SOURCE_MIRROR_URL
# BB_FETCH_PREMIRRORONLY = "1"

# SDK Variables
SDKMACHINE ?= "x86_64"
SDK_EXT_TYPE = "minimal"
SDK_INCLUDE_TOOLCHAIN = "1"
SDK_INCLUDE_BUILDTOOLS = "0"

 

 

I do get an error. 

 

ERROR: xxx-xxxxx-xxxxxxx-xxxxx-1.0-r0 do_populate_sdk_ext: Failed to generate filtered task list for extensible SDK:

### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
core-image-minimal
core-image-full-cmdline
core-image-sato
core-image-weston
meta-toolchain
meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86-64'.

Other commonly useful commands are:
- 'devtool' and 'recipetool' handle common recipe tasks
- 'bitbake-layers' handles common layer tasks
- 'oe-pkgdata-util' handles common target package tasks
ERROR: bitbake failed:
WARNING: You are using a local hash equivalence server but have configured an sstate mirror. This will likely mean no sstate will match from the mirror. You may wish to disable the hash equivalence use (BB_HASHSERVE), or use a hash equivalence server alongside the sstate mirror.
WARNING: You are using a local hash equivalence server but have configured an sstate mirror. This will likely mean no sstate will match from the mirror. You may wish to disable the hash equivalence use (BB_HASHSERVE), or use a hash equivalence server alongside the sstate mirror.
Loading cache...done.
Loaded 0 entries from dependency cache.
Parsing recipes...done.
ERROR: No recipes in default available for:
/layers/meta-freescale/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.bbappend
/recipes-bsp/imx-atf/imx-atf_%.bbappend
recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend
/recipes-bsp/imx-mkimage/imx-mkimage_git.bbappend
/recipes-bsp/scfw-deere-display/imx-sc-firmware_%.bbappend
No recipes in ngpd2 available for:
layers/meta-freescale/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.bbappend
/imx-atf/imx-atf_%.bbappend
p/imx-mkimage/imx-boot_1.0.bbappend
imx-mkimage_git.bbappend
y/imx-sc-firmware_%.bbappend
Parsing of 5594 .bb files complete (0 cached, 5594 parsed). 8682 targets, 1176 skipped, 0 masked, 0 errors.

Summary: There were 2 WARNING messages.
Summary: There was 1 ERROR message, returning a non-zero exit code.
ERROR: Logfile of failure stored in: /log.do_populate_sdk_ext.2230270
ERROR: Task .bb:do_populate_sdk_ext) failed with exit code '1'
Pseudo log:
path mismatch [8 links]: ino 28324762 db '/meta-freescale/EULA'.
Setup complete, sending SIGUSR1 to pid 2229735.

0 Kudos
Reply

397 Views
TimNew
Contributor I

Yes, bitbake works. I used it to generate the SDK and normal images

0 Kudos
Reply