From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 24 Aug 2010 12:11:38 +0200 Subject: [U-Boot] Booting from Nand Flash base on i.MX51. In-Reply-To: References: Message-ID: <4C739ADA.6020905@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de shulin.zhou wrote: > Hi, > Hi, > I am using mx51 base board, I want to make u-boot booting from nand flash. > Does anyone knows how to modify the u-boot source? You have to add support for the NAND controller, not yet in mainline. > > Does add some code to init the nand flash controller in > flash_header.S's dcd section? You are not talking about u-boot sources in mainline. Linking the DCD together with u-boot is the original development by Freescale. There is no flash_header.S in u-boot. In mainline, an header is added to the binary providing a different image that can be loaded into the storage. See doc/README.imximage. This is consistent in u-boot because other processors use the same approach. > Does anyone have u-boot booting from NAND on mx51? Any repository, or a > patch that might be available? At the moment, NAND is not supported in u-boot mainline for the MX.51. Patches are welcome ;-) Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================