<?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: imx8mp update NAND from userspace in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-update-NAND-from-userspace/m-p/1374034#M183269</link>
    <description>&lt;P&gt;We have no Linux utilities for "deep" NAND programming. &lt;BR /&gt;Sorry for the inconvenience.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 05:03:31 GMT</pubDate>
    <dc:creator>b36401</dc:creator>
    <dc:date>2021-11-19T05:03:31Z</dc:date>
    <item>
      <title>imx8mp update NAND from userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-update-NAND-from-userspace/m-p/1372120#M183103</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are working on a custom board based on iMX8MP chipset derivated from the evaluation board EVK-IMX8MP, and we got FW from NXP version 5.4.70_2.3.2.&lt;/P&gt;&lt;P&gt;We have NAND flash, and we are flashing it using uuu, or from u-boot if needed.&lt;/P&gt;&lt;P&gt;u-boot=&amp;gt; mtdparts&lt;/P&gt;&lt;P&gt;device nand0 &amp;lt;nand.0&amp;gt;, # parts = 7&lt;BR /&gt;#: name size offset mask_flags&lt;BR /&gt;0: NAND.u-boot 0x00800000 0x00000000 0&lt;BR /&gt;1: NAND.u-boot-bckp 0x00800000 0x00800000 0&lt;BR /&gt;2: NAND.u-boot-env 0x00100000 0x01000000 0&lt;BR /&gt;3: NAND.u-boot-env.backup0x00100000 0x01100000 0&lt;BR /&gt;4: NAND.u-boot-spl-os 0x00100000 0x01200000 0&lt;BR /&gt;5: NAND.kernel 0x04000000 0x01300000 0&lt;BR /&gt;6: NAND.file-system 0x3ad00000 0x05300000 0&lt;/P&gt;&lt;P&gt;After flashing NAND.uboot we send command "nandbcb init ${fileaddr} NAND.u-boot ${filesize}"&lt;/P&gt;&lt;P&gt;This is working fine, but we also would like to be able to flash NAND.u-boot from userspace.&lt;/P&gt;&lt;P&gt;We can do "flash_erase /dev/mtd0 0 0" and "nandwrite -p /dev/mtd0 flash.bin" but we do not know how to do something like "nandbcb ......" from userspace.&lt;/P&gt;&lt;P&gt;Which is the correct process to update u-boot from userspace ?&lt;/P&gt;&lt;P&gt;Best regards and thank you&lt;/P&gt;&lt;P&gt;Angel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 16:03:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-update-NAND-from-userspace/m-p/1372120#M183103</guid>
      <dc:creator>AngelF</dc:creator>
      <dc:date>2021-11-16T16:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp update NAND from userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-update-NAND-from-userspace/m-p/1374034#M183269</link>
      <description>&lt;P&gt;We have no Linux utilities for "deep" NAND programming. &lt;BR /&gt;Sorry for the inconvenience.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 05:03:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-update-NAND-from-userspace/m-p/1374034#M183269</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2021-11-19T05:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp update NAND from userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-update-NAND-from-userspace/m-p/1376087#M183468</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;I understand that the only way to update boot partition is from u-boot or using uuu.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Angel&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 08:28:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-update-NAND-from-userspace/m-p/1376087#M183468</guid>
      <dc:creator>AngelF</dc:creator>
      <dc:date>2021-11-24T08:28:31Z</dc:date>
    </item>
  </channel>
</rss>

