Hello, I am looking for the unit test source code for mxc_epdc_x11_fb_test.out on the IMX 50
I found code for a similar unit test here: i.MX6SoloLite Evaluation Kit and EPDC testing
After using 'find' in my entire filesystem, I couldn't find a .c file with that name.
If someone could upload it or point towards a repo I would appreciate it.
Solved! Go to Solution.
Hello,
As for Linux tests under LTIB :
All available sources of utilites in /unit_tests directory may be found in
imx-test and mxc-misc packages.
To get them under LTIB :
$ /ltib -c
Select
Package list -> imx-test
or
$ ./ltib -p imx-test -m prep
$ ./ltib -p mxc-misc -m prep
After that, <ltib>/rpm/BUILD/misc/test/ directory will contain the sources.
Note, test images may be found in <rootfs>/unit_tests directory.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I find this question still relevant three years later, now that LTIB has been replaced by yocto. If I figure out how to find this source code using current software, I'll update this post with details.
Hello,
As for Linux tests under LTIB :
All available sources of utilites in /unit_tests directory may be found in
imx-test and mxc-misc packages.
To get them under LTIB :
$ /ltib -c
Select
Package list -> imx-test
or
$ ./ltib -p imx-test -m prep
$ ./ltib -p mxc-misc -m prep
After that, <ltib>/rpm/BUILD/misc/test/ directory will contain the sources.
Note, test images may be found in <rootfs>/unit_tests directory.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks Yuri, this is exactly what I'm after.
Google has a pretty good idea of "mxc_epdc_fb_test".
Tom
Tom, look a bit closer at the patch updates on github that I'm assuming you're referring to, you'll see there are various versions and for various platforms. I tried several and none would compile on my particular system (IMX 50). If your google-fu is better than mine, I would be interested in getting my hands on your results.
Seeing as the .out files are created with the linux build, it is reasonable to assume they exist somewhere in plain c.
Sorry, I assumed you hadn't chased down all those other ones as you didn't say.
My "Google-foo" tells me to get more specific in this instance, and to search for "mxc_fb_test/mxc_epdc_fb_test.c":
Google finds this reference, I assume you're running an LTIB package:
How to verify EPD panel functionality
l. Fortunately, the source is included in the BSP distribution so you can extract, customize, and rebuild it as needed. The magic of LTIB is beyond the scope of this article, but here are some hints:
# Extract the unit test source from the imx-test package:
$ ./ltib -m prep -p imx-test
# Source is now in rpm/BUILD/imx-test-12.08.00/test/mxc_fb_test/mxc_epdc_fb_test.c (your package version number my be different).
Tom