source: trunk/package/uboot-ifxmips/files/board/danube/README @ 11601

Last change on this file since 11601 was 11601, checked in by nbd, 8 years ago

move ifxmips uboot to package/

File size: 1.9 KB
Line 
1/*
2** Copyright (C) 2005 Wu Qi Ming <Qi-Ming.Wu@infineon.com>
3** 
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.
8**
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.
13**
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.
17*/
18
19To build a u-boot for danube board, user need to do the following things:
20To configure u-boot for a proper board, user need to modify two files accordingly.
21
22To configure u-boot for evaluation board, in danube-uboot/include/configs/danube.h, set
23#define USE_EVALUATION_BOARD
24#undef  USE_REFERENCE_BOARD
25and vice-versa.
26
27To let u-boot boot from ebu(flash,e.g), in danube-uboot/include/configus/danube.h, set
28#define   DANUBE_BOOT_FROM_EBU
29Otherwise u-boot will be compiled for booting from RAM.
30
31To use DDR RAM running at 111M, in danube-uboot/include/configus/danube.
32h, set
33#define  DANUBE_DDR_RAM_111M
34#undef   DANUBE_DDR_RAM_166M
35and vice-versa.
36
37To define RAM size of RAM, in danube-uboot/include/configus/danube.
38h, set
39#define RAM_SIZE                0x2000000 /*32M ram*/
40This is an example for a 32M RAM.
41
42
43Besides above settings, user need to change danube-uboot/board/danube/config.mk to set the loading address of u-boot.
44If U-Boot is to boot from EBU(flash), user needs to set
45TEXT_BASE=0xB0000000
46If u-boot is to boot from RAM, user needs to set
47TEXT_BASE=0xa0400000
48
49Use the script gct to build a uart downloadable u-boot image:
50./gct danube_ref_ddr166.conf u-boot.srec u-boot.asc
51
52
53
54
55
Note: See TracBrowser for help on using the repository browser.