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>
*include the following changes 209e0e6 - ring affinity: keep jobs and responses in the same ring pair 1cd87fb - remove unused parameter from function signature 688e402 - add new handshake parameters (like old is the new new :) bdd38f2 - fix irq missing issue for all rings b5f6504 - rename structure fields to match their content d0b6e25 - fix column alignment to avoid confusion 66ac4ef - remove not used fields from handshake structures 53716e6 - merge together the functions doing ring pairs initialization ffa6360 - make r_cntrs local to the app_ring structure 61a597f - remove not used allocation of s_c_cntrs_mem a1b8599 - remove not used allocation of cntrs_mem 1246eb8 - make ring indices local to the app_ring structure d01ed6c - remove redundant type casts a12f170 - allocate space for input rings independently instead of in bulk e41fc52 - num_of_rps is not used after initialization e827ac6 - refactoring: merge content of two functions 5dcdc32 - device ip_pool is not used on the host so we remove it 21bc000 - merge content of resource struct into c_mem_layout 4b39488 - remove not used function a276c46 - add U suffix to unsigned constants 6d13be3 - remove not used function 0aaeeab - remove redundant busyloop during handshake fe54ba4 - avoid returns from the middle of the handshake function fda0f8e - clean-up for consistent code indentation c441ffc - move macro definition to the header file e87f3e2 - wrap assembly directive with a macro 2091a40 - refactoring: clean-up code style f9261c3 - value returned by sel_sec_enqueue is ignored so make it void a7b2cf7 - avoid linking printf code by default a9cc62d - remove print_error because it duplicates print_debug 542c9d1 - remove deprecated or not used code 542c9d1 - remove deprecated or not used code b11bbbf - fix precision loss conversion errors 428c51c - remove not used code ecd79e6 - avoid playing with compiler optimizations games 5121ad3 - remove deprecated and not used code 949c908 - raise interrupt on the ring that submitted the jobs 92e7089 - refactoring: merge related code into a single function f131421 - remove no longer used handshake fields 6e3ab80 - simplify calculation of msi address 7e337a9 - rename local variables for clarity e4bef8e - refactoring: extract two functions to simplify code 9dd692d - move handshake state initialization to appropriate function 70f061b - cluster together initialization code e92ede5 - remove not used macros 31636ca - remove duplicated function 7c87c3a - search the ring that received rng descriptors and remove waiting 9d132e3 - remove inconsistently used local variable 4fab968 - remove ignored variable dcbdc8a - start counting SEC engines from 0 as in C29x documentation 2189d7a - remove not-used structure field sec_jr.id 739e1cc - remove not used structure field sec 4bb7e8f - use a dummy allocator to keep track of data addresses 0d960b7 - remove padding fields from handshake structures 6973141 - remove not used structure members dgb_print & err_print f3c1977 - remove not used structure members intr_*_ticks 612371b - rearrange code to merge two #ifdef's a86a0a9 - move definition to the header file ff8ce9d - remove unused function wait_for_timeout 97a0657 - remove unused typedef shadow_indexes_mem_t 5d0e0b0 - remove redundant definitions of standard types 86a6451 - remove unused function irja_signal_caam 8106252 - remove unused function circ_room 086f102 - job ring result has no significance as a signed integer dc8f37d - remove not used members of sec_engine structure 9a6a5c2 - rewrite the initalization code for sec engines list 8ab2b15 - remove priority queues and ignore ring order settings 1b48817 - remove not used struct member order_j_d_index e64f7fc - remove not used struct member resp_j_done_flag 7b20be4 - remove the assumption that ring 0 has any special significance 0d9946b - make explicit that we are using C89/90 standard with GNU extensions cf7cd79 - remove not used padding fields in handshake structure d7adc6e - pad not used handshake fields to prepare for their removal 670c95f - make explicit that we have a single response ring hardcoded to id 0 db84b26 - remove not used structure variable enqcount 07b9fda - remove not used structure pointer cmdrp b253763 - don't send available data through stack 0d19768 - remove macro hiding simple code 0aaba96 - remove commented code 8278186 - remove code supporting P4080 prototypes f88a9bc - remove non-high-perf supporting code 090755e - remove not used structure cmd_tbl_s 4f8184b - remove not used orig_rps structure variable 0a635a9 - remove not used structure variable drv_resp_ring_count 3432b1c - rename structure variable ring_count to num_of_rps 71a3a3d - remove duplicated assignment
Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>