Sdram Definitions In U-Boot - Philips LPC3180 Application Note

Getting started linux with
Table of Contents

Advertisement

Philips Semiconductors

8.2 SDRAM definitions in U-boot

Before U-boot running, SIBL must have finished the SDRAM initialization. In U-boot,
there are no necessary SDRAM operations but only some parameter settings need to be
defined.
In
size:
/*-----------------------------------------------------------------------
#define CONFIG_NR_DRAM_BANKS
#define PHYS_SDRAM_1
#define PHYS_SDRAM_1_SIZE
In
image file:
#
# image should be loaded at 32M - 256k
#
TEXT_BASE = 0x81EC0000
In
defined in
ENTRY(_start)
SECTIONS
{
In
routines
a look at the
SDRAM. But neither need modification.
<12NC>
Application note
MPMCDynamicRefresh
MPMCDynamicRasCas0
MPMCDynamicConfig0
MPMCDynamicControl
MPMCAHBTimeOut0
MPMCAHBTimeOut2
MPMCAHBTimeOut3
MPMCAHBTimeOut4
MPMCStatus;
./u-boot/include/configs/phytec.h
* Physical Memory Map
*/
./u-boot/board/phytec/config.mk,
./u-boot/board/phytec/u-boot.lds,
config.mk:
. = 0x81EC0000;
. = ALIGN(4);
./u-boot/board/phytec/phytec.c
and
sdram_init
may help you understand more about the U-boot process for
dram_init
Rev.03 — 21 Dec 2006
, define the SDRAM start address and effective
1
0x80000000
0x02000000
/* 32 MB */
define the TEXT section start address of u-boot
align the TEXT section start address with that
, there are SDRAM detection and initialization
. Actually the
dram_init
sdram_init
AN10476
Getting started Linux with LPC3180
wouldn't be called at all. Have
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
25 of 28

Advertisement

Table of Contents
loading

Table of Contents