Kernel configuration isn't applied on linux-yocto-rt
Hi,
I am currently trying to compile the linux-yocto-rt kernel for a custom board (called iot2000 here) based on the Intel Galileo platform.
The build fails, because the kernel configuration isn't applied.
However, the bitbake environment of the linux-yocto-rt target looks good to me and everything works when I switch to the linux-yocto kernel, where the same configuration is applied.
Any help would be appreciated.
Thanks, and have a nice day,
Claudius Heine
$ bitbake linux-yocto-rt [...] Build Configuration: BB_VERSION = "1.30.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "i586-poky-linux" MACHINE = "iot2000" DISTRO = "poky" DISTRO_VERSION = "2.1.1" TUNE_FEATURES = "m32 i586-nlp" TARGET_FPU = "" meta-multimedia meta-networking meta-python meta-oe = "krogoth:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a" meta meta-poky meta-yocto-bsp = "krogoth:aad7166704021d82ad3a5ec468552f8f10360d41" meta-intel = "HEAD:141e71af3c59f9bd5d45029a418de2e1ce90aacd" meta-intel-iot-middleware = "master:821cf14c8304669d9ce0c5b87b9be5a6eecff6e5" meta-iot2000-bsp meta-iot2000-example = "jan/patches:d9177e0902dbd907a9528edf38d522eecd8dc3b9" meta-java = "master:8c663efa4f8efccf50d094dbc61c7b78031b3b7d"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-yocto-rt-4.4.18+gitAUTOINC+59290c5f61_b5e21aa988-r0do_package_qa: QA Issue: Architecture did not match (3 to 62) on work/i586-nlp-32-intel-common-poky-linux/linux-yocto- rt/4.4.18+gitAUTOINC+59290c5f61_b5e21aa988-r0/packages-split/kernel- vmlinux/boot/vmlinux-4.4.20-rt19-yocto-preempt-rt [arch]
ERROR: linux-yocto-rt-4.4.18+gitAUTOINC+59290c5f61_b5e21aa988-r0do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: linux-yocto-rt-4.4.18+gitAUTOINC+59290c5f61_b5e21aa988-r0do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/build/fast/tmp/work/i586- nlp-32-intel-common-poky-linux/linux-yocto- rt/4.4.18+gitAUTOINC+59290c5f61_b5e21aa988- r0/temp/log.do_package_qa.5212
ERROR: Task 16 (/home/build/yocto/meta/recipes-kernel/linux/linux- yocto-rt_4.4.bb, do_package_qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 389 tasks of which 388 didn't need to be rerun and 1 failed.
No currently running tasks (388 of 390)
Summary: 1 task failed:
/home/build/yocto/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb, do_package_qa
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
local.conf: http://pastebin.com/PQJZvgtt
iot2000.conf: http://pastebin.com/HLXX3Ej2
linux-yocto-rt files: http://bit.ly/2csJXuV
linux-yocto-rt environment: http://bit.ly/2cNGF25
linux-yocto-rt resulting config: http://bit.ly/2d4BSv3
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: [email protected]
Claudius, I am running into similar issues with linux-yocto-rt. I am working out of poky/krogoth.
I have the following two lines set at the end of local.conf
COMPATIBLE_MACHINE_genericx86 = "genericx86" PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
I also have MACHINE ?= "genericx86" which I think should be sufficient for a 32bit build. SDKMACHINE ?= "i686" as well for the SDK.
I have been unable to obtain a build. I have no idea what else needs to be set. If you figure it out let me know.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Claudius Heine
Sent: Friday, September 16, 2016 2:12 AM
To: [email protected]
Cc: Jan Kiszka <[email protected]>
Subject: [EXTERNAL] [yocto] [meta-intel][Galileo] Kernel configuration isn't applied on linux-yocto-rt
Hi,
I am currently trying to compile the linux-yocto-rt kernel for a custom board (called iot2000 here) based on the Intel Galileo platform.
The build fails, because the kernel configuration isn't applied.
However, the bitbake environment of the linux-yocto-rt target looks good to me and everything works when I switch to the linux-yocto kernel, where the same configuration is applied.
Any help would be appreciated.
Thanks, and have a nice day,
Claudius Heine
$ bitbake linux-yocto-rt [...] Build Configuration: BB_VERSION = "1.30.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "i586-poky-linux" MACHINE = "iot2000" DISTRO = "poky" DISTRO_VERSION = "2.1.1" TUNE_FEATURES = "m32 i586-nlp" TARGET_FPU = "" meta-multimedia meta-networking meta-python meta-oe = "krogoth:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a" meta meta-poky meta-yocto-bsp = "krogoth:aad7166704021d82ad3a5ec468552f8f10360d41" meta-intel = "HEAD:141e71af3c59f9bd5d45029a418de2e1ce90aacd" meta-intel-iot-middleware = "master:821cf14c8304669d9ce0c5b87b9be5a6eecff6e5" meta-iot2000-bsp meta-iot2000-example = "jan/patches:d9177e0902dbd907a9528edf38d522eecd8dc3b9" meta-java = "master:8c663efa4f8efccf50d094dbc61c7b78031b3b7d"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-yocto-rt-4.4.18+gitAUTOINC+59290c5f61_b5e21aa988-r0do_package_qa: QA Issue: Architecture did not match (3 to 62) on work/i586-nlp-32-intel-common-poky-linux/linux-yocto- rt/4.4.18+gitAUTOINC+59290c5f61_b5e21aa988-r0/packages-split/kernel- vmlinux/boot/vmlinux-4.4.20-rt19-yocto-preempt-rt [arch]
ERROR: linux-yocto-rt-4.4.18+gitAUTOINC+59290c5f61_b5e21aa988-r0do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: linux-yocto-rt-4.4.18+gitAUTOINC+59290c5f61_b5e21aa988-r0do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/build/fast/tmp/work/i586- nlp-32-intel-common-poky-linux/linux-yocto- rt/4.4.18+gitAUTOINC+59290c5f61_b5e21aa988-
r0/temp/log.do_package_qa.5212
ERROR: Task 16 (/home/build/yocto/meta/recipes-kernel/linux/linux- yocto-rt_4.4.bb, do_package_qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 389 tasks of which 388 didn't need to be rerun and 1 failed. No currently running tasks (388 of 390)
Summary: 1 task failed:
/home/build/yocto/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb, do_package_qa
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
local.conf: https://urldefense.proofpoint.com/v2/url?u=http-3A__pastebin.com_PQJZvgtt&d=DQIGaQ&c=oTZJxWjXA97U5efbDJZGEg&r=uNDdMisgO1TeK0HLqspkDVxt_f3Oh6mt6bTm6TDLFdI&m=hb3V9S4ie-9nXoo7iPnZYbZiSYVmkmZnlktUw7wPn00&s=5tN1POnr__GA01CmwBwCVhbtsPLTXIHotZMNz5gRbP4&e=
iot2000.conf: https://urldefense.proofpoint.com/v2/url?u=http-3A__pastebin.com_HLXX3Ej2&d=DQIGaQ&c=oTZJxWjXA97U5efbDJZGEg&r=uNDdMisgO1TeK0HLqspkDVxt_f3Oh6mt6bTm6TDLFdI&m=hb3V9S4ie-9nXoo7iPnZYbZiSYVmkmZnlktUw7wPn00&s=DHwN96wvLAjpTQaA4AOEqvwD0TbosOCILadQls91zyk&e=
linux-yocto-rt files: https://urldefense.proofpoint.com/v2/url?u=http-3A__bit.ly_2csJXuV&d=DQIGaQ&c=oTZJxWjXA97U5efbDJZGEg&r=uNDdMisgO1TeK0HLqspkDVxt_f3Oh6mt6bTm6TDLFdI&m=hb3V9S4ie-9nXoo7iPnZYbZiSYVmkmZnlktUw7wPn00&s=lfRt9i--QmlPeY-I3DY-xMc2UQ2h4Q3iPmkG27Q_sgI&e=
linux-yocto-rt environment: https://urldefense.proofpoint.com/v2/url?u=http-3A__bit.ly_2cNGF25&d=DQIGaQ&c=oTZJxWjXA97U5efbDJZGEg&r=uNDdMisgO1TeK0HLqspkDVxt_f3Oh6mt6bTm6TDLFdI&m=hb3V9S4ie-9nXoo7iPnZYbZiSYVmkmZnlktUw7wPn00&s=LRiFKA4CiPyPgSgvHl1xg8v1tlDdOH0nNIVP9rC8sjo&e=
linux-yocto-rt resulting config: https://urldefense.proofpoint.com/v2/url?u=http-3A__bit.ly_2d4BSv3&d=DQIGaQ&c=oTZJxWjXA97U5efbDJZGEg&r=uNDdMisgO1TeK0HLqspkDVxt_f3Oh6mt6bTm6TDLFdI&m=hb3V9S4ie-9nXoo7iPnZYbZiSYVmkmZnlktUw7wPn00&s=hyZuOKFGRx_eE1xbvGvmw58UlKY3Rp8l1g2Ys8sgjd0&e=
Signature · 8 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: [email protected] -- _______________________________________________ yocto mailing list [email protected] https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_listinfo_yocto&d=DQIGaQ&c=oTZJxWjXA97U5efbDJZGEg&r=uNDdMisgO1TeK0HLqspkDVxt_f3Oh6mt6bTm6TDLFdI&m=hb3V9S4ie-9nXoo7iPnZYbZiSYVmkmZnlktUw7wPn00&s=OchZOmYmN5Hhu1t3awBTQFhgexUyAWeJXS4EZQQLfJQ&e=
Hi,
in order to isolate this issue I removed every layer with the exception of poky and compiled linux-yocto-rt for "qemux86" with success. (CONFIG_64BIT was set to n)
Then I added the meta-intel layer and compiled the real time kernel for "intel-core2-32" also with success. (CONFIG_64BIT=n)
However choosing "intel-quark" resulted in the aforementioned error. (CONFIG_64BIT=y)
So I suppose its a meta-intel upstream bug.
My Layers:
poky: "krogoth:aad7166704021d82ad3a5ec468552f8f10360d41"
meta-intel: 141e71af3c59f9bd5d45029a418de2e1ce90aacd
with reverted: 7d00922e1cd3caabb8046e68a6107b9f4f3f1d34 because this poky version only supports gummiboot not systemd-boot
regards,
Claudius
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: [email protected]