summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-test
Commit message (Collapse)AuthorAgeFilesLines
* imx-test: Disable stringformat security flagsOtavio Salvador2020-10-041-0/+3
| | | | | | | | | | | | | | | | This fixes following build error: ,---- | pxp_lib_test/pxp_test.c: In function 'main': | pxp_lib_test/pxp_test.c:541:2: error: format not a string literal and no format arguments [-Werror=format-security] | 541 | printf(usage); | | ^~~~~~ `---- Fixes: #506. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: Ie6df1a64ba7126967861cb8fc889d4ca6f22b67a (cherry picked from commit 8a6193807d07edc30fd06e19f475dc7a7c1689b2)
* recipes-*: refine restrictions for NXP BSPAndrey Zhizhikin2020-04-161-4/+0
| | | | | | | | | | | | | | | | | | | | | | | Certain packages are using linux-imx-headers, which enforces them to use NXP BSP since headers are provided from the NXP kernel tree. Those recipes, which requires NXP kernel headers, are now including the use-imx-headers class to make sure the correct headers package is used. Since the introduction of separation between NXP and Mainline BSP for certain machines, recipes which are NXP-dependent are getting their COMPATIBLE_HOST to be marked as (null) effectively making them incompatible with mainline BSP which is expected behavior. By extending this restriction into the use-imx-headers class, all recipes which inherits is (because it is required) are getting automatically restricted to NXP BSP, hence making package NXP-dependent much easier. linux-imx-headers is marked as "NXP-only" but it is done explicitly inside the recipe in order to avoid confusion of inheriting the class. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-test: Rework COMPATIBLE_HOST restriction to use wildcardOtavio Salvador2020-04-161-1/+2
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: upgrade recipe to lf-5.4.y branchAndrey Zhizhikin2020-04-161-2/+2
| | | | | | Upgrade recipe to pull sources from lf-5.4.y branch. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-test: Restrict recipe to NXP BSP onlyOtavio Salvador2020-04-151-0/+1
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: update test package version to imx_4.19.35_1.1.0Andrey Zhizhikin2019-12-042-2/+42
| | | | | | | | | | Update the imx-test package branch to imx_4.19.35_1.1.0 which matches the latest linux-imx kernel release (uses same branch naming). Additionally, introduce the patch that solves trivial compilation issue under gcc9. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-test: Switch to branch imx_4.14.98_2.0.0_gaAlexandru Palalau2019-06-132-42/+11
| | | | Signed-off-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
* imx-test: Add VPU testsTom Hochstein2018-12-131-0/+1
| | | | | | Add VPU tests by making sure VPU support is in sysroots. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-test: Upgrade for i.MX 8MMTom Hochstein2018-12-131-6/+6
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* classes/use-imx-headers: Easy linux-imx-headers useOtavio Salvador2018-10-261-6/+5
| | | | | | | | | | | | | | | | | | | | | This allow to easy reuse of binary packages among similar SoCs. The usual use for this is to share SoC specific packages among different boards independently of the kernel version it is using, as far it is ABI compatible with the official version it will just work. Following recipes has been reworked to make use of the class: - imx-lib - imx-test - imx-vpu-hantro - imx-vpu - imx-alsa-plugins - gstreamer1.0-plugins-base - gstreamer1.0-plugins-imx - imx-gst1.0-plugin Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-test: Use linux-imx-headersOtavio Salvador2018-10-261-8/+4
| | | | | | | This reworks make use of linux-imx-headers and set it as SoC arch compatible. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Disable string format security build flagsOtavio Salvador2018-10-251-0/+3
| | | | | | | | | | | | | | The code has some possible flaws related to string manipulation functions which are know to be fragile. This commit disables this protection but this should be fixed by NXP for next releases. Flags being disabled: - -Wformat - -Wformat-security - -Werror=format-security Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Add i.MX 8 supportTom Hochstein2018-08-302-14/+20
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Rework DEPENDS and VPU supportOtavio Salvador2018-07-051-15/+6
| | | | | | | | | | | All variants depends on `virtual/kernel`, `imx-lib` and `alsa-lib`, so this can be added by default. The VPU support has been moved to a `PACKAGECONFIG` so it adds the respective `make` parameter, and dependency, depending on the `MACHINEOVERRIDES` value. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Add to EXTRA_OEMAKE if machine has vpuFabio Berton2018-07-051-0/+4
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Add virtual/imxvpu to DEPENDS for imxvpu machineFabio Berton2018-07-051-2/+3
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Update to version 7.0Fabio Berton2018-06-264-249/+104
| | | | | | | | | | - Remove .inc file to use only one .bb file - Add alsa-lib to DEPENDS - Add patch to use include path when compile sources from test directory - Drop unused patch - Update O.S. Systems Software Copyright Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* imx-test: Drop do_make_scripts taskOtavio Salvador2018-04-031-6/+0
| | | | | | | | | | | The modules-base class has been reworked during the 'sumo' development cycle and the external modules tools are now handled by the make-mod-scripts, automatically. Fixed [YOCTO: #12575]. Change-Id: I5a39517873d90adfb3c423b23d8ac273ef5a31f7 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Change git repository URLDaiane Angolini2017-10-281-2/+2
| | | | | | | | Change the git URL to Code Aurora as it mirrors the git.freescale.com. It also changes the branch name to the matching one. Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Add git recipeJun Zhu2017-10-163-13/+25
| | | | | | | | | | | - As imx-test git repository is public as git://git.freescale.com/imx/imx-test.git, build it from git. - Add support to i.MX 6SLL and 7ULP. - Replace imx-vpu with virtual/imxvpu in DEPNEDS. - Set PV as 6.0+${SRCPV} Signed-off-by: Jun Zhu <junzhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Remove i.MX 6UL specific metadataFabio Berton2017-01-271-1/+1
| | | | | | | | The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Upgrade to 5.7Lauren Post2016-10-182-12/+8
| | | | | | | | | | | | | | - Makefile fixes to work with LDFLAG changes - mxc_mmc_tty_test: Fix for null terminal setting and printf - evtest - new sensor test - memtool - Add i.MX 6ULL support - mx6s_v4l2_capture: Add 6ULL support - mxc_vpu_test: Add new IOCTL_VIDEOC_S_INPUT_CROP for 4.1 kernel - mxc_vpu_test Support picture width height no multiple of 16 - mmdc, mxc_ipu_dev and mxc_vpu_test: replace index with strchr Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Add patch to fix build breaks wtih ldflag changeLauren Post2016-09-132-0/+172
| | | | | | | This fixes the build breaks with unit tests that includes external libraries Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Stop using generic SoC overridesOtavio Salvador2016-09-081-3/+4
| | | | | | | | The recipe has been changed to use the SoC specific override. It makes the recipe easier to read and to maintain. Change-Id: Iece4680dc88e1ee83e9f06b493074ede5c505dee Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: obey LDFLAGS settingsOtavio Salvador2016-08-232-1/+3
| | | | | | | | | | | The gcc-cross default linker hash has been changed in OE-Core:fa436aeb, due that the broken recipes (which were not respecting the set LDFLAGS settings) are now exposed. This fixes the error setting the need Make flags so the build system obey the LDFLAGS setting. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Stop using base_containsOtavio Salvador2016-05-161-1/+1
| | | | | | | | The base_contains function is deprecated and we ought to use bb.utils.contains instead. Change-Id: I44c95999b80235d4d7a26b0eac6bf671887a69c2 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Upgrade to 5.4.1 releaseLauren Post2016-05-072-8/+8
| | | | | | | | | - mmdc fixes to add 6ul support - mmdc fixes to add ipu2 and gpuvg support got i.MX 6QuadPlus - mx6s_v4l2_capture fixes for memory leak Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Fix build for X11 backendOtavio Salvador2016-04-192-17/+3
| | | | | | | | | The root case of the addition of the dependencies on the recipe was that it were not being correctly included in the .inc file. This fixes it and remove the duplication. Change-Id: Ie9ee5fbc2a61915ce109473f5df2b8e88d3966c4 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Upgrade to 5.4 versionLauren Post2016-04-192-8/+21
| | | | | | | | | | | | | | | | | | | | | - Restructure to support building all test cases on all machines regardless of harware support - mx6s_v4l2_capture: Fix resource leak reported by coverity - memtool: Fix string not null - Fix resource leak problem reported by coverity - mxc_i2c_slave_test: Fix argument cannot be negative problem reported by coverity - mxc_spi_test1: Fix resource leak problems reported by coverity. - mxc_vpu_test: Encode and decode MPEG file in one app failed with return value - mxc_v4l2_capture: Handle usb camera restriction which does not support CROP feature - mxc_mlb_test: Fix out of bounds access reported by coverity - soc_check: Remove unnecessary operation in soc_check.h - mxc_epdc_v2_fb: Initialize upd_data.dither_mode to 0 to avoid the spurious "unsupported quantization bit number" error message. - mxc_sim_test: When sim card doesn't exist, no atr can be received. The application should directly return with corresponding error value. - Remove legacy platform restriction to shell scripts - only support mx6 and mx7 SoC now. Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test.inc: Add depends to support x11 buildsLauren Post2016-04-191-1/+5
| | | | | | | | This fixes build issues with mxc_epdc_x11_fb_test and x11_overlay which have dependencies on x11 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Upgrade to 5.3 versionLauren Post2016-04-192-8/+8
| | | | | | | | | - Remove the ar3k hciattach since bluez4 and 5 support BT. - mxc_mlb_test: Use one file for mlb test - rename to generic name. - mxc_sim_test: Handle errors when running on un supported sim cards. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Upgrade to 5.2 versionLauren Post2016-04-192-8/+8
| | | | | | | | - Update mx6ul Modules - Update motion sensor fxls8471 in acctest Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Drop Freescale official Linux kernel for i.MX23, i.MX28 and i.MX5 SoC familiesOtavio Salvador2016-04-195-97/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Linux kernel provided by Freescale for i.MX28 and i.MX5 is too old (2.6.35.3) and there are no plans to upgrade it, as the OE-Core is going to use GCC 5.2 as default compiler soon and it is not possible to compile this kernel with the new toolchain, thus the removal. The metadata related to the i.MX23, i.MX28 and i.MX5 SoC family, which is dependant of this Linux kernel support, has been removed in this commit so if someone ever wants to bring it back it is easy to find out all the necessary changes. The recipes affected are: - alsa-state - amd-gpu-x11-bin - gtk+3 - imx-lib - imx-test - imx-vpu - libfslcodec - linux-imx - mesa - qt4-embedded-free - qt4-x11-free - qtbase - xf86-video-imxfb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
* imx-test: Upgrade to 5.1 version and add 6UL supportLauren Post2016-04-192-2/+4
| | | | | | | | Adding i.MX 6UltraLite support Fix scc build exclusion in makefile Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Upgrade to 5.0 versionLauren Post2015-07-283-13/+14
| | | | | | | | | | | | | | | | | | | | Released with 3.14.38-6QP_beta release. This version change creates independence from BSP version. This will avoid confusion on future BSP updates that don't include imx-test changes. - Include support for MX7 - Rework makefiles for legacy machines to avoid rework with new chips. - DCIC fix for system hangs - MMDC support for 6QP and revision checks and higher granularity with ms. - EPDC deprecate old driver and add v2 unit test - remove patches for legacy. - V4L2 fixes for v4l2_buffer user pointer Create the mx7 SoC family to the COMPATIBLE_MACHINE in recipe. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Drop i.MX31 and i.MX35 supportOtavio Salvador2015-07-161-1/+1
| | | | | | | | | | | | | | | The i.MX31 and i.MX35 has been barely used and without much community coverage since its inclusion making them untested boards. There is no reason to keep the support for those SoCs in the BSP layer as those are virtually not tested and unkown to be working or not. The metadata related to the i.MX3 SoC family has been removed in this commit so if someone ever wants to bring it back it is easy to find out all the necessary changes. Change-Id: I808bf7d1cfa97eb7d444fba711a93b1e074d5f4d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-166-0/+181
The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>