<?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: i.MX8QM Custom script for UUU</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QM-Custom-script-for-UUU/m-p/1384441#M184222</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I see that the first problem is that it does not exist a FAT partition on your memory (eMMC or SD).&lt;BR /&gt;&lt;BR /&gt;This because in the script that you're using you only load uboot, in the example I used I flashed the whole wic image which is already partitioned.&lt;BR /&gt;&lt;BR /&gt;I think it may be possible to create all environmental variables at uboot and then boot into kernel, similar to this script:&lt;BR /&gt;&lt;A href="https://github.com/NXPmicro/mfgtools/wiki/Sample-script#burn-yocto-image-to-emmc-by-linux-kernel" target="_blank"&gt;https://github.com/NXPmicro/mfgtools/wiki/Sample-script#burn-yocto-image-to-emmc-by-linux-kernel&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Then create a FAT partition and then download and save the binary that you need to boot the cortex-A application.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Dec 2021 01:55:41 GMT</pubDate>
    <dc:creator>AldoG</dc:creator>
    <dc:date>2021-12-10T01:55:41Z</dc:date>
    <item>
      <title>i.MX8QM Custom script for UUU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QM-Custom-script-for-UUU/m-p/1384042#M184184</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/171173"&gt;@AldoG&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I used the KB &lt;A title="Creating and running a custom script for UUU" href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Creating-and-running-a-custom-script-for-UUU/ta-p/1377275" target="_self"&gt;post&lt;/A&gt;&amp;nbsp;to create a similar script used to flash and run a Cortex-A53 app on my MEK. I encountered the following issue with the fatwrite step. My emcc config is below. Attached console output and script. Any suggestions, thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;=&amp;gt; mmcinfo&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Device: FSL_SDHC&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Manufacturer ID: 13&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;OEM: 14e&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Name: R1J57&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Bus Speed: 200000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Mode: HS400 (200MHz)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Rd Block Len: 512&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;MMC version 5.0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;High Capacity: Yes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Capacity: 27.4 GiB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Bus Width: 8-bit DDR&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Erase Group Size: 512 KiB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;HC WP Group Size: 8 MiB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;User Capacity: 27.4 GiB ENH WRREL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;User Enhanced Start: 0 Bytes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;User Enhanced Size: 1.8 GiB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Boot Capacity: 8 MiB ENH&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;RPMB Capacity: 4 MiB ENH&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;=&amp;gt; mmc part&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;## Unknown partition table type 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;=&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 12:57:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8QM-Custom-script-for-UUU/m-p/1384042#M184184</guid>
      <dc:creator>rkohli2000</dc:creator>
      <dc:date>2021-12-09T12:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8QM Custom script for UUU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QM-Custom-script-for-UUU/m-p/1384441#M184222</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I see that the first problem is that it does not exist a FAT partition on your memory (eMMC or SD).&lt;BR /&gt;&lt;BR /&gt;This because in the script that you're using you only load uboot, in the example I used I flashed the whole wic image which is already partitioned.&lt;BR /&gt;&lt;BR /&gt;I think it may be possible to create all environmental variables at uboot and then boot into kernel, similar to this script:&lt;BR /&gt;&lt;A href="https://github.com/NXPmicro/mfgtools/wiki/Sample-script#burn-yocto-image-to-emmc-by-linux-kernel" target="_blank"&gt;https://github.com/NXPmicro/mfgtools/wiki/Sample-script#burn-yocto-image-to-emmc-by-linux-kernel&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Then create a FAT partition and then download and save the binary that you need to boot the cortex-A application.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 01:55:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8QM-Custom-script-for-UUU/m-p/1384441#M184222</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2021-12-10T01:55:41Z</dc:date>
    </item>
  </channel>
</rss>

