aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-test
AgeCommit message (Collapse)Author
2016-09-13imx-test: Add patch to fix build breaks wtih ldflag changeLauren Post
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>
2016-09-08imx-test: Stop using generic SoC overridesOtavio Salvador
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>
2016-08-23imx-test: obey LDFLAGS settingsOtavio Salvador
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>
2016-05-06imx-test: Stop using base_containsOtavio Salvador
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>
2016-04-28imx-test: Upgrade to 5.4.1 releaseLauren Post
- 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>
2016-04-11imx-test: Fix build for X11 backendOtavio Salvador
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>
2016-04-06imx-test: Upgrade to 5.4 versionLauren Post
- 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>
2016-02-11imx-test.inc: Add depends to support x11 buildsLauren Post
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>
2016-02-11imx-test: Upgrade to 5.3 versionLauren Post
- 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>
2015-09-18imx-test: Upgrade to 5.2 versionLauren Post
- 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>
2015-08-06Drop Freescale official Linux kernel for i.MX23, i.MX28 and i.MX5 SoC familiesOtavio Salvador
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>
2015-08-04imx-test: Upgrade to 5.1 version and add 6UL supportLauren Post
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>
2015-07-28imx-test: Upgrade to 5.0 versionLauren Post
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>
2015-07-16Drop i.MX31 and i.MX35 supportOtavio Salvador
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>
2015-04-24imx-test (00.00.00): Avoid it to be build for non-i.MX boardsOtavio Salvador
The recipe is now restrict to the following SoC families: - mxs - mx3 - mx5 - mx6 - vf50 - vf60 Change-Id: I95e5de0e7007a1bbbae436e77fd39dc49dbd675e Reported-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-09imx-test: Upgrade to version 3.14.28-1.0.0 GALauren Post
mmdc: Change the mmdc tool granularity mx6s_capture: Handle failure case when failed open video device. hdcp: remove since requires package download in 3.14 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-02imx-test: Use MACHINE_ARCH for dummy packageOtavio Salvador
Change-Id: I1290d7b0279bc92c3c4e73af9d432c255d5e3cfb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-27imx-test: Upgrade to 3.10.53-1.1.0_GA releaseLauren Post
- Update makefiles to work with toolchain changes from dizzy on. - mxc-asrc: Enlarge the buffer size, change audio files - mxc-securebooth: Change the u-boot pad len calculation - mcc: Change the dword signing in to be string - memtool: Add auto complete feature for memtool - vpu: H.264 VUI encoding, - gpu: Add debug scripts - mmdc: Enable 16/32 bit system suport for tool mmdc2 - als_test: Get input event index correctly - uart: Add stress test amd fix bugs - pxp v4l2: Add UYVY and YUV444 support Remove parts of Fix-build-in-OpenEmbedded-Core-environment.patch that are invalid with 3.10.53 Makefile changes. Imx-test Makefiles corrected to load the standard libraries correctly for mxc_vpu, memtool and mmdc tests. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-22imx-test: Fix build with the work-shared kernel sourceOtavio Salvador
The Kernel sources has now been moved out of sstate control and to make this easier to spot this has been moved to tmp/work-shared/ directory. One good consequence of this change is that the built artifacts are controlled by the Linux build system itself and its path is now exported in STAGING_KERNEL_BUILDDIR variable. This path adapts the build params to this new layout. Change-Id: Ie27ef289aa3ae4c2593303ccbc450e0fd53b49cd Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-22imx-test: Fix linking failures of test utilitiesOtavio Salvador
Some of the unit-tests were not being built due to differences on how the build system behaves when running inside of the OE-Core. This fixes those minor issues and increases the number of tests available. This increases the number of tests which build successfully. The new built tests, when building for i.MX6Q are: ,---- | /unit_tests/hciattach-ar3k.bin | /unit_tests/config_dec | /unit_tests/akiyo.mp4 | /unit_tests/config_net | /unit_tests/mxc_vpu_test.out | /unit_tests/config_encdec | /unit_tests/autorun-vpu.sh | /unit_tests/memtool | /unit_tests/config_enc `---- When building for i.MX53 those are: ,---- | /unit_tests/hciattach-ar3k.bin | /unit_tests/memtool `---- And when building for i.MX28 those are: ,---- | /unit_tests/mxc_pf_test.out | /unit_tests/mmdc2 | /unit_tests/key_slot_tests.sh | /unit_tests/mxc_isl29023.out | /unit_tests/partition_tests.sh | /unit_tests/fail_mode_tests.sh | /unit_tests/scc_test | /unit_tests/scc2_setup.sh | /unit_tests/autorun-scc2.sh | /unit_tests/autorun-scc.sh | /unit_tests/encrypt_decrypt_tests.sh | /unit_tests/mxc_fb_test.out | /unit_tests/memtool | /unit_tests/scc2_test.out | /unit_tests/autorun.sh | /unit_tests/mxc_mlb_test.out | /unit_tests/scc_setup.sh | /unit_tests/test_subs.sh | /unit_tests/all-suite.txt `---- Change-Id: I58882adc22990d9ec53dc9ead034e85acd64375e Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-22imx-test: Rework recipe styleOtavio Salvador
This rework the recipe to use an easier to read metadata style, basically: * use 4 spaces for do_compile and do_install tasks * rework inclusion of extra paths in do_compile * include missing copyright notice from O.S. Systems * move platform setting after source URI definition Change-Id: Ic902c04a0eb8c0230ae74ac835b6a202784ebb78 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-14imx-test: Ensures kernel is installed before building scriptsOtavio Salvador
The imx-test builds a kernel module, as one of the utilities used for testing. The module relies on the kernel to be installed before it is able to build the scripts necessary for the build to succeed. Due the new kernel build infrastructure and the lack of the sstate management over the kernel source, a explicit dependency on do_install of kernel needs to be done. This fixes following failure: ,---- | .../.../module_test/mxc_sdma_mem_test.c:21:27: fatal error: linux/version.h: No such file or directory | #include <linux/version.h> | ^ | compilation terminated. | make[4]: *** [.../.../module_test/mxc_sdma_mem_test.o] Error 1 | make[3]: *** [_module_.../.../module_test] Error 2 | make[2]: *** [sub-make] Error 2 | make[2]: Leaving directory `.../build-framebuffer/tmp/sysroots/imx53qsb/usr/src/kernel' | make[1]: *** [all] Error 2 | make[1]: Leaving directory `.../.../module_test' | make: *** [module_test] Error 2 `---- Change-Id: I0ebdfce4483d64fed4afe52c09d8e1d31d9374bb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-10imx-test: Upgrade to 3.10.31-1.1.0 Beta versionLauren Post
- Fixes to csi_v4l2 test - Add dcic driver test case - Add mxc_mcc_tty_test case used for mx6sx - Fixes for VPU test for IOGetVirtMem Checking and SOF stuffing - Updates to mxc_v4l2 to use csi_v4l2 tests - Update HAB to use zImage - Add MX6SX for mx6sx - Change MX6S to MX6SL for mx6sl - Update USB documentation - Add cxi_v4l2_tvin test case for vadc - sdma - Support M2D dma copy for 3.10.17 - mmdc - Add mx6sx support - wdog - Add dbg monitor Update include PLATFORM and DEPEND for mx6sx and mx6sl Add mx6sx depends similar to mx6sl. mx6sx has no VPU like mx6sl. Update PLATFORM to be specific to mx6sx and mx6sl which both support PXP but only mx6sx supports mxc_mcc_tty_test tests Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-04-30imx-test-hdcp: Create 3.10.17-1.0.0 versionLauren Post
imx-test-hdcp is an HDCP test application for i.MX6 Change-Id: I942949d012fce9091e6ce55fd36f411cc78e1469 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-04-30imx-test: Update to 3.10.17-1.0.0 GA versionLauren Post
Change-Id: Ia62c064d246f0a8cf4e88d059490d8f58eead290 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-04-23Stop using mx6s SoC familyOtavio Salvador
The i.MX6 Solo is internally a i.MX6 Dual Lite but single core. This uses the mx6dl as the SoC family as it is already being done in the Kernel, U-Boot and Barebox. Change-Id: Ifefdce9d2f261352c409e7137c7566060e3915be Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-03-05imx-test: Unify package used by MX23, MX28, MX5 and MX6Otavio Salvador
Change-Id: Ic898b2562b08272ce6934321ed36ad9cf0a38c05 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-03-05imx-test: Don't install clocks.sh in MX6 as it uses 3.10 kernelOtavio Salvador
Kernel 3.10 uses the common clock framework, so the clock tree information can be retrieved from the standard /sys/kernel/debug location, which means we don't really need a custom clocks.sh script for the 3.10 kernel. You just don't need to install it if you use a recent kernel that deploys the common clock tree framework (like it is the case for MX6 running 3.10). Change-Id: Ief01c62025faa2927a226f9cd670e52dabb304be Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-20imx-test: Update to 3.10.17-1.0.0 versionLauren Post
Release in 3.10.17-1.0.0_beta version. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-12imx-test: Fix package strip logicOtavio Salvador
OE-Core has include a package.bbclass change which has changes the behaviour from the strip logic. This patch restore the old beaviour so we have same functional result as before. See http://patches.openembedded.org/patch/65311/ Change-Id: Ia66db7a90e30bc587e74b40dca8979fa82c20de9 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-06imx-test: add missing runtime dependencyRogerio Nunes
The test scripts explicitly use bash instead of sh, so it's necessary to have bash as a runtime dependency in the imx-test recipe, otherwise, bitbake will fail when populating a rootfs that does not include bash. Change-Id: Ida97bbef7ca736cafa3874a7eabee8f8e942c715 Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-01-18imx-test: Remove unused patchOtavio Salvador
The patch 'mxc_x11_test-exclude-IMX-5-6-platforms.patch' is unused, drop it. Change-Id: I2a46ed1db19331b9c3b7c9d1d662bfd455afe00d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-01-18imx-test: MX23/MX28 depends on virtual/kernel onlyOtavio Salvador
The MX23/MX28 does not have VPU so we depends on virtual/kernel only. Change-Id: I5f0c0496d5d53d80eb7da50c371d0754d0711750 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-01-18imx-test: Fix build failure due lacking of module build systemOtavio Salvador
The 'module-base' class provides the infrastructure to ensure modules are buildable. This fixes the build failures caused by lacking of 'scripts/basic/fixdep' application. Change-Id: I996d169acdbec900042a21c0153799bbc57d09ee Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-01-06imx-test: Use the license text from common-licensesOtavio Salvador
The previous used license file (from OE-Core source) may change even if GPL-2 or MIT does not; so we now use the files from common-licenses. Change-Id: I6c3ea399461cc7b13721f7c33a83e227f460e448 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-10-30imx-test: Upgrade to 3.10.9-1.0.0Lauren Post
imx-test includes exclusion for imx6 solo lite for vpu test cases and inclusion on epdc test cases Previous patches on imx-test have been applied to imx-test package Update to handle 3.10 kernel uapi directory which has the mxc headers Change-Id: Ifc98af6ca1c035879dba0ccb94ade5e0b276db03 Signed-off-by: Lauren Post <lauren.post@freescale.com>
2013-10-18imx-test: Add dependency on imx-vpu1.5Daiane Angolini
Change-Id: Id3dce7c7531acb790e289438adfe08b5b9bcf87c Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2013-09-25imx-test: Remove redundant PACKAGE_ARCH settingOtavio Salvador
The PACKAGE_ARCH is now dynamically set for package which depends on kernel. Change-Id: I4ae950e38e50d75bc0a6e14aabedd7d3102eff65 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-18imx-test: Install vpu config and media filesDaiane Angolini
Files (config_dec, config_enc, config_encdec, config_net) are used to configure mxc-vpu-test.out And file akiyo.mp4 is a sample media file used for mxc_vpu_test.out Fixes [YOCTO: #4185] Change-Id: I4a09988319440d75bf2c72d2f9351fa58a9804f4 Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2013-08-05imx-test: Update version to 3.5.7-1.0.0Lauren Post
Update from 3.0.35-1.0.0 to 3.5.7-1.0.0 and is compatible with i.MX6 SoCs only. Change-Id: I83515b530032bd9f03649983b647a5339cd75305 Signed-off-by: Lauren Post <lauren.post@freescale.com>
2013-07-02imx-test.inc: Whitelist package QA warning/errorsOtavio Salvador
The binaries provided by Freescale does not provide debug symbols; we cannot fix those issues without full source code so ignore them. Change-Id: I86a56ef1ed200c2da46781e2e21c1d51d919b7f7 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-06-17imx-test: Fix the compile commandDaiane Angolini
It includes the same INCLUDE_DIR from imx-lib Change-Id: Ie2a5aeff621a6c333e14d24a8c0e78a7b72ba50c Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2013-04-10imx-test: Include version 2.6.35.3-1.1.0 supportDaiane Angolini
This version is only compatible with mx28 Change-Id: Ia7d90a5d2c7df1b12b033a8ed4eab8b5bf5c8df1 Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2013-03-07imx-test: fix ALLOW_EMPTY errorEric BENARD
the package name needs to be specified else we get : ERROR: QA Issue: .../imx-test_00.00.00.bb: Variable ALLOW_EMPTY is set as not being package specific, please fix this. Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
2013-02-08imx-test: Condition the mxc_epdc_x11_fb_test installationLeonardo Sandoval
Condition the compilation/installation of the unit test '/unit_tests/mxc_epdc_x11_fb_test'. This binary is only valid on specific platforms (not yet supported by current layer) like IMX508. Tested on a Sabre SD i.MX6Q board. Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3615 [YOCTO #3615] Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-01-25imx-test: Update to version 1.1.0Daiane Angolini
Change-Id: I0b056ccf308229ba754619f07ac3beb87ef854f0 Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2013-01-11imx-test: Add script to print system clocksLeonardo Sandoval
This adds a 'clocks.sh' which can print the system clocks of the system. [YOCTO #3586] Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>
2012-11-22imx-test: Add 12.09.01 versionOtavio Salvador
Change-Id: Iad766a8438472ba69a24471e9b6094878d1a1914 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-10-15imx-test.inc: Replace board specific information with SoCOtavio Salvador
The use of SoC information allow generic handle of iMX51 and iMX53 boards. Change-Id: Ie1e73c6a982db856d9f1ca9566111d2a7eb3ecfc Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-09-28imx-test: Change fetch URI to use FSL_MIRROROtavio Salvador
This changes the fetch URI to use FSL_MIRROR and remove the local tarball from the repository. Change-Id: I3f5a201e52dce7fe65fcb5d707ed8786e0bb3d44 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Daiane Angolini <daiane.angolini@freescale.com>