<?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 how can I generate .wic image by using u-boot, kernel image and rootfs in i.MX8QM in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-can-I-generate-wic-image-by-using-u-boot-kernel-image-and/m-p/1655408#M206327</link>
    <description>&lt;P&gt;Dear NXP Team,&lt;/P&gt;&lt;P&gt;how can I generate .wic image by using u-boot, kernel image and rootfs in i.MX8QM.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Mallikarjuna&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2023 07:19:27 GMT</pubDate>
    <dc:creator>mallibeerala</dc:creator>
    <dc:date>2023-05-23T07:19:27Z</dc:date>
    <item>
      <title>how can I generate .wic image by using u-boot, kernel image and rootfs in i.MX8QM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-can-I-generate-wic-image-by-using-u-boot-kernel-image-and/m-p/1655408#M206327</link>
      <description>&lt;P&gt;Dear NXP Team,&lt;/P&gt;&lt;P&gt;how can I generate .wic image by using u-boot, kernel image and rootfs in i.MX8QM.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Mallikarjuna&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 07:19:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-can-I-generate-wic-image-by-using-u-boot-kernel-image-and/m-p/1655408#M206327</guid>
      <dc:creator>mallibeerala</dc:creator>
      <dc:date>2023-05-23T07:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: how can I generate .wic image by using u-boot, kernel image and rootfs in i.MX8QM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-can-I-generate-wic-image-by-using-u-boot-kernel-image-and/m-p/1656670#M206469</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189361"&gt;@mallibeerala&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The .wic file can be generated using Yocto. Kindly refer to the&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf&amp;amp;source=gmail&amp;amp;ust=1685016155397000&amp;amp;usg=AOvVaw0HwlbHv5JJzqyRrNgLzsbA"&gt;i.MX Yocto Project User's Guide&lt;/A&gt;&amp;nbsp;for the same.&lt;/DIV&gt;
&lt;DIV&gt;To modify the .wic file and its partition using yocto, one can modify the particular&amp;nbsp;&lt;STRONG&gt;sources/meta-&lt;WBR /&gt;freescale/wic/&lt;A href="http://imx-imx-boot-bootpart.wks.in/" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=http://imx-imx-boot-bootpart.wks.in&amp;amp;source=gmail&amp;amp;ust=1685016155397000&amp;amp;usg=AOvVaw3GQlD64QTIoB1TxbyM3eZ7"&gt;imx-imx-boot-&lt;WBR /&gt;bootpart.wks.in&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file from the sources directory.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;For more information related to the same kindly refer to the below document.&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://docs.yoctoproject.org/ref-manual/kickstart.html" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://docs.yoctoproject.org/ref-manual/kickstart.html&amp;amp;source=gmail&amp;amp;ust=1685016155397000&amp;amp;usg=AOvVaw33zzaYrVEBmh52IXqHKraZ"&gt;https://docs.yoctoproject.org/&lt;WBR /&gt;ref-manual/kickstart.html&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 12:56:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-can-I-generate-wic-image-by-using-u-boot-kernel-image-and/m-p/1656670#M206469</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-05-24T12:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: how can I generate .wic image by using u-boot, kernel image and rootfs in i.MX8QM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-can-I-generate-wic-image-by-using-u-boot-kernel-image-and/m-p/1657371#M206535</link>
      <description>&lt;P&gt;Hi Dhruvit,&lt;BR /&gt;&lt;BR /&gt;Is it possible to generate .wic image without using yocto build, if yes please provide procedure for generate .wic image using u-boot, kernel image and root file system.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Mallikarjuna&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 06:55:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-can-I-generate-wic-image-by-using-u-boot-kernel-image-and/m-p/1657371#M206535</guid>
      <dc:creator>mallibeerala</dc:creator>
      <dc:date>2023-05-25T06:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: how can I generate .wic image by using u-boot, kernel image and rootfs in i.MX8QM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-can-I-generate-wic-image-by-using-u-boot-kernel-image-and/m-p/1658249#M206628</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189361"&gt;@mallibeerala&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;NXP does not have any document or procedure&amp;nbsp;to generate&amp;nbsp;a .wic file without using Yocto.&lt;/DIV&gt;
&lt;DIV&gt;Please accept my apology for the inconvenience due to the same.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 09:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-can-I-generate-wic-image-by-using-u-boot-kernel-image-and/m-p/1658249#M206628</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-05-26T09:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: how can I generate .wic image by using u-boot, kernel image and rootfs in i.MX8QM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-can-I-generate-wic-image-by-using-u-boot-kernel-image-and/m-p/1658670#M206668</link>
      <description>&lt;P&gt;.wic/.sdcard is just a sdcard mirror.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the same commands of Yocto to do the same thing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yocto is just a "script"(bb file). Yocto can do that, you also can do that manually.&lt;/P&gt;&lt;P&gt;Alternatively, I would like to introduce you one very useful tool under linux.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It calls kpartx. It can simulate a virtual sdard mirror.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you know how to create a sdcard mirror with a real sdcard on PC. You can use the kpartx do the same thing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;truncate&amp;nbsp; -s 7900M 1.sdcard&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo sgdisk -n&amp;nbsp; 0:0:+2600M&amp;nbsp; -c 0:"rootfs"&amp;nbsp; -p 1.sdcard&lt;BR /&gt;sudo sgdisk -n&amp;nbsp; 0:0:+600M&amp;nbsp; -c 0:"data1"&amp;nbsp; -p 1.sdcard&lt;BR /&gt;sudo sgdisk -n&amp;nbsp; 0:0:+650M&amp;nbsp; -c 0:"data2"&amp;nbsp; -p 1.sdcard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo&amp;nbsp; kpartx -av 1.sdcard&lt;/P&gt;&lt;P&gt;sudo dd if=flash.bin of=/dev/loop0 bs=1k seek=32 conv=fsync&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo mkfs.ext4 /dev/mapper/loop0p1&lt;/P&gt;&lt;P&gt;mkdir mnt&lt;BR /&gt;sudo mount /dev/mapper/loop0p1 mnt/&lt;BR /&gt;sudo touch mnt/test.txt&lt;BR /&gt;ls mnt/&lt;BR /&gt;lost+found&amp;nbsp; test.txt&lt;BR /&gt;sudo umount mnt&lt;BR /&gt;sudo&amp;nbsp; kpartx -dv /dev/loop0&lt;/P&gt;&lt;P&gt;If you use a real sdcard, the device will be, for example, /dev/sda.&lt;/P&gt;&lt;P&gt;for kpartx, it will be /dev/loop0&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you use a real sdcard, the partition will be like /dev/sda1&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for kpartx, it will be&amp;nbsp;/dev/mapper/loop0p1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2023 02:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-can-I-generate-wic-image-by-using-u-boot-kernel-image-and/m-p/1658670#M206668</guid>
      <dc:creator>rudi_cyber</dc:creator>
      <dc:date>2023-05-27T02:20:43Z</dc:date>
    </item>
  </channel>
</rss>

