Otavio Salvador [Mon, 21 May 2018 19:24:29 +0000 (16:24 -0300)]
machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' event
The 'ConfigParsed' event was too early and when we mangled the
MACHINEOVERRIDES using the extender, we ended overriding some values
when using together with multilib.
This fixes the multilib use-case and keep current ones working.
Change-Id: I6f1d952dfe2d04fa10229a86763af4ca6b1e601f Reported-by: Cristinel Panfir <cristinel.panfir@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 65144beb63673d215221d800e1905eedb9f2f8ed)
Otavio Salvador [Mon, 6 Nov 2017 11:30:50 +0000 (09:30 -0200)]
Stop using image_types_uboot class
OE-Core now uses the CONVERSION TYPES to implement the U-Boot support
so the class has been removed. This commit removes the code which
inherits it so allowing it to keep working with the new code base.
Hiraku Toyooka [Thu, 5 Oct 2017 04:21:02 +0000 (13:21 +0900)]
image_types_fsl: define SDCARD_GENERATION_COMMAND for use-mainline-bsp
When we use the use-mainline-bsp override, SDCARD_GENERATION_COMMAND
becomes empty. As a result, incomplete SD card image is generated.
This patch fixes the problem by specifying appropriate command.
Signed-off-by: Hiraku Toyooka <hiraku.toyooka@cybertrust.co.jp> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 29 Sep 2017 19:27:02 +0000 (16:27 -0300)]
wic: Force the use of 'msdos' partition tables
Some old SoC has problems to read GPT partition tables so we use
'msdos' as default here and if some vendor wants to override it, it
can still be done in their wks files.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 29 Sep 2017 19:27:02 +0000 (16:27 -0300)]
wic: Move all wks files to root layer directory
The wic looks for wks files in many places. The root layer directory
is one of those and makes much easier to find the wks files for
reference and use.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Several recipes reference the LICENSE file in their LIC_FILES_CHKSUM variable as ${COREBASE}/LICENSE.
This forces distribution providers to keep this file verbatim or to overload the affected recipes.
The section "Moving to the Yocto Project 1.6 Release" in the Yocto manual suggests removing the LICENSE file where possible.
Remove LICENSE in cases where COPYING.MIT is also given and replace LICENSE with COPYING.MIT if the former was the only entry.
All modified recipes specify LICENSE = "MIT" and none of the in-tree files specify a different license either.
As the packages do not change (the license files are not contained in them), do not increase PR.
1de598e Merge pull request #5 from lijunone/master a5a05da Update linuxrc 61a1449 Merge pull request #4 from mhei/fixes af76f6a uuc: fix format nitpick f8d0c75 uu.c: fix compiler warnings for unused variables 625c36e Merge pull request #2 from mhei/fixes e6304a7 Merge pull request #3 from lijunone/master c342fb0 linuxrc: add utp mass storage setup via configfs f9a8e97 uuc: fix some compiler warnings 65d8bf7 sdimage: use fsync before closing the device a977121 Add travis hint 03d64cf Small Makefile improvements 9a8c844 sdimage: no need to open image file R/W 592fdb6 sdimage: fix partition size check 3d4b3fa Add a .gitignore with the binaries sdimage and uuc 86e0a1b sdimage: move BCB header to 4 sector offset 2fa75b4 uuc: fix format warnings f64baff Honour CFLAGS 85a0b23 sdimage: add includes to prevent warnings
Change-Id: I7e81dd0d4666d00b76be3d78982ef2b1bd039b53 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Max Krummenacher [Sun, 27 Aug 2017 10:22:43 +0000 (12:22 +0200)]
image_types_fsl: fix for dtb filenames containing multiple dots
In _generate_boot_image(), if a dtb file has more than one dot the
current logic fails. e.g. 'device.tree.dtb' will be truncated at the
first dot to 'device' while it should be 'device.tree'.
Fix by removing awk in favour of letting basename also remove
the .dtb extension.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit merge tag v4.9.43 into 4.9.x+fslc and add the
following change on top:
- 2e5f5cc50c72 ARM: dts: imx7d-pico: Add initial support
- 47e80564c4db ARM: imx_v6_v7_defconfig: Select the coda driver as module
- 62dd13a066b9 ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 10 Jul 2017 15:01:12 +0000 (12:01 -0300)]
alsa-lib: Ensure MACHINE_SOCARCH is used consistently
The alsa-lib needs to apply the patches for all i.MX SoCs so using the
'imx' override seems to be the best choice for this specific
use-case.
A missing aspect though was that this should also affect every package
which /depends/ on alsa-lib (e.g: alsa-utils) so it also goes to
MACHINE_SOCARCH architecture fixing the signature change across
different machines.
This fix has been tested using a massive parallel build using
multiconfig.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Chunrong Guo [Tue, 20 Jun 2017 03:27:02 +0000 (11:27 +0800)]
openssl-qoriq: s/inline/static/ to fix gcc7.1 issue
ix the following error:
| ../libcrypto.so: undefined reference to `spcf_bn2bin'
| ../libcrypto.so: undefined reference to `spcf_bn2bin_ex'
| collect2: error: ld returned 1 exit status
| make[2]: *** [link_app.gnu] Error 1
Trevor Woerner [Mon, 29 May 2017 06:17:17 +0000 (02:17 -0400)]
u-boot-fslc.inc: add use-mainline-bsp
Add use-mainline-bsp to COMPATIBLE_MACHINE since this recipe is for situations
where the user wants to use mainline, and u-boot-fslc is considered mainline.
Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Yuqing Zhu [Tue, 23 May 2017 06:27:10 +0000 (14:27 +0800)]
imx-gst1.0-plugin: Upgrade to v4.1.6
-Add an interface in playengine to set video sink using GstElement
This interface is for qmlglsink use or something like that.
-Optimize imxv4l2sink and overlaysink to make
them work with qmlglsrc more effective
Add RGBA format support the two sink.
Reduce the interval to 1ms when do dequeue retry in v4l2.
-Add gst_phy_mem_meta_init()
Avoid critical warning as gst_meta_register add critical check for NULL init_func.
-Aiurdemux add wma voice support
-Add vertical and horizontal flip support for overlaysink and imxv4l2sink
Add vertical and horizontal flip for overlaysink and imxv4l2sink.
Change playengine set rotate interface to set enum value.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Yuqing Zhu [Tue, 23 May 2017 06:27:09 +0000 (14:27 +0800)]
imx-parser: Upgrade to v4.1.6
Upgrade license chksum to v16 EULA
Fix segmentation fault in ID3 parser when dataSize is abnormal
Update MP4 PARSER to 06.09.38
Update MP3 PARSER to 03.01.14
Update AAC PARSER to 03.00.11
Update FLAC PARSER to 03.00.6
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Yuqing Zhu [Tue, 23 May 2017 06:27:08 +0000 (14:27 +0800)]
imx-codec: Upgrade to v4.1.6
-Upgrade license chksum to v16 EULA
Bugfixes:
-VORBIS_Wrapper/VORBIS_DEC: add error handler
Some fuzzy bitstream will cause segmentfault as error handler is not correct.
-Fix wma10_dec's Segmentation fault in performance test
Segmentation fault occurs when decoding several streams in performance test.
Add test_case[] array's size to fix it.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
**include the following changes 6c2b61c - update copyright notes f79d523 - fix: reset finish condition before test start e8f7a91 - Merge remote-tracking branch 'upstream/master' 6818263 - Fix ablkcipher algorithms usage in v4.8+ kernels 26e167f - zc: Use the power of #elif e49fe25 - adjust to API changes in kernel >=4.10 2b29be8 - adjust to API changes in kernel >=4.10 c3afb40 - add support for rsa speed tests c9b7a80 - close the session after every test ba49470 - add support for authenc(hmac(sha1), cbc(aes)) speed tests 690cd62 - Merge branch 'master' into hpe2016 5adf04e - Merge remote-tracking branch 'upstream/master' 840c7ba - remove not used variable 2dbbb23 - do more strict code checking to avoid maintenance issues 88223e4 - avoid implicit conversion between signed and unsigned char 8db6905 - use buf_align macro to reduce code duplication b6d0e0f - rename header file to clarify purpose 1fd6062 - fix warnings of "implicit declaration of function" in async_speed ff3c8ab - remove not used local variables 25a1276 - fix incorrect return code in case of error from openssl_cioccrypt e7ef4ea - Merge pull request #17 from michaelweiser/gup_flags 99c6d21 - fix ignored SIGALRM signals on some platforms 71975fa - setting KERNEL_DIR is not necessary to build tests a96ff97 - fix issues with install target 07748d3 - Merge branch 'master' into hpe2016 cc89148 - Fix ablkcipher algorithms usage in v4.8+ kernels 4d6e4fb - Merge remote-tracking branch 'upstream/master' f126e48 - Adjust to another change in the user page API 4257fce - add -async option to run_crypto_tests.sh f953164 - merge sync and async benchmarks into a single program e7af57b - add % to cpu idle for convenience 1883c95 - add a wrapper script for running all tests 998b66b - add notes about configured limits in SEC driver b1a35f3 - fix ignored SIGALRM signals on some platforms b754517 - use the same algorithm names in sync_speed as in async_speed 8baefa4 - force LC_TIME value to avoid mpstat not using ISO8601 format d0978b5 - add sync speed tests with the same format as async ones 15d890b - graceful exit if cryptodev is not built with ASYNC flags 9a595bf - fix typo, use consistent spacing 9461878 - remove output line because it does not add clarity to the results b09c17f - the C standard used by cryptodev is C90 with GNU extensions 447808d - exit early if cryptodev tests are not installed 493afd3 - fix incorrect handling of error cases... e0d2c88 - make default output tabular abc007a - really fix (again...) the mpstat issue 2696cd5 - use $(...) instead of `...` for consistency e8fb004 - fix the scale of the runtime value 119151b - remove old results to avoid incorrect reports 71ac3d5 - fix the reported unit 8c47a0c - setting KERNEL_DIR is not necessary to build tests 182b307 - fix issues with install target 5021828 - do more strict code checking to avoid maintenance issues ab239d7 - return error code of the test if there is one b5228f2 - remove not used local variables 90d67ce - avoid implicit conversion between signed and unsigned char 4b442ca - fix build warnings on implicit function declarations 2821b92 - add a little space in the output for clarity 9d0ef05 - more precision in running mpstat 0180e2b - fix some issues with parsing mpstat output 4257fce - add -async option to run_crypto_tests.sh f953164 - merge sync and async benchmarks into a single program e7af57b - add % to cpu idle for convenience 7d7a733 - sanity check on /dev/crypto availability 137c0c4 - gracefull stop for async speed tests 600eb70 - fix: set min value when allocating alligned memory buffers 18408c9 - add multithreaded wrapper for async speed test 854cc84 - rename algorithm names for clarity 216f235 - honor the -m flag in async_speed 1023ede - add flag to report in a machine friendly format 219a8b4 - enable async code by default 9def784 - Merge remote-tracking branch 'radualexe/new_tests` 149dc1c - add basic optargs support for async_speed test 9595499 - add support for crc32c hash sync speed test 83e3840 - add support for aes-256-xts sync speed test fff72ae - add support for sha2-256 hash async speed test b961800 - add support for sha1 hash async speed test fea5006 - add support for crc32c hash async speed test 8768fad - add aes-256-xts support for async speed test
Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>