<?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 How does NAND boot to get boot variables from boot partition? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-does-NAND-boot-to-get-boot-variables-from-boot-partition/m-p/1062938#M156224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have u-boot and u-boot environment in imx6ull NAND MTD partitions:&lt;/P&gt;&lt;P&gt;0: boot 0x00400000 0x00000000 0&lt;BR /&gt; 1: ubootenv 0x00100000 0x00400000 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running zImage-initramfs to use kob to install u-boot.imx-nand to iMX6ULL MTD partition 0 boot, how will the NAND boot to get bootargs and bootcmd from boot partition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many blogs advised not to use setenv in u-boot or fw_setenv in Linux, but to get boot variables from the u-boot, but how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your advice how to get boot varaiables from the u-boot.imx-nand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2020 11:11:29 GMT</pubDate>
    <dc:creator>jupiter_hce</dc:creator>
    <dc:date>2020-05-08T11:11:29Z</dc:date>
    <item>
      <title>How does NAND boot to get boot variables from boot partition?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-does-NAND-boot-to-get-boot-variables-from-boot-partition/m-p/1062938#M156224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have u-boot and u-boot environment in imx6ull NAND MTD partitions:&lt;/P&gt;&lt;P&gt;0: boot 0x00400000 0x00000000 0&lt;BR /&gt; 1: ubootenv 0x00100000 0x00400000 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running zImage-initramfs to use kob to install u-boot.imx-nand to iMX6ULL MTD partition 0 boot, how will the NAND boot to get bootargs and bootcmd from boot partition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many blogs advised not to use setenv in u-boot or fw_setenv in Linux, but to get boot variables from the u-boot, but how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your advice how to get boot varaiables from the u-boot.imx-nand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2020 11:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-does-NAND-boot-to-get-boot-variables-from-boot-partition/m-p/1062938#M156224</guid>
      <dc:creator>jupiter_hce</dc:creator>
      <dc:date>2020-05-08T11:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: How does NAND boot to get boot variables from boot partition?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-does-NAND-boot-to-get-boot-variables-from-boot-partition/m-p/1062939#M156225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jupiter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at "defined(CONFIG_ENV_IS_IN_NAND" in&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx6ullevk.h?h=imx_v2019.04_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx6ullevk.h?h=imx_v2019.04_4.19.35_1.1.0"&gt;mx6ullevk.h\configs\include - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2020 14:49:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-does-NAND-boot-to-get-boot-variables-from-boot-partition/m-p/1062939#M156225</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-05-09T14:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: How does NAND boot to get boot variables from boot partition?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-does-NAND-boot-to-get-boot-variables-from-boot-partition/m-p/1062940#M156226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. this is a iMX6ULL EVK customized board, I have already set up the NAND ENV parameters in mx6ullevk.h based on following customized ubootenv partition in NAND:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0: boot 0x00400000 0x00000000 0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; 1: ubootenv 0x00100000 0x00400000 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ cat mx6ullevk.h&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define CONFIG_ENV_OFFSET 0x400000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#define CONFIG_ENV_SECT_SIZE 0x100000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I get wrong for setting up ENV_OFFSET and ENV_SECT_SIZE based on the ubootenv NAND partition offset and size? I did notice your reference u-boot source version is 2019 where my u-boot version is 2018 defined by Zeus meta-freescale.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jupiter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2020 01:35:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-does-NAND-boot-to-get-boot-variables-from-boot-partition/m-p/1062940#M156226</guid>
      <dc:creator>jupiter_hce</dc:creator>
      <dc:date>2020-05-10T01:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: How does NAND boot to get boot variables from boot partition?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-does-NAND-boot-to-get-boot-variables-from-boot-partition/m-p/1062941#M156227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jupiter&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is general uboot question and may be posted on uboot mail list&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://lists.denx.de/listinfo/u-boot" title="https://lists.denx.de/listinfo/u-boot"&gt;U-Boot Info Page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2020 15:51:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-does-NAND-boot-to-get-boot-variables-from-boot-partition/m-p/1062941#M156227</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-05-10T15:51:34Z</dc:date>
    </item>
  </channel>
</rss>

