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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot