blob: a82a10ee6a5cc5c086bde05e6bb935bf929f8a95 [file] [log] [blame]
Stefan Roese887e2ec2006-09-07 11:51:23 +02001-----------------------------
2NAND boot on PPC440 platforms
3-----------------------------
4
5This document describes the U-Boot NAND boot feature as it
6is implemented for the AMCC Sequoia (PPC440EPx) board.
7
8The PPC440EP(x)/GR(x) cpu's can boot directly from NAND FLASH,
9completely without NOR FLASH. This can be done by using the NAND
10boot feature of the 440 NAND flash controller (NDFC).
11
12Here a short desciption of the different boot stages:
13
14a) IPL (Initial Program Loader, integrated inside CPU)
15------------------------------------------------------
16Will load first 4k from NAND (SPL) into cache and execute it from there.
17
18b) SPL (Secondary Program Loader)
19---------------------------------
20Will load special U-Boot version (NUB) from NAND and execute it. This SPL
21has to fit into 4kByte. It sets up the CPU and configures the SDRAM
22controller and the NAND controller so that the special U-Boot image can be
23loaded from NAND to SDRAM.
24This special image is build in the directory "nand_spl".
25
26c) NUB (NAND U-Boot)
27--------------------
28This NAND U-Boot (NUB) is a special U-Boot version which can be started
29from RAM. Therefore it mustn't (re-)configure the SDRAM controller.
30
31On 440EPx the SPL is copied to internal SRAM before the NAND controller
32is set up. While still running from cache, I experienced problems accessing
33the NAND controller.
34
35
36September 07 2006, Stefan Roese <sr@denx.de>