<?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: how to put test.bmp in /home/root folder? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-to-put-test-bmp-in-home-root-folder/m-p/464320#M73036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;P&gt;Thanks for reply, yours is the most easy way, but I have question, I must use rsync to do it, or can i wrtie the following? :&lt;/P&gt;&lt;P&gt;IMAGE_PREPROCESS_COMMAND += " cp /home/root/test.bmp ${WORKDIR}/rootfs ; "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;looking forward to reply,thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Feb 2016 08:26:20 GMT</pubDate>
    <dc:creator>freescaleusr1</dc:creator>
    <dc:date>2016-02-19T08:26:20Z</dc:date>
    <item>
      <title>how to put test.bmp in /home/root folder?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-put-test-bmp-in-home-root-folder/m-p/464317#M73033</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 use yocto core-image-minimal image,I wish to place a test picture like : test .bmp into the sdcard image file, I find the root folder in build/tmp/work/..../core-image-minimal/1.0-r0/rootfs/home/,and cp it into it, then bitbake core-image-minimal, but the picture file still disappear. so these rootfs files all are updated when bitbake. so how to bitbake and not make these rootfs files not updated again, or&amp;nbsp; what is the simplest method to place picture in /home/root in final image? looking forward to reply, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 03:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-put-test-bmp-in-home-root-folder/m-p/464317#M73033</guid>
      <dc:creator>freescaleusr1</dc:creator>
      <dc:date>2016-02-17T03:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to put test.bmp in /home/root folder?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-put-test-bmp-in-home-root-folder/m-p/464318#M73034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;The simplest way if file is added to compiled file system. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Use the command sequence as below. This command sequence was used on the P2020DS board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;a. Add files to ext2 rootfs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;0. These steps are needed if rootfs.ext2.gz.uboot format is used.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;sudo apt-get install u-boot-tools&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Following are the steps for adding files into rootfilesystem:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;dd if=fsl_image_minimal_p2020ds.rootfs.ext2.gz.uboot of=fsl_image_minimal_p2020ds.rootfs.ext2.gz bs=64 skip=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;1. gunzip fsl_image_minimal_p2020ds.rootfs.ext2.gz&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;2. mkdir ./mnt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;3. mount -o loop fsl_image_minimal_p2020ds.rootfs.ext2 ./mnt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;4. Now, one can copy files into appropriate location under “./mnt” directory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;5. umount ./mnt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;6. gzip -9 fsl_image_minimal_p2020ds.rootfs.ext2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;7. mkimage -A ppc -O linux -T ramdisk -C gzip -n 'fsl_image_minimal_p2020ds.rootfs.ext2.gz.uboot' -d fsl_image_minimal_p2020ds.rootfs.ext2.gz rootfs_full.ext2.gz.uboot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;+++++++++++++++++++++++&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;b. Here are the steps for re-tailoring jffs2 based rootfs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;1. Follow steps 1-4 as mentioned above&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;2. Execute the following command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp; mkfs.jffs2 -b -n -e 0x20000 --pad=0x800 -r mount1/ -o rfs.jffs2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;rfs.jffs2 will be the jffs2 based file system containing the custom changes made through steps 1-4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Please note that mkfs.jffs2 binary should be present on the host machine (x86, etc)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 06:04:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-put-test-bmp-in-home-root-folder/m-p/464318#M73034</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2016-02-17T06:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to put test.bmp in /home/root folder?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-put-test-bmp-in-home-root-folder/m-p/464319#M73035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could also check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/331769"&gt;What is the proper way to add miscellaneous files to Yocto rootfs ?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 12:29:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-put-test-bmp-in-home-root-folder/m-p/464319#M73035</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2016-02-17T12:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to put test.bmp in /home/root folder?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-put-test-bmp-in-home-root-folder/m-p/464320#M73036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;P&gt;Thanks for reply, yours is the most easy way, but I have question, I must use rsync to do it, or can i wrtie the following? :&lt;/P&gt;&lt;P&gt;IMAGE_PREPROCESS_COMMAND += " cp /home/root/test.bmp ${WORKDIR}/rootfs ; "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;looking forward to reply,thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 08:26:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-put-test-bmp-in-home-root-folder/m-p/464320#M73036</guid>
      <dc:creator>freescaleusr1</dc:creator>
      <dc:date>2016-02-19T08:26:20Z</dc:date>
    </item>
  </channel>
</rss>

