?? readme.nand-boot-ppc440
字號:
-----------------------------NAND boot on PPC440 platforms-----------------------------This document describes the U-Boot NAND boot feature as itis implemented for the AMCC Sequoia (PPC440EPx) board.The PPC440EP(x)/GR(x) cpu's can boot directly from NAND FLASH,completely without NOR FLASH. This can be done by using the NANDboot feature of the 440 NAND flash controller (NDFC).Here a short desciption of the different boot stages:a) IPL (Initial Program Loader, integrated inside CPU)------------------------------------------------------Will load first 4k from NAND (SPL) into cache and execute it from there.b) SPL (Secondary Program Loader)---------------------------------Will load special U-Boot version (NUB) from NAND and execute it. This SPLhas to fit into 4kByte. It sets up the CPU and configures the SDRAMcontroller and the NAND controller so that the special U-Boot image can beloaded from NAND to SDRAM.This special image is build in the directory "nand_spl".c) NUB (NAND U-Boot)--------------------This NAND U-Boot (NUB) is a special U-Boot version which can be startedfrom RAM. Therefore it mustn't (re-)configure the SDRAM controller.On 440EPx the SPL is copied to internal SRAM before the NAND controlleris set up. While still running from cache, I experienced problems accessingthe NAND controller.Example: Build and install NAND boot image for Sequoia (440EPx):a) Configure for sequoia with NAND boot support:# make sequoia_nand_configb) Build image(s)# makeThis will generate the SPL image in the "nand_spl" directory:nand_spl/u-boot-spl.binAlso another image is created spanning a whole NAND block (16kBytes):nand_spl/u-boot-spl-16k.binThe main NAND U-Boot image is generated in the toplevel directory:u-boot.binA combined image of u-boot-spl-16k.bin and u-boot.bin is also created:u-boot-nand.binThis image should be programmed at offset 0 in the NAND flash:# tftp 100000 /tftpboot/sequoia/u-boot-nand.bin# nand erase 0 60000# nand write 100000 0 60000September 07 2006, Stefan Roese <sr@denx.de>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -