Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Prepare a bootable NAND/eMMC

25 bytes removed, 09:46, 14 May 2018
no edit summary
Now we can flash the MLO in the first partition '''/dev/mtd0'''. It important to know that in this case (because it is a NAND flash and we have to record the MLO) we have to flash it four times in the first 4 blocks of this partition. In order to know the exact addresses we can check the documentation of the chip developer (in this case: [http://jira.isee.biz:8090/pages/viewpage.action?pageId=6619137 AM335x U-Boot User's Guide (Texas Documentation)] <span class="mw-headline">'''NAND Layout'''</span>) and will get the offset addresses '''[0x0 0x20000 0x40000 0x60000]''' . For each one of this addresses we have to write:
<pre>nandwrite -p -s[https://en.wikipedia.org/wiki/UBIFS address] /dev/mtd0 [https:your_MLO]<//en.wikipedia.org/wiki/UBIFS /dev/mtd0pre>
For example:
Then we will flash into the second partition '''/dev/mtd1''' the u-boot.img:
<pre>nandwrite -p /dev/mtd1 [your_u-boot.img]</pre>
For example:
560
edits