aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-test/imx-test.inc
AgeCommit message (Collapse)Author
2016-09-21imx-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-30imx-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-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-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>
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-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-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-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: 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-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-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-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>
2012-07-18imx-test: depends on imx-lib so vpu testing application is buildOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Adrian Alonso <aalonso00@gmail.com>
2012-07-17imx-test: set PACKAGE_ARCH as the package is machine dependantOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-07-17imx-test: depends on virtual/kernelOtavio Salvador
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>
2012-05-31imx-test: Add imx-test.inc fileDaiane Angolini
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>