<?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: Vybrid NAND flash repartitioning in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-flash-repartitioning/m-p/1762027#M6242</link>
    <description>&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Due to an update of U-Boot I need to repartition the flash mem.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Why? You need to "nand erase.part &amp;lt;u-boot-partition&amp;gt;" or "nand erase &amp;lt;offset&amp;gt; &amp;lt;size&amp;gt;" the same U-Boot locations and nand write there new U-boot. Why repartition?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NAND partitioning is done defining U-Boot default mtdparts variable. You may temporarily edit this variable to repartition NAND, but in case U-Boot environment settings are lost, default mtdparts shouldn't lead to disasters on rootfs or othe partitions.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;According to the VybridRM the start partition holds the Firmware Configuration Block (FCB) containing primary/secondary U-Boot addresses.&lt;BR /&gt;Which program writes the initial values into flash ?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Toradex U-Boot had writebcb command, which was used to create BCB taking primary and optional secondary U-boot offsets in NAND and write created BCB to start of NAND. Alternatively you may create BCB file on PC, deliver somehow to U-Boot on target and nand write it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;What is the second partition at the end of the flash used for ? Bad Block Marking Table ?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;It is up to you or your SOM vendor. Minimally mtdparts should include 3 partitions, one reserved for BCB, one or two for U-Boot copies, one for UBI (which may include several UBI volumes) or any other kind for partition(s) for rootfs, device tree and kernel.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2023 15:37:32 GMT</pubDate>
    <dc:creator>kef2</dc:creator>
    <dc:date>2023-11-22T15:37:32Z</dc:date>
    <item>
      <title>Vybrid NAND flash repartitioning</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-flash-repartitioning/m-p/1759989#M6240</link>
      <description>&lt;P&gt;I'm using a Phytec PCM052 board with ARM DS-5 and Timesys toolchain.&lt;BR /&gt;Due to an update of U-Boot I need to repartition the flash mem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there a step by step guide available from NXP using the tools from Linux-Busybox ?&lt;BR /&gt;&lt;BR /&gt;I've found two reserved partitions.&lt;BR /&gt;According to the VybridRM the start partition holds the Firmware Configuration Block (FCB) containing primary/secondary U-Boot addresses.&lt;BR /&gt;Which program writes the initial values into flash ?&lt;BR /&gt;&lt;BR /&gt;What is the second partition at the end of the flash used for ? Bad Block Marking Table ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 17:11:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-flash-repartitioning/m-p/1759989#M6240</guid>
      <dc:creator>JaclynM</dc:creator>
      <dc:date>2023-11-20T17:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND flash repartitioning</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-flash-repartitioning/m-p/1761987#M6241</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can put in second partition the rootfs or bad block marking table but remember that the flash must be completely erase before burn. NXP don;t have any document about it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 14:27:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-flash-repartitioning/m-p/1761987#M6241</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-11-22T14:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND flash repartitioning</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-flash-repartitioning/m-p/1762027#M6242</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Due to an update of U-Boot I need to repartition the flash mem.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Why? You need to "nand erase.part &amp;lt;u-boot-partition&amp;gt;" or "nand erase &amp;lt;offset&amp;gt; &amp;lt;size&amp;gt;" the same U-Boot locations and nand write there new U-boot. Why repartition?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NAND partitioning is done defining U-Boot default mtdparts variable. You may temporarily edit this variable to repartition NAND, but in case U-Boot environment settings are lost, default mtdparts shouldn't lead to disasters on rootfs or othe partitions.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;According to the VybridRM the start partition holds the Firmware Configuration Block (FCB) containing primary/secondary U-Boot addresses.&lt;BR /&gt;Which program writes the initial values into flash ?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Toradex U-Boot had writebcb command, which was used to create BCB taking primary and optional secondary U-boot offsets in NAND and write created BCB to start of NAND. Alternatively you may create BCB file on PC, deliver somehow to U-Boot on target and nand write it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;What is the second partition at the end of the flash used for ? Bad Block Marking Table ?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;It is up to you or your SOM vendor. Minimally mtdparts should include 3 partitions, one reserved for BCB, one or two for U-Boot copies, one for UBI (which may include several UBI volumes) or any other kind for partition(s) for rootfs, device tree and kernel.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 15:37:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-flash-repartitioning/m-p/1762027#M6242</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2023-11-22T15:37:32Z</dc:date>
    </item>
  </channel>
</rss>

