<?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 Yocto build and SD card flashing guideline for iMX8M Plus in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1809944#M220014</link>
    <description>&lt;P&gt;We want to create a Yocto build for iMX8M Plus. We are following the instructions as mentioned in the following user guide.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The issue is we are confused as to which machine name do we need to use:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;imx8mp-lpddr4-evk&lt;BR /&gt;2.&amp;nbsp;imx8mp-ddr4-evk&lt;/P&gt;&lt;P&gt;For the moment we have used&amp;nbsp;imx8mp-lpddr4-evk. For the distro we have used fsl-imx-xwayland. Once the build is done, we have used a 16 GB SD Card and flashed the wic using the following command:&lt;/P&gt;&lt;P&gt;zstdcat .wic.zst | sudo dd of=/dev/sd bs=1M conv=fsync&lt;/P&gt;&lt;P&gt;But when using the SD Card, the boot does not happen, and we are not able to see any logs in the minicom (it is connected to the debug port to the PC). We tried using /dev/ttyUSB0 but did not see any logs.&lt;/P&gt;&lt;P&gt;So please do let us know which machine name to use (1) or (2). What mistake are we making for which Yocto is not running on the iMX8m plus board&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2024 11:56:03 GMT</pubDate>
    <dc:creator>soumyakk</dc:creator>
    <dc:date>2024-02-16T11:56:03Z</dc:date>
    <item>
      <title>Yocto build and SD card flashing guideline for iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1809944#M220014</link>
      <description>&lt;P&gt;We want to create a Yocto build for iMX8M Plus. We are following the instructions as mentioned in the following user guide.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The issue is we are confused as to which machine name do we need to use:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;imx8mp-lpddr4-evk&lt;BR /&gt;2.&amp;nbsp;imx8mp-ddr4-evk&lt;/P&gt;&lt;P&gt;For the moment we have used&amp;nbsp;imx8mp-lpddr4-evk. For the distro we have used fsl-imx-xwayland. Once the build is done, we have used a 16 GB SD Card and flashed the wic using the following command:&lt;/P&gt;&lt;P&gt;zstdcat .wic.zst | sudo dd of=/dev/sd bs=1M conv=fsync&lt;/P&gt;&lt;P&gt;But when using the SD Card, the boot does not happen, and we are not able to see any logs in the minicom (it is connected to the debug port to the PC). We tried using /dev/ttyUSB0 but did not see any logs.&lt;/P&gt;&lt;P&gt;So please do let us know which machine name to use (1) or (2). What mistake are we making for which Yocto is not running on the iMX8m plus board&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 11:56:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1809944#M220014</guid>
      <dc:creator>soumyakk</dc:creator>
      <dc:date>2024-02-16T11:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build and SD card flashing guideline for iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1810085#M220030</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229622"&gt;@soumyakk&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Let me provide the steps I have followed and tested on my side that should work.&lt;/P&gt;
&lt;P&gt;Format SD card connected to my Linux PC, listed as sdb&lt;BR /&gt;$ sudo fdisk /dev/sdb&lt;BR /&gt;Type the following parameters (each followed by &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;p [lists the current partitions]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;d [to delete existing partitions. Repeat this until no unnecessary partitions are reported by the 'p' command to start fresh.]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;n [create a new partition]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;p [create a primary partition - use for both partitions]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1 [the first partition]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;20480 [starting at offset sector]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1024000 [ending position of the first partition to be used for the boot images]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;p [to check the partitions]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;n&lt;/P&gt;
&lt;P&gt;p&lt;/P&gt;
&lt;P&gt;2&lt;/P&gt;
&lt;P&gt;1228800 [starting at offset sector, which leaves enough space for the kernel, the bootloader and its configuration data]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;lt;enter&amp;gt; [using the default value will create a partition that extends to the last sector of the media]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;p [to check the partitions]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;w [this writes the partition table to the media and fdisk exits]&lt;/P&gt;
&lt;P&gt;Change directory to where I have all my files, ubot, rootfs, dtb, etc.&lt;BR /&gt;$ cd LF_v5.15.32-2.0.0_images_imx8mnevk/&lt;/P&gt;
&lt;P&gt;Copy bootloader to SD card&lt;BR /&gt;$ sudo dd if=imx-boot-imx8mnevk-sd.bin-flash_evk of=/dev/sdb bs=1k seek=32 conv=fsync&lt;/P&gt;
&lt;P&gt;Create a VFAT partition where kernel and dtb will be stored&lt;BR /&gt;$ sudo mkfs.vfat /dev/sdb1&lt;/P&gt;
&lt;P&gt;Create a directory where SD partition will be mounted; next mount the partition&lt;BR /&gt;$ mkdir mountpoint&lt;BR /&gt;$ sudo mount /dev/sdb1 mountpoint&lt;/P&gt;
&lt;P&gt;Copy and rename kernel image and dtb (here the documentation is not clear, so this may be the cause of your issue) uboot expects that kernel image is named Image and dtb imx8mq-evk.dtb&lt;BR /&gt;$ sudo cp Image-imx8mnevk.bin ./mountpoint/Image&lt;BR /&gt;$ sudo cp imx8mq-evk.dtb ./mountpoint/imx8mq-evk.dtb&lt;/P&gt;
&lt;P&gt;Unmount the partition&lt;BR /&gt;$ sudo umount mountpoint&lt;/P&gt;
&lt;P&gt;Format partition that will store the root file system&lt;BR /&gt;$ sudo mkfs.ext4 /dev/sdb2&lt;/P&gt;
&lt;P&gt;Mount the partiotion&lt;BR /&gt;$ sudo mount /dev/sdb2 mountpoint/&lt;/P&gt;
&lt;P&gt;Create a directory and extract root file system&lt;BR /&gt;$ mkdir rootfs&lt;BR /&gt;$ cd rootfs/&lt;BR /&gt;$ tar -jxvf ../imx-image-full-imx8mnevk.tar.bz2&lt;/P&gt;
&lt;P&gt;Copy root file system to the mounted partition&lt;BR /&gt;$ sudo cp -a * ../mountpoint&lt;/P&gt;
&lt;P&gt;Unmount partition and sync&lt;BR /&gt;$ sudo umount ../mountpoint&lt;BR /&gt;$ sync&lt;/P&gt;
&lt;P&gt;You may unplug your SD card now and try it on your board, if you find any issue please do let me know.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 15:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1810085#M220030</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-02-16T15:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build and SD card flashing guideline for iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1815231#M220395</link>
      <description>&lt;P&gt;Can you please let me know which option (machine name) do I need to select to build the Yocto image for iMX8 Plus 1. imx8mp-lpddr4-evk ---OR--- 2. imx8mp-ddr4-evk&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 06:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1815231#M220395</guid>
      <dc:creator>soumyakk</dc:creator>
      <dc:date>2024-02-26T06:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build and SD card flashing guideline for iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1815589#M220410</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229622"&gt;@soumyakk&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;&lt;BR /&gt;Both are for imx8mp, the difference is the RAM (one uses lpddr4 and the other uses ddr4).&lt;BR /&gt;If you are not sure what board are you using, put the machine on "imx8mpevk" to generate both bootloaders.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards!&lt;/P&gt;&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 12:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1815589#M220410</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-02-26T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build and SD card flashing guideline for iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1815595#M220412</link>
      <description>&lt;P&gt;Thanks for the quick response. But once the build is done, which image LPDDR or DDR image do I need to flash? I am using iMX8 Plus. Can I use either of them?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 12:59:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1815595#M220412</guid>
      <dc:creator>soumyakk</dc:creator>
      <dc:date>2024-02-26T12:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build and SD card flashing guideline for iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1815724#M220422</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229622"&gt;@soumyakk&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;&lt;BR /&gt;Please, check your board, in the SOM has written the model, in my case, I have the LPDDR.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chavira_0-1708961302411.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265086i3C5D153FC509C695/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chavira_0-1708961302411.jpeg" alt="Chavira_0-1708961302411.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 15:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1815724#M220422</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-02-26T15:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build and SD card flashing guideline for iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1817361#M220524</link>
      <description>&lt;P&gt;Thank you. There I found it is LPDDR. Though it is blocked by the heatsink but found the info needed.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 09:35:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1817361#M220524</guid>
      <dc:creator>soumyakk</dc:creator>
      <dc:date>2024-02-28T09:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build and SD card flashing guideline for iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1871573#M224079</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761"&gt;@Chavira&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i followed you flashing guidelines for imx8mplus evk , it is working.&lt;/P&gt;&lt;P&gt;On what basis we select partition1 first sector and end sector , second partition first sector and end&amp;nbsp; sector . where this information present .please help me out.&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 04:42:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-and-SD-card-flashing-guideline-for-iMX8M-Plus/m-p/1871573#M224079</guid>
      <dc:creator>srinivas_123</dc:creator>
      <dc:date>2024-05-23T04:42:52Z</dc:date>
    </item>
  </channel>
</rss>

