Open main menu

DAVE Developer's Wiki β

Changes

Template:Booting from NAND flash

71 bytes added, 09:34, 27 October 2020
no edit summary
|}
<section end=History/>
__FORCETOC__
<section begin=Body/>
'''TBD: rifare tutti i dump con le versioni corrette '''
 
'''TBD: verificare l'immagine delle partizioni '''
 
With respect to the NOR flash memories, NAND devices are known to be quite challenging with regard to the reliability. This is especially true when the NAND flash is used as the boot device. Several techniques such as wear leveling and bad block management have to be implemented to achieve an acceptable reliability.
The test bed used in this example consists of an i.MX6 DualLite board equipped with a 512MB 8-bit asynchronous 1-bit ECC SLC NAND memory which is connected to the EIM bus of the SoC. The boot firmware image is the U-Boot binary files (<code>mx6qdlaxel_SPL</code> and <code>mx6qdlaxel_u-boot.img</code>). Its size is about 550 kB. From the point of view of MTD partitions, the boot partition for SPL is <code>mtd0</code> is 2MB while the second stage partition <code>mtd1</code> is 6MB.
===Boot partition organization=== 
The following image shows the organization of the boot partition.
The following section will describe how to burn the boot partition in practice.
===How to burn the boot partition===
The burning of the boot partition is performed by the [https://github.com/NXPmicro/imx-kobs <code>kobs-ng</code> tool] and the standard [http://git.infradead.org/mtd-utils.git <code>flash_erase</code> and <code>nandwrite</code>] flash utilities.
8,256
edits