Why does EXTERNALSRC for bitbake u-boot fail with SDK 2.0-1703?

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

Why does EXTERNALSRC for bitbake u-boot fail with SDK 2.0-1703?

1,148 Views
Gandalf-kern
Contributor IV

At least two bitbake failures noted when using EXTERNALSRC for 1703: 1. git error and 2. no make rule for ls1043ardb_nand_config. Please explain why and a solution especially for the 2nd issue where there is no rule to make ls1043ardb_nand_config?

make: *** No rule to make target `ls1043ardb_nand_config'.  Stop.

Loading cache: 100%

|#######################################################################

|#############################################################|

ETA:  00:00:00

Loaded 3438 entries from dependency cache.

NOTE: Resolving any missing task queue dependencies

 

Build Configuration:

BB_VERSION        = "1.28.0"

BUILD_SYS         = "x86_64-linux"

NATIVELSBSTRING   = "Ubuntu-14.04"

TARGET_SYS        = "aarch64-fsl-linux"

MACHINE           = "ls1043ardb"

DISTRO            = "fsl-qoriq"

DISTRO_VERSION    = "2.0"

TUNE_FEATURES     = "aarch64"

TARGET_FPU        = ""

meta

meta-yocto

meta-yocto-bsp    = "HEAD:9a211a4a2c1bfcb292dc97d8dcac149bca9e3f1b"

meta-oe

meta-multimedia

meta-gnome

meta-networking

meta-perl

meta-python

meta-ruby

meta-filesystems

meta-webserver

meta-xfce         = "HEAD:dc5634968b270dde250690609f0015f881db81f2"

meta-freescale    = "HEAD:7facbdb726e2dda0515e084c2066a4b8dd99c6d2"

meta-freescale-internal = "HEAD:4829293f807e35a1111e79763294fc8b98b97810"

meta-freescale-extra = "HEAD:bee911b027e0480b034674d0ddee3fcb06d2e985"

meta-virtualization = "HEAD:042425c1d98bdd7e44a62789bd03b375045266f5"

meta-java         = "HEAD:8b776ac68f9af4596be3824152bcf0bc6b67fa1d"

meta-openstack

meta-openstack-aio-deploy

meta-openstack-compute-deploy

meta-openstack-compute-test-config

meta-openstack-controller-deploy

meta-openstack-controller-test-config

meta-openstack-qemu

meta-openstack-swift-deploy

meta-cloud-services = "HEAD:d8bc0d92d0f741e2ea1e6d3d9bc6b7a091d03cfb"

meta-security     = "HEAD:f9367e71f923fc7d2fb600208e2b97535ea41777"

meta-linaro-toolchain = "HEAD:10b71bed9cfe76baa22c72806ff814cf85c2f73b"

meta-nxp-npi-1703 =

"jethro-sdk-v2.0-ga-17.03:d8f8d3a5d3ee18f881466938b847cef9b08c4a35"

 

NOTE: Preparing RunQueue

NOTE: Checking sstate mirror object availability (for 4 objects)

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

NOTE: linux-qoriq: compiling from external source tree /home/tlsmith/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/../src/ls1043ardb-fsl-linux/linux-qoriq/4.1-r0/git

NOTE: u-boot-qoriq: compiling from external source tree /home/tlsmith/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/../src/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git

ERROR: Function failed: do_compile (log file is located at

/home/tlsmith/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/temp/log.do_compile.28966)

ERROR: Logfile of failure stored in:

/home/tlsmith/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/temp/log.do_compile.28966

Log data follows:

| DEBUG: Executing python function externalsrc_compile_prefunc

| NOTE: u-boot-qoriq: compiling from external source tree

/home/tlsmith/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/../src/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git

| DEBUG: Python function externalsrc_compile_prefunc finished

| DEBUG: Executing shell function do_compile

| WARNING:

| /home/tlsmith/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/

| ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/temp/run.do_compil

| e.28966:1

exit 128 from

|   head=`git rev-parse --verify --short HEAD 2> /dev/null`

| ERROR: Function failed: do_compile (log file is located at

/home/tlsmith/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/temp/log.do_compile.28966)

ERROR: Task 3 (/home/tlsmith/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-nxp-npi-1703/recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb,

do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 593 tasks of which 589 didn't need to be rerun and 1 failed.

Waiting for 0 running tasks to finish:

 

Summary: 1 task failed:

  /home/tlsmith/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-nxp-npi-1703/recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb,

do_compile

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

------

NOTE: Preparing RunQueue

NOTE: Checking sstate mirror object availability (for 4 objects)

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

NOTE: linux-qoriq: compiling from external source tree /home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/../src/ls1043ardb-fsl-linux/linux-qoriq/4.1-r0/git

NOTE: u-boot-qoriq: compiling from external source tree /home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/../src/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git

ERROR: oe_runmake failed

ERROR: Function failed: do_compile (log file is located at

/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/temp/log.do_compile.27947)

ERROR: Logfile of failure stored in:

/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/temp/log.do_compile.27947

Log data follows:

| DEBUG: Executing python function externalsrc_compile_prefunc

| NOTE: u-boot-qoriq: compiling from external source tree

/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/../src/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git

| DEBUG: Python function externalsrc_compile_prefunc finished

| DEBUG: Executing shell function do_compile

| NOTE: make -j 24 CROSS_COMPILE=aarch64-fsl-linux-

CC=aarch64-fsl-linux-gcc

--sysroot=/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/sysroots/ls1043ardb

 LD=aarch64-fsl-linux-ld  HOSTCC=gcc

-isystem/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/sysroots/x86_64-linux/usr/include

-O2 -pipe -L/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/sysroots/x86_64-linux/usr/lib

-L/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/sysroots/x86_64-linux/lib

-Wl,-rpath-link,/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/sysroots/x86_64-linux/usr/lib

-Wl,-rpath-link,/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/sysroots/x86_64-linux/lib

-Wl,-rpath,/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/sysroots/x86_64-linux/usr/lib

-Wl,-rpath,/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/sysroots/x86_64-linux/lib

-Wl,-O1 CONFIG_CW=1 O=ls1043ardb_nand_config ls1043ardb_nand_config

| make: *** No rule to make target `ls1043ardb_nand_config'.  Stop.

| WARNING:

| /home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/w

| ork/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/temp/run.do_co

| mpile.27947:1

exit 1 from

|   exit 1

| ERROR: oe_runmake failed

| ERROR: Function failed: do_compile (log file is located at

/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/temp/log.do_compile.27947)

ERROR: Task 3 (/home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/sources/meta-nxp-npi-1703/recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb,

do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 593 tasks of which 589 didn't need to be rerun and 1 failed.

Waiting for 0 running tasks to finish:

 

Summary: 1 task failed:

  /home/tlsmith/neo_mcu_eos-qoriq_v2_sources_1703/sources/meta-nxp-npi-1703/recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb,

Labels (1)
Tags (1)
0 Kudos
1 Reply

808 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Tracy Smith,

For your first problem, please add the following line at the beginning of the file sources/meta-nxp-npi-1703/recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb.

SCMVERSION = ""

For your second problem, please also add the following line in the file sources/meta-freescale/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb, which you mentioned in another thread.

EXTERNALSRC_BUILD = "${TOPDIR}/..src/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git"


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos