2 # (C) Copyright 2004-2006 Texas Instruments
4 # Some cut/paste from U-Boot README
5 # (C) Copyright 2000 - 2004
6 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8 # See file CREDITS for list of people who contributed to this
11 # This program is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU General Public License as
13 # published by the Free Software Foundation; either version 2 of
14 # the License, or (at your option) any later version.
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
30 This directory contains the source code for X-Loader, an initial program
31 loader for Embedded boards based on OMAP processors. X-Loader can be
32 signed by Texas Instruments IFT and installed to Nand flash to achieve
39 The support for Texas Instruments H4 board (OMAP2420) has been implemented
40 and tested. (Nov 2004)
41 The support for Texas Instruments 2430SDP board (OMAP2430) has been implemented
42 and tested. (Jul 2006)
43 The support for Texas Instruments 3430SDP board (OMAP3430) has been implemented
44 and tested. (Dec 2006)
47 Support for other OMAP boards can be added.
53 - board Board dependent files
54 - cpu CPU specific files
55 - drivers Commonly used device drivers
58 - cpu/arm926ejs Files specific to ARM 926 CPUs
59 - cpu/arm1136 Files specific to ARM 1136 CPUs
60 - cpu/omap3 Files specific to ARM CortexA8 CPU
64 Files specific to OMAP 2420 H4 boards
66 Files specific to OMAP 2430 2430sdp boards
68 Files specific to OMAP 3420sdp boards
71 Software Configuration:
72 =======================
74 Configuration is usually done using C preprocessor defines. Configuration
75 depends on the combination of board and CPU type; all such information is
76 kept in a configuration file "include/configs/<board_name>.h".
78 Example: For a OMAP4 PandaBoard, all configuration settings are in
79 "include/configs/omap4430panda.h"
81 For all supported boards there are ready-to-use default
82 configurations available; just type "make <board_name>_config".
84 Example: For a OMAP4 PandaBoard, type:
87 make omap4430panda_config
89 After a board has been configured, type "make" to build it supposing the
90 needed cross tools are in your path.
96 X-Loader expects OS boot loader (e.g. U-Boot) in Nand flash using
100 Prepare Booting Nand Flash:
101 ===========================
103 After you have built x-load.bin for your board, you need to do the
104 followings to get it into Nand flash:
106 1. Use Texas Instruments IFT to sign x-load.bin. This results in a
107 signed image called x-load.bin.ift.
108 2. Use Texas Instruments FlashPrep to generate a .out file using
109 FlashWriterNand and specifying 0 as nand target address.
110 3. Use Texas instrumnets Code Composer Studio to run the .out file
111 which flashes x-load.bin.ift to Nand flash.
113 Next you need to get your OS boot loader to Nand at the address your
114 X-Loader expects. For the H3 example, you can use U-Boot to flash U-Boot.
115 You can't use FlashWriterNand because it uses ROM code ECC style.
119 H4 support NAND flash booting
120 2430sdp & 3430sdp support OneNAND booting