Micron Technology MT29F1G08ABB Technical Note

Boot-from-nand

Advertisement

Quick Links

Technical Note
Boot-from-NAND Using Micron
with the Texas Instruments™ (TI) OMAP2420 Processor
Overview
PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd
tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN
Products and specifications discussed herein are for evaluation and reference purposes only and are subject to change by
Micron without notice. Products are only warranted by Micron to meet Micron's production data sheet specifications. All
information discussed herein is provided on an "as is" basis, without warranties of any kind.
TN-29-16: Boot-from-NAND with the TI OMAP2420 Processor
®
NAND Flash memory devices are designed for applications requiring nonvolatile, high-
density, solid-state storage media. Historically, NAND Flash has been used extensively in
applications such as mass storage cards and digital cameras. With its low cost and high
performance, NAND Flash is beginning to make its way into more complex embedded
systems where NOR Flash has dominated in the past—for example, in mobile phones.
In complex embedded systems, one of the challenges associated with a change from
NOR Flash to NAND Flash has been the boot process. NOR Flash has been a popular
choice for these systems because it contains a traditional memory interface (including
both address and data buses), making it capable of execute-in-place (XIP) operation. XIP
memory enables the system CPU to execute code directly from the memory device
because the boot code is stored on and executed from a single device.
NAND Flash is a page-oriented memory device that does not inherently support XIP, at
least not in the same manner as a typical XIP memory device. Operating system and
boot code can be stored in NAND Flash memory, but the code must be copied (or shad-
owed) to DRAM before it can be executed. This requires system designers to modify the
boot process for their systems when using NAND Flash. The payoff for this modification
is that the system benefits from the lower cost of NAND Flash as the storage solution and
the higher performance of DRAM as the XIP memory.
MT29F1G08ABB NAND Flash
Micron Technology, Inc., reserves the right to change products or specifications without notice.
1
Overview
©2006 Micron Technology, Inc. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MT29F1G08ABB and is the answer not in the manual?

Questions and answers

Summary of Contents for Micron Technology MT29F1G08ABB

  • Page 1 DRAM as the XIP memory. PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 2 Linux OS boot loader Execute in place X-Loader Pre-OS bootstrap code PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 3: Boot-From-Nand Overview

    DRAM, where it is executed. The boot process is complete after this stage as the OS takes control of the system. PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 4: Stage 1: Processor Rom Code

    Table 3 shows the required SYS.BOOT register settings to support boot-from-NAND. Micron NAND Flash devices are available in both x8 and x16 configurations; the Micron NAND Flash device referenced in this technical note, MT29F1G08ABB, has a x8 inter- face. Table 3: SYS.BOOT Register...
  • Page 5: Bad Blocks

    OMAP2420 processor ROM code performs a bad- block check on these blocks. Block 0 of the MT29F1G08ABB device is guaranteed to be good for 1,000 PROGRAM/ ERASE cycles, so in the majority of cases, the ROM code will not have to look beyond block 0 for a bootable image.
  • Page 6: Code Shadowing To The Omap Processor Sram

    MT29F1G08ABB NAND Flash device programmed for boot-from- NAND in an OMAP2420-based system. PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 7: Stage 2: Bootstrap

    See Figure 7 on page 9 for boot code, bad block marking, and ECC storage in a typical page of an MT29F1G08ABB NAND Flash device programmed for boot-from-NAND in an OMAP2420-based system.
  • Page 8 2. Micron.exe converts ASCII to binary code. Other ASCII-to-binary programs can be used in its place. 3. Some OST versions do not support Micron MT29F1G08ABB NAND Flash. See “Writing Binary Images to NAND Flash with Limited OST Tools Support” on page 12 for instructions regard- ing alternatives.
  • Page 9: Shadowing U-Boot Code From Nand Flash To Dram

    Micron DRAM environment data OS kernel U-Boot File system PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 10: Stage 3: Boot Loader

    U-Boot OS kernel U-Boot process OS kernel File system PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 11: Stage 4: Operating System

    OS kernel U-Boot Kernel process File system OS kernel PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 12: Writing Binary Images To Nand Flash With Limited Ost Tools Support

    Notes: 1. TRACE32 in-circuit emulator, from Lauterbach, Inc. PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 13: Run The U-Boot Program

    OMAP2420 processor SRAM U-Boot (binary) Micron DRAM U-Boot (working) JTAG PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 14: Write The X-Loader To The Nand Flash

    TFTP Program NAND X-Loader (binary) Block 3 X-Loader (binary) PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 15: Write The U-Boot To The Nand Flash

    X-Loader (binary) U-Boot (binary) U-Boot (binary) TFTP Program NAND PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 16: Write The Os Kernel To The Nand Flash

    OS kernel (binary) OS kernel (binary) TFTP Program NAND PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 17: Write The File System To The Nand Flash

    OS kernel (binary) TFTP Program NAND File system File system PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.
  • Page 18: Recommendations For Maximizing Reliability Of Boot Code

    8000 S. Federal Way, P.O. Box 6, Boise, ID 83707-0006, Tel: 208-368-3900 prodmktg@micron.com www.micron.com Customer Comment Line: 800-932-4992 Micron, the M logo, and the Micron logo are trademarks of Micron Technology, Inc. All other trademarks are the property of their respective owners.
  • Page 19: Revision History

    Rev. A ....................3/06 • Initial release. PDF: 09005aef81fd5f2d / Source: 09005aef81fd5ecd Micron Technology, Inc., reserves the right to change products or specifications without notice. tn2916_boot_from_nand_omap2420.fm - Rev. D 6/07 EN ©2006 Micron Technology, Inc. All rights reserved.

This manual is also suitable for:

Mt29f1g16abbMt29f2g08aadMt29f2g16aad

Table of Contents