<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: i.MX25 unit tests in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177181#M6881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Albert,&lt;/P&gt;&lt;P&gt;Don't hesitate to ask. This is the right place for trivial or not trivial questions.&lt;/P&gt;&lt;P&gt;imx-test is the newer test package, so if your BSP already has the imx-test package, please use this one instead imx-misc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;prep option only unpack the package&amp;nbsp;at rpm/BUILD/&amp;lt;package folder&amp;gt;, so to install a specific package&amp;nbsp;you have 2 options:&lt;/P&gt;&lt;P&gt;1 - use prep, scbuild and scdeploy as mentioned before&lt;/P&gt;&lt;P&gt;2 - use: &amp;nbsp;./ltib -p &amp;lt;pakage name&amp;gt; -f&amp;nbsp;&amp;nbsp;&amp;nbsp; (it will prep, build and deploy in a single command)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to clear, you can simply&amp;nbsp;remove the folder rpm/BUILD/&amp;lt;package name&amp;gt;&amp;nbsp;. It will not clear the content of your rootfs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Rogerio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2011 14:53:57 GMT</pubDate>
    <dc:creator>rogerio_silva</dc:creator>
    <dc:date>2011-10-20T14:53:57Z</dc:date>
    <item>
      <title>i.MX25 unit tests</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177174#M6874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this might be a bit of silly question but here it goes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i build the kernel using the Linux-Target-Image-Builder (ltib) for the i.MX25 PDK a directory called "unit_tests" is created on the root directory. I assume these are tests probided by freescale to test the i.MX25 peripherics and this kind of stuff.&lt;/P&gt;&lt;P&gt;The thing is that I am very intereted on the source code of these test files but I can't seem to find them anywhere in the file system nor in the /ltib/ directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone can tell me where they are located???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot in advanced :)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 11:25:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177174#M6874</guid>
      <dc:creator>albert_arquer</dc:creator>
      <dc:date>2011-10-17T11:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX25 unit tests</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177175#M6875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can unpack them using:&lt;/P&gt;&lt;P&gt;./ltib -p mxc-misc -m prep&lt;/P&gt;&lt;P&gt;The source code will be available at &amp;lt;ltib directory&amp;gt;/rpm/BUILD/misc/test&lt;/P&gt;&lt;P&gt;To build and install you can do:&lt;/P&gt;&lt;P&gt;./ltib -p mxc-misc -m scbuild&lt;/P&gt;&lt;P&gt;./ltib -p mxc-misc -m scdeploy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Rogerio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 17:09:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177175#M6875</guid>
      <dc:creator>rogerio_silva</dc:creator>
      <dc:date>2011-10-17T17:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX25 unit tests</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177176#M6876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot Rogerio!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 18:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177176#M6876</guid>
      <dc:creator>albert_arquer</dc:creator>
      <dc:date>2011-10-17T18:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX25 unit tests</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177177#M6877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I hate to bother you again but this morning I tried what you said first thing and I got the following error. I looked at google but I guess it is too specific. Following I am pasting the last chunk of the output where I think the error seems to be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Building mxc_v4l2_test/make[2]: Entering directory `/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/test/mxc_v4l2_test'mkdir -p `dirname /home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/platform/IMX25_3STACK/mxc_v4l2_test//mxc_v4l2_output.out`echo " &amp;nbsp; &amp;nbsp; Building /home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/platform/IMX25_3STACK/mxc_v4l2_test//mxc_v4l2_output.out"&amp;nbsp; &amp;nbsp; &amp;nbsp;Building /home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/platform/IMX25_3STACK/mxc_v4l2_test//mxc_v4l2_output.outgcc -g -I/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/include -I/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/linux/include -I/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/linux/include -I/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/linux/include2 -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common mxc_v4l2_output.c &amp;nbsp;-o /home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/platform/IMX25_3STACK/mxc_v4l2_test//mxc_v4l2_output.outmxc_v4l2_output.c:45:28: error: asm/arch/mxcfb.h: No such file or directorymxc_v4l2_output.c: In function 'mxc_v4l_output_test':mxc_v4l2_output.c:127: warning: format '%d' expects type 'int', but argument 2 has type '__time_t'mxc_v4l2_output.c:127: warning: format '%d' expects type 'int', but argument 3 has type '__suseconds_t'mxc_v4l2_output.c: In function 'fb_setup':mxc_v4l2_output.c:266: error: storage size of 'fb_var' isn't knownmxc_v4l2_output.c:267: error: storage size of 'fb_fix' isn't knownmxc_v4l2_output.c:268: error: storage size of 'color_key' isn't knownmxc_v4l2_output.c:269: error: storage size of 'alpha' isn't knownmxc_v4l2_output.c:287: error: 'FBIOGET_FSCREENINFO' undeclared (first use in this function)mxc_v4l2_output.c:287: error: (Each undeclared identifier is reported only oncemxc_v4l2_output.c:287: error: for each function it appears in.)mxc_v4l2_output.c:296: error: 'FBIOGET_VSCREENINFO' undeclared (first use in this function)mxc_v4l2_output.c:312: error: 'MXCFB_SET_GBL_ALPHA' undeclared (first use in this function)mxc_v4l2_output.c:319: error: 'MXCFB_SET_CLR_KEY' undeclared (first use in this function)mxc_v4l2_output.c:269: warning: unused variable 'alpha'mxc_v4l2_output.c:268: warning: unused variable 'color_key'mxc_v4l2_output.c:267: warning: unused variable 'fb_fix'mxc_v4l2_output.c:266: warning: unused variable 'fb_var'mxc_v4l2_output.c:422:43: warning: multi-character character constantmxc_v4l2_output.c:427:41: warning: multi-character character constantmake[2]: *** [/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/platform/IMX25_3STACK/mxc_v4l2_test//mxc_v4l2_output.out] Error 1make[2]: Leaving directory `/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/test/mxc_v4l2_test'&lt;BR /&gt;Building mxc_vpu_test/make[2]: Entering directory `/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/test/mxc_vpu_test'make[2]: Nothing to be done for `all'.make[2]: Leaving directory `/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/test/mxc_vpu_test'&lt;BR /&gt;Building wdog/make[2]: Entering directory `/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/test/wdog'make[2]: Nothing to be done for `all'.make[2]: Leaving directory `/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/test/wdog'make[1]: Leaving directory `/home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/rpm/BUILD/misc/test'error: Bad exit status from /home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/tmp/rpm-tmp.77383 (%build)&lt;BR /&gt;&lt;BR /&gt;RPM build errors:&amp;nbsp; &amp;nbsp; Bad exit status from /home/server-mx21/SASME/software/firmware/L2.6.31_09.12.01_SDK_source/ltib/tmp/rpm-tmp.77383 (%build)Build time for mxc-misc: 2 seconds&lt;BR /&gt;Failed building mxc-misc&lt;BR /&gt;&lt;BR /&gt;f_scbuild() returned an error, exitingtraceback:&amp;nbsp;main:560&lt;BR /&gt;Exiting on error or interrupt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 07:43:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177177#M6877</guid>
      <dc:creator>albert_arquer</dc:creator>
      <dc:date>2011-10-18T07:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX25 unit tests</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177178#M6878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Albert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As already said by Rogerio, Install the supported packages, in the sequence. that itself is a solution.&lt;/P&gt;&lt;P&gt;You might need to be a root, if you want to install the mxc-misc package.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 08:31:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177178#M6878</guid>
      <dc:creator>KrishnaPavan</dc:creator>
      <dc:date>2011-10-18T08:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX25 unit tests</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177179#M6879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to add the kernel headers.&lt;/P&gt;&lt;P&gt;Call ./ltib -c and mark "Include Kernel Headers" option.&lt;/P&gt;&lt;P&gt;You can try to build the unit tests again.&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Rogerio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 12:22:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177179#M6879</guid>
      <dc:creator>rogerio_silva</dc:creator>
      <dc:date>2011-10-18T12:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX25 unit tests</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177180#M6880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rogerio, I already had the option "Include Kernel Headers" active all along. It still gives me the same error.&lt;/P&gt;&lt;P&gt;However, I have find another package called imx-test which seems to include even more testing programs than mxc-imx. Do you happen to know the difference between them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I don't quiet get the ltib tool. For example if I type "./ltib -p imx-test -m clean" it says that "imx-test is not installes" even if I have just run "./ltib -p imx-test -m install" right before.&lt;/P&gt;&lt;P&gt;I also don't get the difference between the option "prep" and "install". I mean, either way the package is getting uncompressed in /rpm/BUILD/ right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hate to ask fot all this trivial things, I would really appreciate it if you could point me to a tutorial or document where I could learn these answers myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot once again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 14:13:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177180#M6880</guid>
      <dc:creator>albert_arquer</dc:creator>
      <dc:date>2011-10-19T14:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX25 unit tests</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177181#M6881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Albert,&lt;/P&gt;&lt;P&gt;Don't hesitate to ask. This is the right place for trivial or not trivial questions.&lt;/P&gt;&lt;P&gt;imx-test is the newer test package, so if your BSP already has the imx-test package, please use this one instead imx-misc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;prep option only unpack the package&amp;nbsp;at rpm/BUILD/&amp;lt;package folder&amp;gt;, so to install a specific package&amp;nbsp;you have 2 options:&lt;/P&gt;&lt;P&gt;1 - use prep, scbuild and scdeploy as mentioned before&lt;/P&gt;&lt;P&gt;2 - use: &amp;nbsp;./ltib -p &amp;lt;pakage name&amp;gt; -f&amp;nbsp;&amp;nbsp;&amp;nbsp; (it will prep, build and deploy in a single command)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to clear, you can simply&amp;nbsp;remove the folder rpm/BUILD/&amp;lt;package name&amp;gt;&amp;nbsp;. It will not clear the content of your rootfs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Rogerio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 14:53:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX25-unit-tests/m-p/177181#M6881</guid>
      <dc:creator>rogerio_silva</dc:creator>
      <dc:date>2011-10-20T14:53:57Z</dc:date>
    </item>
  </channel>
</rss>

