Wind River Support Network

HomeDefectsLIN6-9256
Fixed

LIN6-9256 : intel-quark: Failed to build with scp

Created: Jan 16, 2015    Updated: Dec 3, 2018
Resolved Date: Jan 18, 2015
Found In Version: 6.0
Fix Version: 6.0.0.17
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async

Description

Key logs:

Creating project properties
NOTE: Sanity check: prelink was disabled for the secure configuration.
NOTE: validating kernel config, see log.do_kernel_configcheck for details
ERROR: Function failed: do_compile (log file is located at /intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/temp/do_compile/log.do_compile.90147)
ERROR: Logfile of failure stored in: /intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/temp/do_compile/log.do_compile.90147
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -e MAKEFLAGS= BASETOOLS=/intel-quark-secure/bitbake_build/tmp/sysroots/x86_64-linux/opt/BaseTools/BinWrappers/PosixLike INF_DIR=/intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/spi-flash-tools_v1.1.0-rc2/sysimage/inf -C /intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/spi-flash-tools_v1.1.0-rc2 layout.mk LAYOUTFILE=sysimage-galileo/layout-8M.conf KEYFILE=sysimage/key.pem
| |       ----------------------
| | List of sub-directories with a layout.conf file:
| |       ----------------------
| ---------------------
| | FV_MODULES directory (for recovery stage2) = FV/FlashModules
| ---------------------
| make: Entering directory `/intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/spi-flash-tools_v1.1.0-rc2'
| .//generator/generator.py sysimage-galileo/layout-8M.conf -M
| Found boot_index=0 in section Signed Stage1 Image1
| # When building on NFS with high precision timestamps you
| # might see a harmless "clock skew" warning. If that bothers
| # you then enable the next line:
| # usleep 100000 || sleep 1
| make: Leaving directory `/intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/spi-flash-tools_v1.1.0-rc2'
| NOTE: make -e MAKEFLAGS= BASETOOLS=/intel-quark-secure/bitbake_build/tmp/sysroots/x86_64-linux/opt/BaseTools/BinWrappers/PosixLike INF_DIR=/intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/spi-flash-tools_v1.1.0-rc2/sysimage/inf -C /intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/spi-flash-tools_v1.1.0-rc2 capsule LAYOUTFILE=sysimage-galileo/layout-8M.conf LAYOUT_MK_DIR=/intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/spi-flash-tools_v1.1.0-rc2/sysimage-galileo KEYFILE=sysimage/key.pem
| ---------------------
| | FV_MODULES directory (for recovery stage2) = /intel-quark-secure/bitbake_build/tmp/sysroots/intel-quark/opt/edk2/Build/QuarkPlatform/RELEASE_GCC46/FV/FlashModules
| ---------------------
| make: Entering directory `/intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/spi-flash-tools_v1.1.0-rc2'
| gcc -isystem/intel-quark-secure/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -isystem/intel-quark-secure/bitbake_build/tmp/sysroots/x86_64-linux/usr/include  -c -o asset-signing-tool/sign.o asset-signing-tool/sign.c
| gcc -isystem/intel-quark-secure/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/intel-quark-secure/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib -L/intel-quark-secure/bitbake_build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/intel-quark-secure/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/intel-quark-secure/bitbake_build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/intel-quark-secure/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/intel-quark-secure/bitbake_build/tmp/sysroots/x86_64-linux/lib -Wl,-O1 asset-signing-tool/sign.o -lcrypto -o asset-signing-tool/sign
| ln -sfn '/intel-quark-secure/bitbake_build/tmp/sysroots/intel-quark/opt/edk2/Build/QuarkPlatform/RELEASE_GCC46/FV/FlashModules/EDKII_RECOVERY_IMAGE1.Fv' 'EDKII_RECOVERY_IMAGE1.Fv'
| # Hardcoding all SVNs to zero. TODO collect these from the built assets.
| printf '0x0' > EDKII_RECOVERY_IMAGE1.Fv.SVN
| ./asset-signing-tool/sign -i EDKII_RECOVERY_IMAGE1.Fv -o EDKII_RECOVERY_IMAGE1.Fv.signed -k 'sysimage/key.pem' -b 0x400 -s "$(cat EDKII_RECOVERY_IMAGE1.Fv.SVN)" -x '2'
| ln -sfn '/intel-quark-secure/bitbake_build/tmp/sysroots/intel-quark/opt/edk2/Build/QuarkPlatform/RELEASE_GCC46/FV/FlashModules/EDKII_BOOT_STAGE1_IMAGE1.Fv' 'EDKII_BOOT_STAGE1_IMAGE1.Fv'
| # Hardcoding all SVNs to zero. TODO collect these from the built assets.
| printf '0x0' > EDKII_BOOT_STAGE1_IMAGE1.Fv.SVN
| ./asset-signing-tool/sign -i EDKII_BOOT_STAGE1_IMAGE1.Fv -o EDKII_BOOT_STAGE1_IMAGE1.Fv.signed -k 'sysimage/key.pem' -b 0x400 -s "$(cat EDKII_BOOT_STAGE1_IMAGE1.Fv.SVN)" -x '1'
| ln -sfn '/intel-quark-secure/bitbake_build/tmp/sysroots/intel-quark/opt/edk2/Build/QuarkPlatform/RELEASE_GCC46/FV/FlashModules/EDKII_BOOT_STAGE1_IMAGE2.Fv' 'EDKII_BOOT_STAGE1_IMAGE2.Fv'
| # Hardcoding all SVNs to zero. TODO collect these from the built assets.
| printf '0x0' > EDKII_BOOT_STAGE1_IMAGE2.Fv.SVN
| ./asset-signing-tool/sign -i EDKII_BOOT_STAGE1_IMAGE2.Fv -o EDKII_BOOT_STAGE1_IMAGE2.Fv.signed -k 'sysimage/key.pem' -b 0x400 -s "$(cat EDKII_BOOT_STAGE1_IMAGE2.Fv.SVN)" -x '1'
| ln -sfn '/intel-quark-secure/bitbake_build/tmp/sysroots/intel-quark/opt/edk2/Build/QuarkPlatform/RELEASE_GCC46/FV/FlashModules/EDKII_BOOT_STAGE2_COMPACT.Fv' 'EDKII_BOOT_STAGE2_COMPACT.Fv'
| # Hardcoding all SVNs to zero. TODO collect these from the built assets.
| printf '0x0' > EDKII_BOOT_STAGE2_COMPACT.Fv.SVN
| ./asset-signing-tool/sign -i EDKII_BOOT_STAGE2_COMPACT.Fv -o EDKII_BOOT_STAGE2_COMPACT.Fv.signed -k 'sysimage/key.pem' -b 0x400 -s "$(cat EDKII_BOOT_STAGE2_COMPACT.Fv.SVN)" -x '3'
| make: *** No rule to make target `/intel-quark-secure/bitbake_build/tmp/sysroots/intel-quark/boot/grub/grub-galileo.conf', needed by `grub-galileo.conf'.  Stop.
| make: Leaving directory `/intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/spi-flash-tools_v1.1.0-rc2'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /intel-quark-secure/bitbake_build/tmp/work/x86_64-linux/spi-layout-tools/1.1.0-rc2-r0/temp/do_compile/log.do_compile.90147)
ERROR: Task 2186 (/intel-quark-secure/layers/wr-bsps/intel-quark/recipes-support/spi-layout-tools/spi-layout-tools_1.1.0-rc2.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2646 tasks of which 239 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /intel-quark-secure/layers/wr-bsps/intel-quark/recipes-support/spi-layout-tools/spi-layout-tools_1.1.0-rc2.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [export/intel-quark-secure-platform-secure-dist.tar.bz2] Error 1
$

Steps to Reproduce

Build steps
${WRL6_Async}/configure \
--enable-board=intel-quark \
--enable-reconfig \
--enable-addons=wr-secure \
--enable-kernel=secure \
--enable-rootfs=secure-platform \
--with-template=feature/secure-boot &&make fs

Other Downloads


Live chat
Online