42547 bytes written: OK
=>
</pre>
Reboot the system and configure U-Boot to apply the new configuration
<pre class="board-terminal">
=> setenv bootcmd run nand_nand
=> saveenv
</pre>
* an example of SD partitioning script is the following one:
=== FAT32 partition ===
<pre>
#!/bin/sh
<pre class="workstation-terminal">
=> setenv bootcmd run mmcboot
=> saveenv
</pre>
=== ext4 partition ===
For using an <b>ext4</b> partition also for boot files, it is possibile to change the formatting script:
{ echo ${boot_start},${boot_size},'''83''',-; echo ${rfs_start},${rfs_size},83,-; } | sfdisk --force ${node}
and formatting the first partition using ''mkfs.ext4''
mkfs.ext4 -F ${node}${part}1 -Lboot
then, the u-boot <code>environment</code> has to be properly configured:
<pre class="workstation-terminal">
=> setenv mmc_loadk 'ext4load mmc ${mmcdev}:1 ${loadaddr} ${bootfile}'
=> setenv mmc_loadfdt 'ext4load mmc ${mmcdev}:1 ${fdtaddr} ${fdtfile}'
=> setenv mmc_loadsplash 'ext4load mmc ${mmcdev}:1 ${loadaddr} ${splashfile}; cp.b ${loadaddr} ${splashimage} ${filesize}'
=> saveenv
</pre>