AnsweredAssumed Answered

Error builidng fsl-image-core after kernel configuration update

Question asked by Matthew Rendell on Feb 10, 2017

Hello,

 

I am developing for a T1040D4RDB using the SDK v2.0-1701 and have an issue when I build fsl-image-core after modifying the kernel configuration.


Typically I perform these steps (on a CentOS 7 host):

$ cd QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/

$ . ./SOURCE_THIS

$ . /opt/fsl-qoriq/2.0/environment-setup-ppce5500-fsl-linux

$ bitbake fsl-image-core


After the image is built, the files are located in tmp/deploy/images/t1040d4rdb/ and can be successfully downloaded and run on the target. Linux boots fine and all is well.

 

When I attempt to modify the kernel configuration I perform these steps:

$ bitbake virtual/kernel -c cleansstate

$ bitbake virtual/kernel -c menuconfig


Using the Linux/powerpc 4.1.35 Kernel Configuration too I set the General setup/Local version from () to (HELLO) and set Kernel hacking/Filter access to /dev/mem from [Y] to [ ] and save the configuration as '.config'.


Running:

$ bitmake fsl-image-core


Results in the error messages:

Parsing recipes: 100% |###############################################################################################################| Time: 00:00:51
Parsing of 2688 .bb files complete (0 cached, 2688 parsed). 3377 targets, 241 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

 

Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "CentOS-7.3.1611"
TARGET_SYS = "powerpc-fsl-linux"
MACHINE = "t1040d4rdb"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "2.0"
TUNE_FEATURES = "m32 fpu-hard e5500"
TARGET_FPU = "hard"
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-nxp-npi-1701 = "jethro-sdk-v2.0-ga-1701:11975eebce9096a3567d00ba2067a2dbd2ed4d5c"

 

NOTE: Preparing RunQueue
NOTE: Checking sstate mirror object availability (for 6 objects)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Unable to install packages. Command '/home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin/smart --log-level=warning --data-dir=/home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/t1040d4rdb-fsl-linux/fsl-image-core/1.0-r0/rootfs/var/lib/smart install -y gcc@ppce5500 lsb@ppce5500 packagegroup-fsl-mfgtools@all gdbserver@ppce5500 packagegroup-core-ssh-openssh@all packagegroup-core-boot@t1040d4rdb gdb@ppce5500 udev-extraconf@ppce5500 packagegroup-fsl-tools-core@all packagegroup-fsl-benchmark-core@all run-postinsts@all packagegroup-fsl-networking-core@all binutils@ppce5500 udev-rules-qoriq@ppce5500' returned 1:
Loading cache...
Updating cache... ######################################## [100%]

 

Computing transaction...error: Can't install kernel-module-cryptodev-1.8-r0@t1040d4rdb: no package provides kernel-4.1.35-rt41+gb14540e


ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/t1040d4rdb-fsl-linux/fsl-image-core/1.0-r0/temp/log.do_rootfs.31694
ERROR: Task 7 (/home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-fsl/images/fsl-image-core.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3317 tasks of which 3304 didn't need to be rerun and 1 failed.
No currently running tasks (3317 of 3318)

 

Summary: 1 task failed:
/home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-fsl/images/fsl-image-core.bb, do_rootfs
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

 

The contents of the referenced Logfile is:

 

DEBUG: Executing python function rootfs_process_ignore
DEBUG: Python function rootfs_process_ignore finished
DEBUG: Executing python function rootfs_runtime_mapping
DEBUG: Python function rootfs_runtime_mapping finished
DEBUG: Executing python function do_rootfs
NOTE: configuring RPM platform settings
NOTE: configuring RPM system provides
NOTE: configuring RPM DB settings
NOTE: configuring Smart settings
NOTE: Note: adding Smart channel t1040d4rdb (35)
NOTE: Note: adding Smart channel ppce5500 (30)
NOTE: Note: adding Smart channel all (25)
NOTE: adding Smart RPM DB channel
NOTE: Note: configuring RPM cross-install scriptlet_wrapper
NOTE: ###### Generate rootfs #######
NOTE: Executing '/home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin/createrepo --dbpath /home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/t1040d4rdb-fsl-linux/fsl-image-core/1.0-r0/rpmdb/all --update -q /home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/deploy/rpm/all' ...
NOTE: Executing '/home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin/createrepo --dbpath /home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/t1040d4rdb-fsl-linux/fsl-image-core/1.0-r0/rpmdb/x86_64_nativesdk --update -q /home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/deploy/rpm/x86_64_nativesdk' ...
NOTE: Executing '/home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin/createrepo --dbpath /home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/t1040d4rdb-fsl-linux/fsl-image-core/1.0-r0/rpmdb/t1040d4rdb --update -q /home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/deploy/rpm/t1040d4rdb' ...
NOTE: Executing '/home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin/createrepo --dbpath /home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/t1040d4rdb-fsl-linux/fsl-image-core/1.0-r0/rpmdb/ppce5500 --update -q /home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/deploy/rpm/ppce5500' ...
NOTE: Installing the following packages: gcc lsb packagegroup-fsl-mfgtools gdbserver packagegroup-core-ssh-openssh packagegroup-core-boot gdb udev-extraconf packagegroup-fsl-tools-core packagegroup-fsl-benchmark-core run-postinsts packagegroup-fsl-networking-core binutils udev-rules-qoriq
NOTE: to be installed: gcc@ppce5500 lsb@ppce5500 packagegroup-fsl-mfgtools@all gdbserver@ppce5500 packagegroup-core-ssh-openssh@all packagegroup-core-boot@t1040d4rdb gdb@ppce5500 udev-extraconf@ppce5500 packagegroup-fsl-tools-core@all packagegroup-fsl-benchmark-core@all run-postinsts@all packagegroup-fsl-networking-core@all binutils@ppce5500 udev-rules-qoriq@ppce5500
NOTE: /home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin/smart --log-level=warning --data-dir=/home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/t1040d4rdb-fsl-linux/fsl-image-core/1.0-r0/rootfs/var/lib/smart install -y gcc@ppce5500 lsb@ppce5500 packagegroup-fsl-mfgtools@all gdbserver@ppce5500 packagegroup-core-ssh-openssh@all packagegroup-core-boot@t1040d4rdb gdb@ppce5500 udev-extraconf@ppce5500 packagegroup-fsl-tools-core@all packagegroup-fsl-benchmark-core@all run-postinsts@all packagegroup-fsl-networking-core@all binutils@ppce5500 udev-rules-qoriq@ppce5500
ERROR: Unable to install packages. Command '/home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin/smart --log-level=warning --data-dir=/home/mjrendell/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/t1040d4rdb-fsl-linux/fsl-image-core/1.0-r0/rootfs/var/lib/smart install -y gcc@ppce5500 lsb@ppce5500 packagegroup-fsl-mfgtools@all gdbserver@ppce5500 packagegroup-core-ssh-openssh@all packagegroup-core-boot@t1040d4rdb gdb@ppce5500 udev-extraconf@ppce5500 packagegroup-fsl-tools-core@all packagegroup-fsl-benchmark-core@all run-postinsts@all packagegroup-fsl-networking-core@all binutils@ppce5500 udev-rules-qoriq@ppce5500' returned 1:
Loading cache...
Updating cache...               ######################################## [100%]

 

Computing transaction...error: Can't install kernel-module-cryptodev-1.8-r0@t1040d4rdb: no package provides kernel-4.1.35-rt41+gb14540e


DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs

 

Can anyone offer any advice as to why the build is failing?

 

Thanks,

 

Matthew

Outcomes