<?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>i.MX Processors中的主题 Re: Clean/Rebuild target using bitbake</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451140#M69989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone please help me here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2015 08:29:48 GMT</pubDate>
    <dc:creator>dhavalvadhar</dc:creator>
    <dc:date>2015-08-21T08:29:48Z</dc:date>
    <item>
      <title>Clean/Rebuild target using bitbake</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451134#M69983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to clean the binaries generated using 'bitbake' command and rebuild the following two targets:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I ran command 'bitbake core-image-minimal'. And at the end it will generate few images which will be deployed at "&amp;lt;build dir&amp;gt;/tmp/deploy/images/&amp;lt;target device&amp;gt;/" path. Now next when I run this command it will generate all new images and create appropriate sym-links. But it also kept older images. How can clean this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I ran command 'bitbake imx-test'. It will build the unit tests and then generate the binaries at "&amp;lt;build dir&amp;gt;/tmp/work/&amp;lt;target device&amp;gt;-poky-arm-gnueabi/imx-test/&amp;lt;version&amp;gt;/..." path. Now, after changing one of the source file, I again ran the command 'bitbake imx-test'. But it didn't compile the updated source file and thus didn't generate the binary. How can I achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate if someone can help me understand and resolve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhaval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 09:21:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451134#M69983</guid>
      <dc:creator>dhavalvadhar</dc:creator>
      <dc:date>2015-08-19T09:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Clean/Rebuild target using bitbake</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451135#M69984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use following command sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bitbake -f -c compile imx-test&lt;/P&gt;&lt;P&gt;bitbake imx-test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 09:25:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451135#M69984</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-08-19T09:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Clean/Rebuild target using bitbake</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451136#M69985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. What about the first question of my post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I have tried the command you have suggested and that works fine. Now I want to add a customized capture application within imx-test and want to build it. For that I put that application in mxc_v4l2_test directory and updated the mxc_v4l2_test/Makefile as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ifeq ($(PLATFORM),$(findstring $(PLATFORM),$(CSI_LIST)))&lt;/P&gt;&lt;P&gt;OBJS += $(OBJDIR)/csi_v4l2_overlay.out \&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(OBJDIR)/mx6s_v4l2_capture.out \&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(OBJDIR)/sampleCapture.out&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I rebuild the imx-test using same commands. But it is not generating the .out file!! Am I doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, how can I build the imx-test using 'make' command i.e. without using 'bitbake'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhaval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 09:47:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451136#M69985</guid>
      <dc:creator>dhavalvadhar</dc:creator>
      <dc:date>2015-08-19T09:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Clean/Rebuild target using bitbake</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451137#M69986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For&amp;nbsp; your first post&amp;nbsp; check following.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/353311"&gt;YOCTO project clean&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your second post.&lt;/P&gt;&lt;P&gt;Use attached folder , put you file as "mxc_test_out.c"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 10:02:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451137#M69986</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-08-19T10:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Clean/Rebuild target using bitbake</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451138#M69987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent aport!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 13:30:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451138#M69987</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2015-08-19T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Clean/Rebuild target using bitbake</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451139#M69988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply! I was able to build the *.out file using the Makefile, after removing linking of '-lvpu -lipu as I didn't get these libraries. After that I try to run the compiled *.out file on i.MX6. And it is giving me strange error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Compilation logs:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ make clean;make&lt;/P&gt;&lt;P&gt;rm -f /mx6s_v4l2_capture.out mx6s_v4l2_capture.o &lt;/P&gt;&lt;P&gt;arm-poky-linux-gnueabi-gcc&amp;nbsp; -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi&amp;nbsp; -Wall -O2 -c mx6s_v4l2_capture.c -o mx6s_v4l2_capture.o&lt;/P&gt;&lt;P&gt;mx6s_v4l2_capture.c: In function 'v4l_capture_test':&lt;/P&gt;&lt;P&gt;mx6s_v4l2_capture.c:501:29: warning: 'fb0' may be used uninitialized in this function [-Wmaybe-uninitialized]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memcpy(fb0 + bufoffset + j * var.xres * 2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;/P&gt;&lt;P&gt;mx6s_v4l2_capture.c:541:3: warning: 'fb0_size' may be used uninitialized in this function [-Wmaybe-uninitialized]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; munmap((void *)fd_fb, fb0_size);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ^&lt;/P&gt;&lt;P&gt;arm-poky-linux-gnueabi-gcc -o mx6s_v4l2_capture.out mx6s_v4l2_capture.o&amp;nbsp; -lrt -lpthread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error&amp;nbsp; while running on i.MX6:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# ls -la&lt;/P&gt;&lt;P&gt;total 36&lt;/P&gt;&lt;P&gt;drwxrwx--- 4 root disk&amp;nbsp; 4096 Aug 20 06:55 .&lt;/P&gt;&lt;P&gt;drwxr-xr-x 4 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 80 Aug 20 06:34 ..&lt;/P&gt;&lt;P&gt;drwxrwx--- 2 root disk&amp;nbsp; 4096 Aug 19 18:35 System Volume Information&lt;/P&gt;&lt;P&gt;-rwxrwx--- 1 root disk 19869 Aug 20&amp;nbsp; 2015 mx6s_v4l2_capture.out&lt;/P&gt;&lt;P&gt;drwxrwx--- 2 root disk&amp;nbsp; 8192 Jul 12 13:43 unit_tests&lt;/P&gt;&lt;P&gt;root@varsomimx6:/run/media/mmcblk0p1# ./mx6s_v4l2_capture.out &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-sh: ./mx6s_v4l2_capture.out: No such file or directory&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though this file is exist, it is giving the error 'No such file or direcory'. Not able to understand why? &lt;/P&gt;&lt;P&gt;Please help me here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhaval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 06:57:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451139#M69988</guid>
      <dc:creator>dhavalvadhar</dc:creator>
      <dc:date>2015-08-20T06:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Clean/Rebuild target using bitbake</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451140#M69989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone please help me here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 08:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451140#M69989</guid>
      <dc:creator>dhavalvadhar</dc:creator>
      <dc:date>2015-08-21T08:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Clean/Rebuild target using bitbake</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451141#M69990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anybody face this kind of issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate quick reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 07:21:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Clean-Rebuild-target-using-bitbake/m-p/451141#M69990</guid>
      <dc:creator>dhavalvadhar</dc:creator>
      <dc:date>2015-08-28T07:21:55Z</dc:date>
    </item>
  </channel>
</rss>

