summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-test/imx-test.inc
Commit message (Collapse)AuthorAgeFilesLines
* imx-test: obey LDFLAGS settingsOtavio Salvador2016-08-231-1/+1
| | | | | | | | | | | 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-061-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: Fix build for X11 backendOtavio Salvador2016-04-111-4/+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.inc: Add depends to support x11 buildsLauren Post2016-02-111-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>
* Drop Freescale official Linux kernel for i.MX23, i.MX28 and i.MX5 SoC familiesOtavio Salvador2015-08-061-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Post2015-08-041-0/+2
| | | | | | | | 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-281-0/+3
| | | | | | | | | | | | | | | | | | | | 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>
* imx-test: Fix build with the work-shared kernel sourceOtavio Salvador2015-01-221-1/+3
| | | | | | | | | | | | | | | 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>
* imx-test: Fix linking failures of test utilitiesOtavio Salvador2015-01-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* imx-test: Rework recipe styleOtavio Salvador2015-01-221-22/+27
| | | | | | | | | | | | | 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>
* imx-test: Ensures kernel is installed before building scriptsOtavio Salvador2015-01-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* imx-test: Upgrade to 3.10.31-1.1.0 Beta versionLauren Post2014-11-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* Stop using mx6s SoC familyOtavio Salvador2014-04-231-1/+0
| | | | | | | | | 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>
* imx-test: Unify package used by MX23, MX28, MX5 and MX6Otavio Salvador2014-03-051-1/+1
| | | | | Change-Id: Ic898b2562b08272ce6934321ed36ad9cf0a38c05 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Don't install clocks.sh in MX6 as it uses 3.10 kernelOtavio Salvador2014-03-051-3/+4
| | | | | | | | | | | | | | 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>
* imx-test: Fix package strip logicOtavio Salvador2014-02-121-0/+1
| | | | | | | | | | | | | 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>
* imx-test: add missing runtime dependencyRogerio Nunes2014-02-061-0/+2
| | | | | | | | | | 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>
* imx-test: MX23/MX28 depends on virtual/kernel onlyOtavio Salvador2014-01-181-0/+1
| | | | | | | 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>
* imx-test: Fix build failure due lacking of module build systemOtavio Salvador2014-01-181-0/+7
| | | | | | | | | 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>
* imx-test: Use the license text from common-licensesOtavio Salvador2014-01-061-1/+1
| | | | | | | | | 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>
* imx-test: Upgrade to 3.10.9-1.0.0Lauren Post2013-10-301-7/+11
| | | | | | | | | | | | 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>
* imx-test: Add dependency on imx-vpu1.5Daiane Angolini2013-10-181-0/+1
| | | | | Change-Id: Id3dce7c7531acb790e289438adfe08b5b9bcf87c Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
* imx-test: Remove redundant PACKAGE_ARCH settingOtavio Salvador2013-09-251-2/+0
| | | | | | | | 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>
* imx-test: Install vpu config and media filesDaiane Angolini2013-09-181-0/+3
| | | | | | | | | | | | | 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>
* imx-test.inc: Whitelist package QA warning/errorsOtavio Salvador2013-07-021-0/+2
| | | | | | | | 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>
* imx-test: Fix the compile commandDaiane Angolini2013-06-171-1/+6
| | | | | | | It includes the same INCLUDE_DIR from imx-lib Change-Id: Ie2a5aeff621a6c333e14d24a8c0e78a7b72ba50c Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
* imx-test: Condition the mxc_epdc_x11_fb_test installationLeonardo Sandoval2013-02-081-2/+3
| | | | | | | | | | | | | | | | 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>
* imx-test: Add script to print system clocksLeonardo Sandoval2013-01-111-1/+4
| | | | | | | | 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>
* imx-test: Add 12.09.01 versionOtavio Salvador2012-11-221-0/+1
| | | | | Change-Id: Iad766a8438472ba69a24471e9b6094878d1a1914 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test.inc: Replace board specific information with SoCOtavio Salvador2012-10-151-4/+3
| | | | | | | 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>
* imx-test: Change fetch URI to use FSL_MIRROROtavio Salvador2012-09-281-3/+3
| | | | | | | | | 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>
* imx-test: depends on imx-lib so vpu testing application is buildOtavio Salvador2012-07-181-2/+2
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Adrian Alonso <aalonso00@gmail.com>
* imx-test: set PACKAGE_ARCH as the package is machine dependantOtavio Salvador2012-07-171-1/+3
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: depends on virtual/kernelOtavio Salvador2012-07-171-1/+2
| | | | | | | The build of imx-test requires the kernel source to be deployed onto sysroot so we do depends on kernel to be previously built. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-test: Add imx-test.inc fileDaiane Angolini2012-05-311-0/+27
Rename imx-test_01.bb to imx-test_11.09.bb in order to use the Freescale release number of imx-test package. Add imx-test.inc to avoid dupplication of code if a new imx-test release was included. Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>