From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Mon, 11 Jan 2010 13:12:09 +0100 Subject: [U-Boot] [PATCH V4 3/3] Add support for the LaCie ED Mini V2 board In-Reply-To: <73173D32E9439E4ABB5151606C3E19E20308162526@SC-VEXCH1.marvell.com> References: <73173D32E9439E4ABB5151606C3E19E20308162526@SC-VEXCH1.marvell.com> Message-ID: <4B4B1599.1010101@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Prafulla Wadaskar a ?crit : > I still do not understand who will fectch u-boot binary to TEXT_BASE? (reported earlier) > Is this flash XIP? Does u-boot binary below 16k? What is the size of flash? > Pls refer my comments for v3 I thought I'd explained that already, haven't I? At power-up a ROM code at FFFF0000 (64KB of ROM taking precedence over CS0, as seen from JTAG) does a few checks then jumps to FFF90000, which is the NOR Flash. The U-boot image is mapped and flashed so that the entry point is at FFF90000. The entry point then does further inits (some under condition that SKIP_CONFIG_LOWLEVEL_INIT is not defined), initializes RAM, relocates code to TEXT_BASE (if CONFIG_SKIP_RELOCATE_UBOOT is not defined) and then jumps to it. Amicalement, -- Albert.