From: Victor Librado <vlibrado@bioingenieria.es>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] u-boot on nadflash for at91sam9260ek
Date: Wed, 06 Jun 2007 19:32:09 +0200 [thread overview]
Message-ID: <4666EF99.2080801@bioingenieria.es> (raw)
I am using the same value for the SMC registers as stated in my linux
kernel board-at91sam9260ek.c. In linux I can perform nandflash
read/erase/write ok. (flash_eraseall / nandwrite commands).
May I have to define the JFFS2 partitions in u-boot configuration
my_board.h as I have in Linux?
Commands: *CONFIG_JFFS2_NAND_OFF*, CONFIG_JFFS2_NAND_SIZE ...?
Regards,
V?ctor
Victor,
you should check registers settings and timing into yourboard.h
configuration file
Ciao
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
------------------------------------------------------------------------
------------------------------------------------------------------------
next reply other threads:[~2007-06-06 17:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-06 17:32 Victor Librado [this message]
2007-06-06 19:48 ` [U-Boot-Users] u-boot on nadflash for at91sam9260ek Stefan Roese
-- strict thread matches above, loose matches on Subject: below --
2007-06-07 16:10 Victor Librado
2007-06-08 9:36 ` Stefan Roese
2007-06-07 10:20 Michel Benoit
2007-06-06 16:33 Victor Librado
2007-06-06 17:01 ` Marco Cavallini
2007-06-06 22:57 ` Chris Sharman
2007-06-07 9:55 ` Victor Librado
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4666EF99.2080801@bioingenieria.es \
--to=vlibrado@bioingenieria.es \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox