2 ** Copyright (C) 2005 Wu Qi Ming <Qi-Ming.Wu@infineon.com>
4 ** This program is free software; you can redistribute it and/or modify
5 ** it under the terms of the GNU General Public License as published by
6 ** the Free Software Foundation; either version 2 of the License, or
7 ** (at your option) any later version.
9 ** This program is distributed in the hope that it will be useful,
10 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ** GNU General Public License for more details.
14 ** You should have received a copy of the GNU General Public License
15 ** along with this program; if not, write to the Free Software
16 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 To build a u-boot for danube board, user need to do the following things:
20 To configure u-boot for a proper board, user need to modify two files accordingly.
22 To configure u-boot for evaluation board, in danube-uboot/include/configs/danube.h, set
23 #define USE_EVALUATION_BOARD
24 #undef USE_REFERENCE_BOARD
27 To let u-boot boot from ebu(flash,e.g), in danube-uboot/include/configus/danube.h, set
28 #define DANUBE_BOOT_FROM_EBU
29 Otherwise u-boot will be compiled for booting from RAM.
31 To use DDR RAM running at 111M, in danube-uboot/include/configus/danube.
33 #define DANUBE_DDR_RAM_111M
34 #undef DANUBE_DDR_RAM_166M
37 To define RAM size of RAM, in danube-uboot/include/configus/danube.
39 #define RAM_SIZE 0x2000000 /*32M ram*/
40 This is an example for a 32M RAM.
43 Besides above settings, user need to change danube-uboot/board/danube/config.mk to set the loading address of u-boot.
44 If U-Boot is to boot from EBU(flash), user needs to set
46 If u-boot is to boot from RAM, user needs to set
49 Use the script gct to build a uart downloadable u-boot image:
50 ./gct danube_ref_ddr166.conf u-boot.srec u-boot.asc