summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-10-15bitbake/lib/toaster/toastermain/urls.py: WIP debug hackstimo/debug-toasterTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/lib/toaster/toastermain/settings.py: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/lib/toaster/bldcontrol/bbcontroller.py: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/lib/bb/ui/toasterui.py: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/lib/bb/server/xmlrpcserver.py: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/lib/bb/server/xmlrpcclient.py: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/lib/bb/server/process.py: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/lib/bb/main.py: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/lib/bb/cookerdata.py: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/lib/bb/cooker.py: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/lib/bb/command.py: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/lib/bb/__init__.py: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-15bitbake/bin/bitbake: WIP debug hacksTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
2020-10-13local.conf.sample.extended: Fix comment typoNaoki Hayama
Fix comment typo. s/overriden/overridden/ s/spefying/specifying/ (From meta-yocto rev: 5c73a7a8cc2ab739128ffe79f29ac5a6acb51c0e) Signed-off-by: Naoki Hayama <naoki.hayama@lineo.co.jp> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13local.conf.sample: Fix comment typoNaoki Hayama
Fix comment typo. s/necesary/necessary/ (From meta-yocto rev: 94d1714f8ecbedb6fabad72c58d3e4e86c087202) Signed-off-by: Naoki Hayama <naoki.hayama@lineo.co.jp> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13linux-yocto: update genericx86* SRCREV for 5.8Naveen Saini
Bump to kernel release v5.8.13 (From meta-yocto rev: 1c7a7a43213d53d2b9cd1dd850ae1b859400426a) Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13linux-yocto: update genericx86* SRCREV for 5.4Naveen Saini
Bump to kernel release v5.4.69 (From meta-yocto rev: 672c04902d733e150a5bbdbcb6cc9ce1cc5ee9a9) Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13IMAGE_LOCALES_ARCHIVE: add option to prevent locale archive creationMichael Thalmeier
Under some circumstances it is not desirable to create a combined locale archive (/usr/lib/locale/locale-archive). The new variable IMAGE_LOCALES_ARCHIVE defaults to '1', so the default behaviour is not changed. (From OE-Core rev: 8d78b819c2ec33fce3a34254fa90864ee5fa7617) Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13uninative: Fix typo in error messageNaoki Hayama
Fix typo in an error message. s/verson/version/ (From OE-Core rev: bc96db2e0b5b8a9cc2c909ea70df290e03a50b94) Signed-off-by: Naoki Hayama <naoki.hayama@lineo.co.jp> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13tune-cortexa65.inc: Correct TUNE_FEATURES_tune-cortexa65Peter Kjellerstedt
It incorrectly specified "cortexa55" instead of "cortexa65". (From OE-Core rev: 25317c51d4d0ac922f4bd555aae9fbfe48a1aa40) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13tune-cortexa32: fix cortexa32 tuneJon Mason
Cortex-A32 is 32bit only, but the recent changes had it working as 64bit (causing build breaks). This reverts that change in this file. (From OE-Core rev: 2957379c85c245f183e7e94e30c2b504fc25cedf) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13classes/waf: Add build and install argumentsJoshua Watt
Adds variables that can be used to allow a recipe to pass extra arguments to `waf build` and `waf install`. In most cases, you want to pass the same arguments to `build` and `install` (since install is a superset of `build`), so by default setting EXTRA_OEWAF_BUILD also affects `waf install`, but this can be overridded. (From OE-Core rev: 493e17a2f5cbbbe3b1e435dadb281b007bca2cbf) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-11bitbake: process: Show command exceptions in the server log as wellRichard Purdie
There are autobuilder logs where the server commands are failing but we have no debug info in the server log. Improve this to try and understand what is failing. (Bitbake rev: 04d3a79226c9ea448b22f4efbab33876a72c9bdb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10oeqa/selftest/runtime_test: Exclude gpg directory from pseudo databaseRichard Purdie
Avoid pseudo abort()s like: path mismatch [1 link]: ino 6295376 db '/tmp/oeqa-feed-sign-2mw7z81v/S.gpg-agent.yocto-native' req '/tmp/jwkivmu6'. (From OE-Core rev: 189630ca6cdf7ceb6cf9b8f9d86c58997f505efc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10skeleton/baremetal-helloworld: Fix trailing slashRichard Purdie
This fixes a warning about a trailing slash on ${S}. (From OE-Core rev: 0685dac31a7ae614d9f75cd51b59c45dd050f52e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10rngd: fix --debug to also filter syslog() callsYann Dirson
Debug logs were only controlled by --debug flag while in --foreground mode. In --daemon mode (the default for us) /var/log/message got stuffed with details of entropy pool refilling, which is useless in production, and hamful when log rotation then gets rid of the more useful logs. This change makes the two modes consistently only produce debug logs when --debug is specified. (From OE-Core rev: 914526868656fd279b13ba8e4d721d27cb2a8792) Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10bitbake-bblayers/create: Make the example recipe print its messageYoann Congal
The example recipe is setup to print a message using bb.plain() in the "do_build" task but this task is "noexec" so the message never prints. This might be confusing. This moves the message printing into another "do_display_banner" task and add it to the do_build "before" list. (From OE-Core rev: 252385bef9b226f32691b8513869ea3e41813b40) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10oe-build-perf-report: Ensure correct data is shown for multiple branch optionsRichard Purdie
If --branch and --branch2 are the same, there is extra confusing data plotted onto the graph. Only do that if the branches are actually different. (From OE-Core rev: c263d810b7eb47ee90f2adeb5ab6decf7332bec2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10scripts/oe-build-perf-report: Allow operation with no buildstatsRichard Purdie
If buildstats is missing, avoid a backtrace. (From OE-Core rev: 23c4b21f947c7aae1303ca6526fc5aaaa9fc7bb8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10base.bbclass: warn when there is trailing slash in S or B variablesMartin Jansa
* to make sure we won't hit such corner cases in future add a warning to prevent trailing slashes and duplicated slashes even when they in most cases don't cause harm * only a few cases were found in layers included in my world builds: oe-core: 1 meta-oe: 7 meta-python2: 1 meta-qt5: 1 meta-aws: 1 will send patches for these once this warning is approved for oe-core (From OE-Core rev: 8a4c473c07cba159cf88ed775b9f073c6adf31d4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10mtd-utils: don't use trailing slash in SMartin Jansa
(From OE-Core rev: c77651549dd382007c60767076a1a1c72e282bca) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10base.bbclass: use os.path.normpath instead of just comparing WORKDIR and S ↵Martin Jansa
as strings * cannot use os.path.samefile, because S/B might not exist at this time yet * there is issue with PSEUDO_IGNORE_PATHS when some recipe sets e.g. S = "${WORKDIR}/" whole WORKDIR gets added to PSEUDO_IGNORE_PATHS and then the build can fail with various strange errors, in my case do_package was failing when do_package calls: fix_perms(.../1.0-r0/package/etc, 755, 0, 0, /etc) and fails with "[Errno 1] Operation not permitted:" (From OE-Core rev: 50b11a61ab29acb8ec990668353e0b7305114628) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10bitbake: tinfoil: When sending commands we need to process eventsRichard Purdie
The server may be displaying useful information for the user through log messages so we should display anything that has been sent. Its either this or expecting every UI to implement this code around every command call which isn't good API. [YOCTO #14054] (Bitbake rev: 64ae9d7e2fad804dd9e12706c6d76b4b22f9586b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10bitbake: command: Ensure exceptions inheriting from BBHandledException are ↵Richard Purdie
visible Previous changes allowed BBHandledException to be detected but not exceptions which inherit from it. Fix this. The code really needs totally reworking to preserve the exceptions. [YOCTO #14054] (Bitbake rev: ef762d92df6c2554c6248e80212f984d9ec4c651) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09poky.conf: Drop OELAYOUT_ABI pokingRichard Purdie
This has been the same as OE-Core for a long time, drop our custom settings. (From meta-yocto rev: 8c1084f3fd4ca987c3307f4c4c1475b40060ce3f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09pseudo: Upgrade to include mkostemp64 wrapperRichard Purdie
Newer systems are using this currently unwrapped glibc function, add it. [YOCTO #14080] (From OE-Core rev: cba4f51f0166e2c20e854ee0344be0c58769eaca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09pseudo: Update to account for patches merged on branchRichard Purdie
(From OE-Core rev: ea22fb3aa1c5dd3edcd1d8b415a0843a9ee4677c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09abi_version,sanity: Tell users TMPDIR must be clean after pseudo changesRichard Purdie
After the recent path ignore changes, there are invalid entries in exiting pseudo databases which will trip up users with the new abort() (proving how common the pseudo potential corrpution is!). Inform them a clean TMPDIR is needed. (From OE-Core rev: 016ee90e210c9b15b80e8370d83f41a14867a413) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09timezone: update to 2020bArmin Kuster
For more info see: https://github.com/eggert/tz/blob/master/NEWS (From OE-Core rev: b19bc7ae71a59673bd725e1de3251667c2026ed5) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09armv8/tunes: Add tunes for supported ARMv8.2a coresJon Mason
Add tunes for all the ARMv8.2a cores currently supported in GCC. This is: Cortex-A65, Cortex-A65AE, Cortex-A75, Cortex-A76, Cortex-A76AE, Cortex-A77, Neoverse-E1, Neoverse-N1, Cortex-A75-Cortex-A55, and Cortex-A76-Cortex-A55. (From OE-Core rev: f15e83df1d4ed4172b43d5b353cf42640862a28e) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09armv8/tunes: Add tunes for supported ARMv8a coresJon Mason
Add tunes for all the ARMv8a cores currently supported in GCC. This is: Cortex-A34, Cortex-A73, and Cortex-A73-Cortex-A35. (From OE-Core rev: fdf6921f145658b1f1c2e7413a2cde6857ddb768) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09armv8/tunes: reference parent's TUNE_FEATURESJon Mason
Uniformity clean-up, have the individual tunes reference the armv8a TUNE_FEATURES. (From OE-Core rev: 3ac533127d444f39ad550ce923f494d0eb766ab5) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09armv8/tunes: Move TUNECONFLICTSJon Mason
Move TUNECONFLICTS to the generic arm64 inc file, so that it can provide coverage for more than just the big.LITTLE tunes. (From OE-Core rev: 8022543d79b62b0daa4c988e17cd3e2c364d3cf1) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08qemumips: use 34Kf-64tlb CPU emulationVictor Kamensky
In order to improve performance of qemumips autobuilder test runs, let's use 34Kf-64tlb cpu type that was introduced in OE version of qemu. 34Kf-64tlb cpu type is identical to 34Kf but it has 64 TLBs configure vs original 16 TLBs. The change in number of TLBs in emulated CPU reduces TLB trash and reduces number of times TLB refill kernel code runs, and therefore siginificantly improves tests execution time. Note 34Kf-64tlb qemu cpu type does not exist in upstream, so far it is added as patch in OE. See qemu 34Kf-64tlb cpu addition commit for more details. Fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=13992 (From OE-Core rev: 6a9568401cbf8bed89d1f63dae61a07a83a20b50) Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08qemu: add 34Kf-64tlb fictitious cpu typeVictor Kamensky
In Yocto Project PR 13992 it was reported that qemumips in autobuilder runs almost twice slower then qemumips64 and some times hit time out. Upon investigations of qemu-system with perf, gdb, and SystemTap and comparing qemumips and qemumips64 machines behavior it was noticed that qemu soft mmu code behaves quite different and in case if qemumips tlbwr instruction called 16 times more oftern. It happens that in qemumips64 case qemu runs with cpu type that contains 64 TLB, but in case of qemumips qemu runs with cpu type that contains only 16 TLBs. The idea of proposed qemu patch is to introduce fictitious 34Kf-64tlb cpu type that defined exactly as 34Kf but has 64 TLBs, instead of original 16 TLBs. Testing of core-image-full-cmdline:do_testimage with 34Kf-64tlb shows 40% or so test execution real time improvement. Note for future porters of the patch: easiest way to update the patch and be in sync with 34Kf definition is to copy 34Kf machine definition and apply the following changes to it (just change 15 to 63 of CP0C1_MMU bits value) [kamensky@coreos-lnx2 qemu]$ diff ~/34Kf.c ~/34Kf-64tlb.c 2c2 < .name = "34Kf", > .name = "34Kf-64tlb", 6c6 < .CP0_Config1 = MIPS_CONFIG1 | (1 << CP0C1_FP) | (15 << CP0C1_MMU) | > .CP0_Config1 = MIPS_CONFIG1 | (1 << CP0C1_FP) | (63 << CP0C1_MMU) | Fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=13992 Upstream Status: Inappropriate (From OE-Core rev: 4470a04943352224955f17e004962f0f9e1c9b0c) Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08docs: Fix license CC-BY-2.0-UK -> CC-BY-SA-2.0-UKRichard Purdie
When the license identifier tags were added, an incorrect string was used and the Share-Alike clause was lost. Fix this to match the license description in the files and add back the lost piece (its clear from the history it should be there) (From yocto-docs rev: 8d30c3d792755a7bfdb74b331dad98f51d3516af) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08boost: consolidate and update library listRoss Burton
Add some new libraries to the list (fiber, headers, type_erasure). Move context/coroutine to the list instead of using overrides as it builds everywhere I can test it. Remove the mips16e override for wave as Boost fails so dramatically with mips16e enabled that this isn't even close to a fix. Someone who cares can fix this properly. (From OE-Core rev: 092228f2df6869e31b157ea08766b3e94bee6e29) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08boost: don't specify gcc versionRoss Burton
There's no need to specify an ancient GCC version here as Boost will probe it. (From OE-Core rev: 2339bf5b0aceb8e55f4b38e44b2383389e514393) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08boost: build a standalone boost.buildRoss Burton
Boost is a huge unirepo made from multiple submodules. To bootstrap it we need boost.build (previously bjam) which is also available as a solo repository. This smaller repository can unpack/build/package faster than the Boost unirepo can unpack. Rename the recipe to the current name of Boost.Build that installs a b2 binary, use the solo repository, and update the Boost recipe to use the b2 binary instead of bjam. (From OE-Core rev: 76079f921e596125b0e281ca95e2394d7688aaf2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08bitbake.conf: Extend PSEUDO_IGNORE_PATHS to ${COREBASE}/metaRichard Purdie
Unfortunately, .pyc files can be generated in meta/lib/oe which corrupt the pseudo database so we need to extend the ignore list to cover this as well. (From OE-Core rev: e0cb6dd689a362d8433caa14cc5a9fdd5eb44923) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>