From: Scott Wood Date: Tue, 5 Jan 2010 14:20:32 -0600 Subject: [U-Boot] [PATCH 2/4] Use LINK_OFF to access global data In-Reply-To: <4B40F8DB.1090509@free.fr> References: <1262185712-11890-1-git-send-email-Joakim.Tjernlund@transmode.se> <1262185712-11890-2-git-send-email-Joakim.Tjernlund@transmode.se> <1262185712-11890-3-git-send-email-Joakim.Tjernlund@transmode.se> <20100102181329.8840FE34A25@gemini.denx.de> <20100103195153.558C4EF5FF5@gemini.denx.de> <4B40F8DB.1090509@free.fr> Message-ID: <20100105202032.GB26296@loki.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Jan 03, 2010 at 09:06:51PM +0100, Albert ARIBAUD wrote: > Hmm... PIC is interesting only if you want the same binary to run from > two places, like NOR then RAM, which is the case when U-boot is the code > which gets run in NOR at power-up and ends up running in RAM later. > > For NAND-based boards, the NAND bootloader will load U-boot to RAM, and > U-boot will never run from anywhere else but its intended RAM location. Note that the first-stage NAND loader still needs to be able to relocate itself to RAM in order to free up the NAND buffer for loading more data. -Scott