Valid environment: 1
</pre>
Another important variable that needs to be changed is <code>mtdparts</code>. It must be set like this in order to tell the kernel how the NAND flash is partitioned:
<pre class="board-terminal">
mtdparts=mtdparts=pl35x-nand:48M(data0),15M(data1),1M(data2),-(data3)
</pre>
Similarly, other variables need to be created such as <code>loadunand</code> and <code>loadfdtnand</code>. The resulting environment should look like this:
<pre class="board-terminal">
Environment size: 4342/262139 bytes
</pre>
Please note that the variable <code>bootcmd</code> is set to run the desired boot sequence (<code>nandboot2</code>).
===Formatting the fourth partition of the NAND memory (<code>mtd3</code>)===