Micron Technology MT29F1G08ABB Скачать руководство пользователя страница 18

®

8000 S. Federal Way, P.O. Box 6, Boise, ID 83707-0006, Tel: 208-368-3900

[email protected] 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.

 TN-29-16: Boot-from-NAND with the TI OMAP2420 Processor

Conclusion

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

18

©2006 Micron Technology, Inc. All rights reserved.

Recommendations for Maximizing Reliability of Boot Code

• When programming the X-Loader, U-Boot, OS kernel, and root file system to the 

NAND Flash device, program each page in its entirety with a single program opera-
tion.

• Verify that the X-Loader, U-Boot, OS kernel, and root file system were programmed 

correctly by performing a read-verify to compare the NAND Flash contents against 
the original binary image.

• Even a single bad bit in the code can cause a system failure, so error correction should 

be maximized in code storage areas of the NAND Flash.

• Avoid excessive reads to the area of the NAND Flash where code is stored. When 

repeated accesses are required, the code should be copied to the DRAM

This mini-

mizes the probability of read-disturb errors in the NAND Flash device.

Conclusion

The OMAP2420 processor provides a solid foundation for system designers developing 
boot-from-NAND solutions using the Micron MT29F1G08ABB NAND Flash device. With 
boot-from-NAND capability structured as described in this technical note, embedded 
systems designers can take advantage of lower-cost NAND Flash for storage and can 
achieve higher performance using DRAM as the XIP memory.

Содержание MT29F1G08ABB

Страница 1: ...t 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...

Страница 2: ...r daughter card Menelaus ES 2 0 S N 750 0006 Rev C The boot from NAND concepts discussed are OS independent however the Linux OS is used as an example in some explanations Note that secure booting via...

Страница 3: ...or ROM can be used for the boot process see Table 2 on page 4 Stage 2 Bootstrap X Loader is an example of stage 2 bootstrap code The X Loader code is stored in the NAND Flash and the ROM code copies i...

Страница 4: ...n tative to determine if additional ROM code is available that will support the Micron NAND Flash device After a power on reset is initiated the ROM code reads the SYS BOOT register to deter mine the...

Страница 5: ...he ROM code expects the X Loader to be in block 0 1 2 or 3 of the NAND Flash device and can use any of these blocks in the boot process After the NAND Flash device config uration has been determined t...

Страница 6: ...em jumps to the SRAM address where the first byte of the X Loader is stored Figure 4 Shadowing X Loader Code from NAND Flash to SRAM Error Correction Code The ROM code contains error correction code a...

Страница 7: ...the system designer Figure 6 on page 8 illustrates how the Boot_image bin code is laid out in the NAND Flash 1 Compile the X Loader source code into an executable format The example in Figure 5 on pag...

Страница 8: ...BB NAND Flash See Writing Binary Images to NAND Flash with Limited OST Tools Support on page 12 for instructions regard ing alternatives Figure 6 X Loader Layout Develop code to format image for 2KB p...

Страница 9: ...o DRAM see Figure 8 Then the system jumps to the address in DRAM where the first byte of the U Boot code resides Figure 8 Shadowing U Boot Code from NAND Flash to DRAM Byte 2 111 Bad Block Marking Byt...

Страница 10: ...map must be configured to support boot from NAND U Boot must contain NAND Flash support such that it can read and write to the NAND Flash device U Boot environment data should be written such that it...

Страница 11: ...em The final stage of the boot process involves the initial execution of the OS The operating system kernel is stored in NAND Flash and shadowed to DRAM for execution as described in the stage 3 boot...

Страница 12: ...Flash devices In these cases it is necessary to develop an alternative method for loading the boot code into the NAND Flash device A workstation similar to the one shown in Figure 11 is required In a...

Страница 13: ...with the TI OMAP2420 Processor Writing Binary Images to NAND Flash with Limited OST Tools Run the U Boot Program 1 Use JTAG to load the U Boot program into the Micron DRAM see Figure 12 The U Boot pro...

Страница 14: ...nal window 2 Place the X Loader image in the TFTP server 3 Write a copy of the X Loader file to the DRAM using the U Boot program 4 Erase the area in the NAND Flash where the X Loader will reside 5 Co...

Страница 15: ...e NAND Flash 1 Place the U Boot file in the TFTP server 2 Write a copy of the U Boot file to the DRAM using the U Boot program 3 Erase the area in the NAND Flash where U Boot will reside 4 Copy the U...

Страница 16: ...the TFTP server 2 Write a copy of the OS kernel file to the DRAM using the U Boot program 3 Erase the area in the NAND Flash where the OS kernel will reside 4 Use the U Boot program to copy the OS ke...

Страница 17: ...file system file in the TFTP server 2 Write the root file system file to the DRAM using the U Boot program 3 Erase the area in the NAND Flash where the file system will reside 4 Copy the file system f...

Страница 18: ...single program opera tion Verify that the X Loader U Boot OS kernel and root file system were programmed correctly by performing a read verify to compare the NAND Flash contents against the original b...

Страница 19: ...Revised description Code Shadowing to the OMAP Processor SRAM on page 6 Changed SDRAM to SRAM Rev C 7 06 Figure 1 on page 3 Updated content Boot Stages on page 3 and Stage 1 Processor ROM Code on page...

Отзывы: