Changes

Jump to: navigation, search

Booting from NAND flash on i.MX6-based platforms

398 bytes added, 12:52, 30 August 2019
no edit summary
{{InfoBoxTop}}
{{AppliesToAxel}}
{{AppliesToAxelLite}}
{{AppliesToAxelEsatta}}
{{AppliesToSBCX}}
{{AppliesToAXELULite}}
{{AppliesToSBCLynx}}
{{InfoBoxBottom}}
 
==Introduction==
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.
==How to burn the boot partition==
{{WarningMessage|text=This application note was validated before '''XELK 4''' kit version which is using u-boot SPL. Instruction ha to be modified according to [[Standalone_boot_(XELK)#NAND_flash | Standalone boot from NAND]] page.}}
 
The burning of the boot partition is performed by the [https://github.com/NXPmicro/imx-kobs <code>kobs-ng</code> tool].
mtd: We write one page for save guard. *
</pre>
In this case, the boot partition–<code>/dev/mtd0</code>, indicated as a parameter of the command line–is 8MB. For this reason, the secondary firmware image is stored at the address 0x480000, that is at the half of the available space after the first MB ( (0x800000-0x100000)/2 ).
8,154
edits

Navigation menu