From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Lilja Date: Sat, 16 Oct 2010 20:10:11 +0200 Subject: [U-Boot] uboot imx31 nand boot In-Reply-To: <01737BB727C92747953B676A2B864FA230EE73@brdexchange.beckerdev.co.za> References: <01737BB727C92747953B676A2B864FA230EE73@brdexchange.beckerdev.co.za> Message-ID: <4CB9EA83.3010709@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi On 2010-10-14 12:17, Nico van Wyk wrote: > Good Day > > I am planning on using uboot to boot linux on the imx31. > > The system will be booting from nandflash( making use of micron nand flash using the quasi standard protocol) > > I would like to know if i need to create a 1st stage bootloader that executes from the 1st 2k of nandflash that will boot uboot or if > uboot is able to do this (via the nand spl). > > If uboot is capable of doing this how do i go about setting up (compile time options) for this or point me to some documentation? U-boot is capable of this. The i.MX31 PDK board, which is in the u-boot tree, does this. Note 1: The PDK board hasn't been updated to the new ARM relocation code yet so you have to define CONFIG_SYS_ARM_WITHOUT_RELOC in the config file. Note 2: Commit http://git.denx.de/?p=u-boot.git;a=commitdiff;h=f3bb63a304c4e76010a2a4e99da61f7b6ffffc77 broke support for booting from 8 bit NAND devices. The PDK board uses 16 bit NAND bus and works. Regards, Magnus Lilja