aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-01optee-os: fix 32bit version for 32/64 bit mixed optee supportmortysivasubramanian.patchaiperumal
Change-Id: Ib608f004423334992608091d0ba84f4c14601b1f Signed-off-by: sivasubramanian.patchaiperumal <sivasubramanian.patchaiperumal@linaro.org>
2018-02-27optee: Add enable cache API patch for HiKey.Peter Griffin
ClearKey, Widevine & Playready TA's when decrypting into secure buffers, need to manage the cache. This patch has already been upstreamed, but is required in optee-2.4.0 for morty based builds. Change-Id: I6a115d1aa3ea890c771c3c0874ea3787f3401e33 Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
2017-10-12imagemagick: switch back to old bb.utils syntaxKoen Kooi
Change-Id: Ifc8509c8f6fee30aa1ea26d3b175527540f58382 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2017-10-12Merge "image-magic 6.9.2: resurrect old version to match python-wand" into mortyKoen Kooi
2017-10-12python-wand: add SRCREV, fix QA issue and add comment about imagemagick versionMartin Jansa
* use SRCREV instead of tag name, so that bitbake doesn't translate tag to SRCREV every time it's parsing this recipe * fix QA issue: ERROR: QA Issue: python-wand: Files/directories were installed but not shipped in any package: /usr/share /usr/share/README.rst * add comment about imagemagick version needed to use python-wand-native otherwise it will use imagemagick from host Change-Id: Ie0fd3549d31e48a0f5d3a5083f4fc90854d5d25c Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit e487ca4b1590c1104b7a3b20f7bf343a2861b0fc)
2017-10-11linaro-gcc-6.2: backport fix of check for empty string in ubsan.cDaniel Thompson
Building gcc-cross-initial with GCC7 on the host fails due to the comparison of a pointer to an integer in ubsan_use_new_style_p, which is forbidden by ISO C++: ubsan.c:1474:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] || xloc.file == '\0' || xloc.file[0] == '\xff' Backport the fix from upstream GCC to enable the build with GCC 7 (From OE-Core rev: 7a7fcba and OE-Core/morty rev: ad6856) Change-Id: Ibb5035e0aac640187c49188854b5bf68545e197f Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2017-10-10image-magic 6.9.2: resurrect old version to match python-wandKoen Kooi
Change-Id: I97552bed63803105826724f01e40f782745f1788 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2017-10-05meta-optee: python-wand: upgrade to latest release 0.4.4Fathi Boudra
Latest python-wand release is from October 2016. Update to latest release: 0.4.4. Change-Id: I23dc1fbb817bbb26357c3ab6dcc86b251eea36e6 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> (cherry picked from commit 7ed523b06bde259f99b21a15e8c936af4f18c752)
2017-06-20meta-linaro: move genericarmv8*.conf machinesNicolas Dechesne
The generic machines were initially added in meta-aarch64 which is about to be deprecated. Let's move the generic v8 machines in meta-linaro from now on. Change-Id: Iff427d984b38ea2d9430ab82f5100181877a2238 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 9cac590e8861b29616dd42015159e3037e9462eb)
2017-06-19optee-client: Respect LDFLAGS set from OE buildMartin Jansa
* Unify LFLAGS/LDFLAGS variable names (only tee-supplicant was using LDFLAGS). * Fixes: ERROR: optee-client-2.4.0+gitAUTOINC+1df4046bd7-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: 'optee-client/2.4.0+gitAUTOINC+1df4046bd7-r0/packages-split/optee-client/usr/bin/tee-supplicant' No GNU_HASH in the elf binary: 'optee-client/2.4.0+gitAUTOINC+1df4046bd7-r0/packages-split/optee-client/usr/lib/libteec.so.1.0' [ldflags] ERROR: optee-client-2.4.0+gitAUTOINC+1df4046bd7-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. ERROR: optee-client-2.4.0+gitAUTOINC+1df4046bd7-r0 do_package_qa: Function failed: do_package_qa ERROR: Logfile of failure stored in: optee-client/2.4.0+gitAUTOINC+1df4046bd7-r0/temp/log.do_package_qa.31246 Change-Id: I5bd17b32ba8df102a4517c92abddc804929d68f1 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org> (cherry picked from commit dec19c6d2ff137b5dd1acf2ef6c352501f2b20b8)
2017-05-18idlestat: uprev to 0.8 releaseFathi Boudra
Change-Id: Ibf91f49a43e0de4268b8ce3de522c74b326f9237 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> (cherry picked from commit 51d0de5f83991c032c6e300b30eebb73367dc7d2)
2017-05-10optee: uprev client/os/test to 2.4.0Fathi Boudra
Change-Id: Id6a278e2bd72b9b41d008d049f17fb386147cd57 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> (cherry picked from commit fe7980c13fafd26ba207aa014402eeccfc7ae181)
2017-04-07tcmode-external-linaro: also blacklist gcc-runtimeKoen Kooi
Change-Id: I5a574bb5e959f32755b044d049b0456adf8ffdfc Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2017-04-07external-linaro-toolchain: add missing PKGV statementsKoen Kooi
Without this the resulting packages would get versions like "2017.02" instead of the matching gcc/glibc version. Change-Id: I7ada7dffbacc2ad6d7c123a9cc8cc4780d5fe2a7 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2017-04-06ldconfig-native: remove local copy in favor of oe-core oneDenys Dmytriyenko
They are mostly identical, but oe-core is more recent and has 2 extra patches: http://cgit.openembedded.org/openembedded-core/commit/?id=adbf0b1fdf897076e5e3dec2443c8927f315c2e6 http://cgit.openembedded.org/openembedded-core/commit/?id=0b0e4d7aa64feded0a7bf89264d2367489808a38 Change-Id: I094ecb4cfbedd6777d8416cde41fcd18f6eb5ceb Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2017-04-06external-linaro-toolchain: fix packaging for 6.3-2017.02Koen Kooi
Change-Id: Idfc1d16242b018fe53b01bec64a9f19063befb54 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2017-03-17insane: rewrite the expanded-d test as a QAPKGTESTRoss Burton
Instead of being executed for every file in every package, this is now just called for each package. It is also now correctly called for packages which don't have any content but do have postinst scripts. [ YOCTO #10711 ] (From OE-Core rev: afda72b2424528eaff9054327530bdf5654bec66) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-03-17insane: add QAPKGTEST, a package-wide equivilant to QAPATHTESTRoss Burton
QAPATHTEST defines a function that is executed for every file in every package. For tests which just need to look at the datastore this is massive overkill. Add QAPKGTEST, which is invoked for each package in the recipe. (From OE-Core rev: acc3cc26099c77e4eeb44c75bc7167ab58ef1147) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-03-17insane: factor out the test matrix processingRoss Burton
Pull the test matrix processing out as a function so it can be reused. (From OE-Core rev: 3caccd3f6079b7e284d32e1eb0217107425e7bf8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-03-17insane: fix expanded-d testRoss Burton
This test should be looking for the expanded value of ${D} in the expanded value of pkg_postinst and so on, but one of the getVar() calls was passing expand=False so the test would never be true. (From OE-Core rev: cc545044cba51317bee32e3bf674723e422e3a8a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-03-17insane: Add aarch64 baremetal mappings to the QA arch testAlexandre Belloni
Add mappings for aarch64-elf and aarch64_be-elf to binary lookup table which allows for the generation of baremetal toolchains. (From OE-Core rev: e90a1c4b8fd7baa738eb4683e5eac60905e04296) Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-03-17insane.bbclass:buildpaths: open() file with 'rb'Robert Yang
open() is default to 'rt' which may cause decoding errors when open binary file: $ bitbake xcursor-transparent-theme [snip] Exception: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfd in position 18: invalid start byte [snip] (From OE-Core rev: ddbab61f47efd9b4fde38ef8f0f3482c78abe37c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-03-17insane.bbclass: fix package_qa_check_arch() for mips64-o32Robert Yang
Fixed: MACHINE = "qemumips64" DEFAULTTUNE = "mips64-o32" $ bitbake linux-yocto ERROR: linux-yocto-4.8+gitAUTOINC+03bf3dd731_674818dad5-r0 do_package_qa: QA Issue: Bit size did not match (32 to 64) linux-yocto on /work/qemumips64-poky-linux/linux-yocto/4.8+gitAUTOINC+03bf3dd731_674818dad5-r0/packages-split/kernel-module-parport/lib/modules/4.8.0-yocto-standard/kernel/drivers/parport/parport.ko [arch] The mips64-n32 works since it would set ABIEXTENSION to "n32" so that TARGET_OS is linux-gnun32, and it will skip the check, but "mips64-o32" doesn't set ABIEXTENSION to "o32", "n32" or "32", so the error happend. Skip the check if mips64.*32 matches DEFAULTTUNE can fix the problem. Another way to fix the problem is define ABIEXTENSION to "o32" or "32" for mips64-o32, but that may make things confused since "o32" is purely 32 bit. [YOCTO #10305] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-17insane: display names instead of ELF machine numbersRoss Burton
The 'arch' QA test currently simply outputs the ELF machine field as a number which isn't helpful. Display this as a human-readable name to make it clearer to the user what the problem is. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-17insane.bbclass: Add mipsisa{32, 64}r6{el, }Zubair Lutfullah Kakakhel
Add support for MIPS release 6 of the ISA Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-17insane.bbclass: Additional "mips" and "mipsel" machine definitionsJuro Bystricky
Add "mips" and "mipsel" to "machdata" table. Although there is a way to add entries to the "machdata" table from a BSP without modifying the insane.bbclass directly, MIPS is already supported in poky and as such the relevant entries should be present in insane.bbclass. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-17sanity: make license QA failures fatal againRoss Burton
Previous work to clean up the license QA code (oe-core fbdf977) had the side effect that failing the license sanity check (bad or missing LIC_FILES_CHKSUM) would emit an error message but wouldn't actually abort the build. Solve this by changing populate_lic_qa_checksum() so that it tracks if the message class was in ERROR_QA and if so, aborts the function. [ YOCTO #10280 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-17insane: improve package_qa_clean_pathRoss Burton
Instead of just removing TMPDIR from the path for display, optionally allow a package to be passed and remove PKGDEST/package too. This means that messages that specify a package name can pass that name and the resulting path will be absolute inside that package. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-17insane: only check ${S} exists if we had sources to fetchRoss Burton
Only check that ${S} actually exists if there was something in ${SRC_URI} to fetch, the argument being that if SRC_URI is empty the the recipe won't be using ${S} at all. In general recipes that have no sources can remove the unpack task, but expecting all recipes to do this relatively advanced operation isn't realistic. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-17insane: Add mechanism to extend QA machine information from BSP layerRichard Purdie
In order to add a new architecture or sub-architecture to OE, you currently need to tweak the table in insane.bbclass. This adds a mechanism so this can be done from a BSP layer. It needs a function definition which needs a class file but can then be done with something like: def my_testfunc(machdata, d): machdata["testmachine"] = { "test64": ( 8, 0, 0, False, 32), "testel": ( 8, 0, 0, True, 32), } return machdata PACKAGEQA_EXTRA_MACHDEFFUNCS = "my_testfunc" [YOCTO #8554] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-17tcmode-external-linaro: blacklist toolchain recipesKoen Kooi
This used to live in the jenkins-setup scripts, move it here to make it work for everyone. Change-Id: Ifa86b57ed074272f72a8fca3dc22e264934fa6eb Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2017-03-17meta-linaro-integration: recipes-overlayed: add kselftestsFathi Boudra
Add kselftests recipe, currently living in meta-ti morty-next branch. It's needed to get latest kselftests until it's landing in morty branch and our patches are integrated into meta-ti. Change-Id: I3081b5cc71e6af0a54449e0e54aee810af032fda Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> (cherry picked from commit 5c66c1cd5e6658a358709048edd0fb07bc6dd28a)
2017-02-22gator: fix linking, try 2Koen Kooi
The previous fix only worked with a partial recompile, this works with a -c cleansstate. Change-Id: Idda2027e2837c6f9897d147fe0f5efb77888be67 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2017-02-17optee: uprev client/os/test to 2.3.0Fathi Boudra
* optee-client: avoid to fix up the hardcoded paths. Run oe-runmake install, and then install the files in the location we expect them. * optee-test: *.ta install path should match the value set in optee-client. Default TEEC_LOAD_PATH is /lib. Adjust the install path to match the default. Change-Id: Iecd10bac760c5b68e0796ba595f8fa55f4785fda Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> (cherry picked from commit 27ccce6ad2dc117176d35910cf9ad3cfd3574c32)
2017-02-17gator: update to 5.22 and fix buildKoen Kooi
Change-Id: Iaec2828b69d534c76ca4705f87cbc41a5b4a2898 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2017-01-19optee-test: add a patch fix build failure with GCC 6Andrey Konovalov
Change-Id: Idfbaec34f37b23b07620cea26a17cb8470709f4a Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
2017-01-18optee-os: fix build failure with GCC 6Fathi Boudra
Add NOWERROR=1 to disable errors introduced with the upgrade to GCC 6: error: dereferencing type-punned pointer might break strict-aliasing rules [-Werror=strict-aliasing] Change-Id: Ibf95883c1fb105dc661cede5311beddd02ddd4c1 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> (cherry picked from commit 05eae57fa1f6660d18828f500fcad37091485745)
2016-12-23binutils-crosssdk: match OE-Core, use SDK_SYS suffix instead of SDK/TARGET_ARCHDenys Dmytriyenko
OE-Core has switched to using SDK_SYS suffix for crosssdk packages, instead of SDK/TARGET_ARCH in d2eccccb70e809d482c493922f23aef4409cfd82 [1], update Linaro versions accordingly. [1] http://cgit.openembedded.org/openembedded-core/commit/?id=d2eccccb70e809d482c493922f23aef4409cfd82 Change-Id: I9c1e246a181336a4d4b0143556dd059d2cdd3ad5 Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-12-23binutils: add linaro-2.27Koen Kooi
Change-Id: I8de52f82d737cea2c73316fe0a19408998639954 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-12-22binutils: add lost relocatable_sdk.patch used by crosssdk 2.27 recipeDenys Dmytriyenko
Change-Id: I08bdeefe647e62d3a978763abf3554a74b46054e Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-12-20recipes: fix SRC_URI, as releases.linaro.org moved YY.MM dirs into archiveDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-20external-linaro-toolchain: sync PROVIDES and PACKAGES with OE-coreKoen Kooi
libquadmath* added, PACKAGES list reorganized to make updates easier. Change-Id: Ice6d27154a4ef8e9700a07a85fc777a9d0897847 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-12-01Merge "binutils linaro-2.25: fix buildfailure on armv7a for all binutils" ↵Fathi Boudra
into morty
2016-12-01gcc: add linaro 6.2-2016.11Koen Kooi
This fetches it from git and reworks the include files a bit to be more like OE-core. Change-Id: Icf9928ab82b7f146b459ac92451e00d52ec128b9 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-11-30binutils linaro-2.25: fix buildfailure on armv7a for all binutilsMax Krummenacher
Sync deletions with OE-core git recipe for all flavours of binutils, not just binutils_linaro-2.25.bb. Without this binutils stage files which later also get staged when building gdb-cross. Change-Id: Idfc78cc544bba568f36364e2959dee0c356c2536 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-11-23optee-client: respect OE's ${libdir}Koen Kooi
This fixes multilib builds. Change-Id: I1d2bf66cac3db82a6cdf5344b0dce339e18897ce Signed-off-by: Koen Kooi <koen.kooi@linaro.org> (cherry picked from commit af872108bab21a46b85f7158c201223b504af6e7)
2016-11-01optee-client: update license checksumDaniel Díaz
SQLite has been added from 2.2.0 release in https://github.com/OP-TEE/optee_client/commit/aef0eded SQLite is public domain Libsqlfs is GNU LGPL v2 Change-Id: Ifdd8a12f53efdefc1d9e625ecc69a54b21de20dc Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
2016-10-31binutils linaro-2.25: fix buildfailure on armv7aKoen Kooi
Sync deletions with OE-core git recipe. Change-Id: I685b3351683a22e6d19f1ce932c1cbe32a1fc7e9 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-10-24linaro-image-lng: use a different way to remove networking scriptKoen Kooi
The _remove version causes bitbake to error out. Change-Id: I8403c69a235bc878ee9d4bcb9373d7dfcc0f7488 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-10-22binutils: inherit pythonnative to fix ucs4 issueKoen Kooi
Change-Id: I3297a7c84dd3f51f00305797e13db87d6f3c80e0 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>