From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Cavallini Date: Wed, 06 Jun 2007 19:01:14 +0200 Subject: [U-Boot-Users] u-boot on nadflash for at91sam9260ek In-Reply-To: <4666E1EB.3080009@bioingenieria.es> References: <4666E1EB.3080009@bioingenieria.es> Message-ID: <4666E85A.3050309@koansoftware.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Victor Librado ha scritto: > > Hello all, > I'm working with u-boot for booting in nandflash with the evaluation > board atmel at91sam9260ek. Nandflash reads ok, but performing and erase > doesn`t work. > > I get these messages trying to erase a block of the nand and writing the > environment variables to nandflash. > > Any help? I'm missing a configuration parameter in config or what may > happens? > > > U-Boot> saveenv > Saving Environment to NAND... > Erasing redundant Nand...Timeout!U-Boot> > U-Boot> > > > U-Boot> nand erase 0x60000 0x20000 > > NAND erase: device 0 offset 0x60000, size 0x20000 > Timeout! > SAM NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5 > > OK > Victor Librado Sancho > Departamento I+D Victor, you should check registers settings and timing into yourboard.h configuration file Ciao -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering http://www.KoanSoftware.com - http://www.KaeilOS.com