Changes

Jump to: navigation, search

Booting from NAND flash on i.MX6-based platforms

519 bytes added, 13:24, 16 October 2017
How to burn the boot partition
==How to burn the boot partition==
The burning of the boot partition is typically performed by the [https://github.com/NXPmicro/imx-kobs <code>kobs-ng</code> tool]. It deals with several things
When the NAND flash is not burned yet, the product is usually configured in order to boot from a different device such as an SD card or through serial download mode. Once the Linux kernel is up and running, the <code>kobs-ng</code> can be run as shown in the following example:
<pre class="board-terminal">
./kobs-ng-5.4 init -x -v -w --chip_0_device_path=/dev/mtd0 mx6sx_board_nand_u-boot.imx
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 at the half of the available space after the first MB ( (0x800000-0x100000)/2 ).
4,650
edits

Navigation menu