From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 9 Feb 2012 14:41:46 -0600 Subject: [U-Boot] Build u-Boot for NAND boot on i.MX53x platform In-Reply-To: <201202100904.20333.manningc2@actrix.gen.nz> References: <201202100904.20333.manningc2@actrix.gen.nz> Message-ID: <4F342F8A.20704@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02/09/2012 02:04 PM, Charles Manning wrote: > On Wednesday 08 February 2012 17:16:10 Bud Miljkovic wrote: >> Can someone clue me in how one goes about a NAND bootable u-Boot? >> > > Bud > > You can't actually run uboot from NAND per se. The rom boot loader reads the > image into ram where it runs. > > Based on my experience with omap - which uses a very similar sequence - you > need to configure the uboot to run from the desired location in RAM. The > resulting uboot.bin must then be mashed in whatever way is appropriate for > loading with the rom boot loader and programmed to flash. On some hardware, the boot rom/logic will only load a small piece from RAM (e.g. 4K). U-Boot can be built with a prepended miniloader (SPL) to fetch the main U-Boot image. The details (and whether this is supported at all) depend on what board you're talking about. There is SPL support for some i.MX chips -- not sure about i.MX53x. -Scott