<?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: i.MX8M Nano Update Bootloader Binary from Kernel using DD Command in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1914407#M226476</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Actually you can refer the community document mentioned above, it is good reference for your use case:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/NXP-Tech-Blog/i-MX8QXP-eMMC-Secondary-Boot/ba-p/1257704#M45" target="_blank"&gt;https://community.nxp.com/t5/NXP-Tech-Blog/i-MX8QXP-eMMC-Secondary-Boot/ba-p/1257704#M45&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2024 19:41:31 GMT</pubDate>
    <dc:creator>AldoG</dc:creator>
    <dc:date>2024-07-22T19:41:31Z</dc:date>
    <item>
      <title>i.MX8M Nano Update Bootloader Binary from Kernel using DD Command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1908877#M226193</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were able to flash the uboot binary using the uuu tool for We were the IMX8M Nano&amp;nbsp;board. But we are unable to do it from the kernel using the dd command.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;$ dd if=uboot.bin of=/dev/mmcblk2 bs=1k seek=32&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;$ sync&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any corresponding offset or partition in for bootloader flashing? Please share the UUU tool bootloader offset or command for flashing the bootloader.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help us.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 14:11:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1908877#M226193</guid>
      <dc:creator>Nethaji1510</dc:creator>
      <dc:date>2024-07-15T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Nano Update Bootloader Binary from Kernel using DD Command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1909538#M226217</link>
      <description>&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;we are able to flash the uboot binary from the kernel using the below dd command,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;$ echo 0 | tee /sys/block/mmcblk2boot0/force_ro&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;$ dd if=flash.bin of=/dev/mmcblk2boot0 bs=1k seek=0 conv=fsync&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;$ echo 1 | tee /sys/block/mmcblk2boot0/force_ro&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;It is working fine.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In our board have two boot partition like,&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;/dev/mmcblk2boot0&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;/dev/mmcblk2boot1&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But the UUU tool flashes the bootloader in this /dev/mmcblk2boot0 partition only. Any procedure available for flashing the bootloader in both the /dev/mmcblk2boot0 and /dev/mmcblk2boot1 partitions in the UUU tool?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Updating U-Boot with an mmcblk2boot0/mmcblk2boot1 strategy is available?. If available, please share with me the procedure for this.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Query:&lt;/STRONG&gt; Currently, the bootloader boots from the /dev/mmcblk2boot0 partition. This bootloader may be corrupted; how do I recover the board from the /dev/mmcblk2boot1 partition?&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Jul 2024 07:54:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1909538#M226217</guid>
      <dc:creator>Nethaji1510</dc:creator>
      <dc:date>2024-07-16T07:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Nano Update Bootloader Binary from Kernel using DD Command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1910843#M226299</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Glad to hear that you have managed to do so, regarding your other question, it is indeed possible to do so, you may use a custom script for this:&lt;BR /&gt;&lt;A href="https://docs.nxp.com/bundle/AN13917/page/topics/introduction.html" target="_blank"&gt;https://github.com/nxp-imx/mfgtools/wiki/Sample-scripts#burn-yocto-image-to-emmc-by-linux-kernel&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In the script above you may change the following:&lt;/P&gt;
&lt;PRE&gt;FBK: ucmd mmc=`cat /tmp/mmcdev`; echo 0 &amp;gt; /sys/block/mmcblk${mmc}boot1/force_ro
FBK: ucp  _flash.bin t:/tmp
FBK: ucmd mmc=`cat /tmp/mmcdev`; dd if=/tmp/_flash.bin of=/dev/mmc${mmc}boot1 bs=1K seek=32
FBK: ucmd mmc=`cat /tmp/mmcdev`; echo 1 &amp;gt; /sys/block/mmcblk${mmc}boot1/force_ro&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;As you may have notice is the same procedure you did on the kernel.&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 22:23:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1910843#M226299</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-07-17T22:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Nano Update Bootloader Binary from Kernel using DD Command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1911129#M226314</link>
      <description>&lt;P&gt;You can check the following link of i.MX8QXP, which has the same boot as i.MX8MN does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/NXP-Tech-Blog/i-MX8QXP-eMMC-Secondary-Boot/ba-p/1257704#M45" target="_blank"&gt;https://community.nxp.com/t5/NXP-Tech-Blog/i-MX8QXP-eMMC-Secondary-Boot/ba-p/1257704#M45&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 08:10:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1911129#M226314</guid>
      <dc:creator>roke</dc:creator>
      <dc:date>2024-07-18T08:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Nano Update Bootloader Binary from Kernel using DD Command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1911131#M226315</link>
      <description>&lt;P&gt;AldoG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know about the i.MX8MN boot offset at emmc boot partition is zero?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 08:13:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1911131#M226315</guid>
      <dc:creator>roke</dc:creator>
      <dc:date>2024-07-18T08:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Nano Update Bootloader Binary from Kernel using DD Command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1913654#M226441</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/171173"&gt;@AldoG&lt;/a&gt;&amp;nbsp; for your reply.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The bootloader boots from the /dev/mmcblk2boot0 partition. This bootloader may be corrupted; how do I recover the board from the /dev/mmcblk2boot1 partition?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 05:55:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1913654#M226441</guid>
      <dc:creator>Nethaji1510</dc:creator>
      <dc:date>2024-07-22T05:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Nano Update Bootloader Binary from Kernel using DD Command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1914407#M226476</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Actually you can refer the community document mentioned above, it is good reference for your use case:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/NXP-Tech-Blog/i-MX8QXP-eMMC-Secondary-Boot/ba-p/1257704#M45" target="_blank"&gt;https://community.nxp.com/t5/NXP-Tech-Blog/i-MX8QXP-eMMC-Secondary-Boot/ba-p/1257704#M45&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 19:41:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1914407#M226476</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-07-22T19:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Nano Update Bootloader Binary from Kernel using DD Command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1914408#M226477</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Yes, it is&amp;nbsp;0 if the image is in boot partition and 32K if it is in user&lt;BR /&gt;partition&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 19:42:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Nano-Update-Bootloader-Binary-from-Kernel-using-DD/m-p/1914408#M226477</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-07-22T19:42:24Z</dc:date>
    </item>
  </channel>
</rss>

