[U-Boot-Users] u-boot on nadflash for at91sam9260ek

Chris Sharman
2007-06-06T22:57:24Z

> -----Original Message-----
> From: u-boot-users-bounces at lists.sourceforge.net
> [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf
> Of Victor Librado
> Sent: Thursday, 7 June 2007 2:34 AM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] u-boot on nadflash for at91sam9260ek
>
>
>
> 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
> --------------------------------------------------------------
> ----------

Hi Victor,

I also have this exact same problem on my at91sam9260ek. Nand works fine
in linux but not in U-boot.

However when I use the patched u-boot from Atmel (based on an older
version of u-boot) nand works.

Maybe there are some clues in there somewhere.

Regards
Chris