<?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: Error assembling flash.bin with imx-mkimage: mkimage_uboot command missing</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-assembling-flash-bin-with-imx-mkimage-mkimage-uboot/m-p/1431222#M188422</link>
    <description>&lt;P&gt;Problem solved.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 09:59:32 GMT</pubDate>
    <dc:creator>Dial</dc:creator>
    <dc:date>2022-03-21T09:59:32Z</dc:date>
    <item>
      <title>Error assembling flash.bin with imx-mkimage: mkimage_uboot command missing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-assembling-flash-bin-with-imx-mkimage-mkimage-uboot/m-p/1430657#M188365</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to build a flash.bin binary with &lt;STRONG&gt;imx-mkimage&lt;/STRONG&gt; got from&amp;nbsp;&lt;A href="https://github.com/Freescale/imx-mkimage?msclkid=949b2c0aa6a311ec8f036993ccfcd991" target="_blank"&gt;GitHub - Freescale/imx-mkimage: FSLC Community fork of i.MX MkImage (original code in https://source.codeaurora.org/external/imx/imx-mkimage)&lt;/A&gt; but have the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;$ make SOC=iMX8M flash_spl_uboot&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;Compiling mkimage_imx8&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;./mkimage_fit_atf.sh fsl-imx8mq-evk.dtb &amp;gt; u-boot.its&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;bl31.bin size:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;37137&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;u-boot-nodtb.bin size:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;584160&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;fsl-imx8mq-evk.dtb size:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;22239&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot-lpddr4.itb&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;&lt;STRONG&gt;make[1]: ./mkimage_uboot: Command not found&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;make[1]: *** [soc.mak:57: u-boot-lpddr4.itb] Error 127&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;make: *** [Makefile:20: flash_spl_uboot] Error 2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;mkimage_uboot command/script does not exist in the system.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Could someone help me?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thanks in advance.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 10:23:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-assembling-flash-bin-with-imx-mkimage-mkimage-uboot/m-p/1430657#M188365</guid>
      <dc:creator>Dial</dc:creator>
      <dc:date>2022-03-18T10:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error assembling flash.bin with imx-mkimage: mkimage_uboot command missing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-assembling-flash-bin-with-imx-mkimage-mkimage-uboot/m-p/1430753#M188373</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I recommend looking into the official Linux User Guide&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf&lt;/A&gt;&amp;nbsp;page&amp;nbsp;41 / 111. There you have detailed steps for building uboot with imx-mkimage for&amp;nbsp;i.MX 8M EVK. ( the first step is:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;1. Copy and rename mkimage from u-boot/tools/mkimage to imx-mkimage/iMX8M/mkimage_uboot&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;and I think that answers your question).&lt;/P&gt;
&lt;P&gt;The official repo for imx-mkimage -&amp;gt;&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/imx-mkimage/?h=lf-5.10.72_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-mkimage/?h=lf-5.10.72_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;with additional inormation on where to find/build the necessary files:&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/imx-mkimage/tree/iMX8M/README?h=lf-5.10.72_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-mkimage/tree/iMX8M/README?h=lf-5.10.72_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Let me know if further information is needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 15:00:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-assembling-flash-bin-with-imx-mkimage-mkimage-uboot/m-p/1430753#M188373</guid>
      <dc:creator>dianapredescu</dc:creator>
      <dc:date>2022-03-18T15:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error assembling flash.bin with imx-mkimage: mkimage_uboot command missing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-assembling-flash-bin-with-imx-mkimage-mkimage-uboot/m-p/1431129#M188415</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please follow up the recommendation from Diana.&lt;/P&gt;
&lt;P&gt;Also, I think that you haven't probably compiled the U-boot according to below:&lt;/P&gt;
&lt;PRE&gt;2. u-boot and SPL images (Mandatory, used for all targets)
   Files:		u-boot.bin and u-boot-spl.bin
   Git:			ssh://git@sw-stash.freescale.net/imx/uboot-imx.git
   Directory:		./u-boot.bin and spl/u-boot-spl.bin
   Build command:	make imx8mq_evk_defconfig; make&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;So then the binary mkimage_uboot missed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 07:42:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-assembling-flash-bin-with-imx-mkimage-mkimage-uboot/m-p/1431129#M188415</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-03-21T07:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error assembling flash.bin with imx-mkimage: mkimage_uboot command missing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-assembling-flash-bin-with-imx-mkimage-mkimage-uboot/m-p/1431222#M188422</link>
      <description>&lt;P&gt;Problem solved.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 09:59:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-assembling-flash-bin-with-imx-mkimage-mkimage-uboot/m-p/1431222#M188422</guid>
      <dc:creator>Dial</dc:creator>
      <dc:date>2022-03-21T09:59:32Z</dc:date>
    </item>
  </channel>
</rss>

