From: Ulf Samuelsson <ulf@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] AT91 NAND om AT91SAM9260EK
Date: Thu, 8 Feb 2007 00:17:12 +0100 [thread overview]
Message-ID: <03d701c74b14$07ec1510$c58e11d4@atmel.com> (raw)
In-Reply-To: c88e466f0702050752t16c18251gcddf40a7ec95469@mail.gmail.com
> Hej,
>
> Has anyone used the at91_nand driver on the AT91SAM9260EK?
>
> I get bad erase blocks on every block that contaions data (written to
> nand flash with SAM-BA). Seems like the read_oob (read out of bounds
> area) function is returning data from the in bounds area.
>
> U-boot configs the nand flash to use hw ecc (syndrome) whereas the
> at91_nand seems to be setup to use soft ecc.
>
According to recent conversations on U-Boot mailing list
U-boot can do a raw copy of a flash file system, but nothing more.
(Correct me if I have misunderstood)
This means that if there are faulty pages in the NAND flash, you are dead.
U-Boot needs to be able to map out JFFS2 or YAFFS(2) to be useful here.
I.E. NAND flash is not functional as a boot memory yet.
If I understand correctly, you can read a JFFS2 fs in U-Boot
With the SAM9260, you can boot from an external dataflash card,
containing Linux and a small file system.
When this has booted, I think you can create a JFFS2 file system on the
NAND flash. This should contain the Linux image as well.
U-Boot should then after reset, be able to read the linux from
the JFFS2 file system and then boot.
I do not know if U-boot can fit into the NAND flash
and I have not tested anything of above, but I think it should work.
The programming time of the system
will of course be significant, since you have to test the NAND flash
for bad sectors..
> If anyone has been down this path before, I would appreciate any
> pointers or assistance you can provide.
>
> Michel
>
> -------------------------------------------------------------------
> List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
> FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php
> Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
>
Best Regards
Ulf Samuelsson
next parent reply other threads:[~2007-02-07 23:17 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <c88e466f0702050752t16c18251gcddf40a7ec95469@mail.gmail.com>
2007-02-07 23:17 ` Ulf Samuelsson [this message]
2007-02-08 6:06 ` [U-Boot-Users] AT91 NAND om AT91SAM9260EK Stefan Roese
2007-02-08 8:34 ` Michel Benoit
2007-02-08 19:25 ` Ulf Samuelsson
2007-02-08 20:58 ` Haavard Skinnemoen
2007-02-08 22:20 ` Ulf Samuelsson
2007-02-09 15:45 ` Haavard Skinnemoen
2007-02-09 19:11 ` Ulf Samuelsson
2007-02-09 19:54 ` Haavard Skinnemoen
2007-02-09 19:39 ` Wolfgang Denk
2007-02-09 22:18 ` Ulf Samuelsson
2007-02-09 22:58 ` Haavard Skinnemoen
2007-02-09 23:20 ` Ulf Samuelsson
2007-02-09 23:42 ` Haavard Skinnemoen
2007-02-10 0:10 ` Ulf Samuelsson
2007-02-10 1:18 ` Wolfgang Denk
2007-02-10 9:05 ` Ulf Samuelsson
2007-02-10 7:23 ` Stefan Roese
2007-02-10 1:15 ` Wolfgang Denk
2007-02-10 7:32 ` Stefan Roese
2007-02-10 9:29 ` Ulf Samuelsson
2007-02-10 1:53 ` Ken Watson
[not found] <mailman.5069.1170973304.16820.u-boot-users@lists.sourceforge.net>
2007-02-08 22:57 ` Ivan Kuten
[not found] <mailman.12584.1171099992.16820.u-boot-users@lists.sourceforge.net>
2007-02-10 20:31 ` Ivan Kuten
2007-02-11 16:43 ` Ulf Samuelsson
2007-02-11 18:04 ` Haavard Skinnemoen
2007-02-11 19:42 ` Ulf Samuelsson
2007-02-11 20:23 ` Haavard Skinnemoen
2007-02-11 20:29 ` Ulf Samuelsson
2007-02-11 20:54 ` Haavard Skinnemoen
2007-02-11 21:10 ` Wolfgang Denk
2007-02-11 21:39 ` Ulf Samuelsson
2007-02-11 23:45 ` Wolfgang Denk
2007-02-12 0:26 ` Ulf Samuelsson
2007-02-12 15:18 ` Haavard Skinnemoen
2007-02-12 18:40 ` Ulf Samuelsson
2007-02-12 19:36 ` Stefan Roese
2007-02-12 19:37 ` Haavard Skinnemoen
2007-02-12 20:05 ` Ulf Samuelsson
2007-02-11 21:54 ` Ulf Samuelsson
2007-02-11 11:49 Michel Benoit
2007-02-11 16:20 ` Ulf Samuelsson
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='03d701c74b14$07ec1510$c58e11d4@atmel.com' \
--to=ulf@atmel.com \
--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