From: Ladislav Michl <ladis@linux-mips.org>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] NAND flash support
Date: Tue, 1 Nov 2005 13:06:05 +0100 [thread overview]
Message-ID: <20051101120605.GB12198@orphique> (raw)
In-Reply-To: <f870da180510312346meb05a73vb87ccf40a97748ef@mail.gmail.com>
On Tue, Nov 01, 2005 at 09:46:33AM +0200, Mike Rapoport wrote:
> On 10/31/05, Wolfgang Denk <wd@denx.de> wrote:
> > The #testing-NAND branch ofthe U-Boot GIT repository contains a major
> > rewrite of NAND support. Unfortunately we don't make any progress
> > with merging it into the main branch because nobody seems to be
> > testing or using it.
> >
>
> I've been trying to use the new NAND code on custom board based on
> MPC8272 with Samsung 128Mb NAND chip (K9K1G08U0M). So far I had no
> problems with read/dump functionality.
> I've implemented the nand_erase wrapper in the include/nand.h and
> after restoring the most of nand_wait in drivers/nand/nand_base.c the
> erase worked for me.
Could you please provide a patch?
> The only thing that I haven't succeeded to enable is the write. When I
> try to write relatively large chunks of data, there is a bus fault
> just after I see the message
> "NAND write: device 0 offset 0, size 1048576 ... 1048576 bytes written: OK".
> Besides, the blocks that were written are marked bad.
>
> The relevant parts of my board configuration are:
> #define CFG_MAX_NAND_DEVICE 1
> #define CFG_NAND_BASE 0xff000000
> #define CONFIG_NEW_NAND_CODE 1
> #define CONFIG_MTD_DEBUG 1
> #define CONFIG_MTD_DEBUG_VERBOSE 1
>
> The functions for HW access are the same as I use in Linux mtd driver
> which works fine.
What version of MTD code are you using in your Linux kernel? I'm just
updating U-Boot code to be based on what's contained in 2.6.14, which
_may_ address some problems people were reporting before. I hope to get
time to send update next week.
Thanks,
ladis
next prev parent reply other threads:[~2005-11-01 12:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20051028135742.8BAD11606F@sc8-sf-spam2.sourceforge.net>
2005-10-31 8:47 ` [U-Boot-Users] NAND flash support Terence Soh
2005-10-31 9:23 ` Wolfgang Denk
2005-11-01 7:46 ` Mike Rapoport
2005-11-01 12:06 ` Ladislav Michl [this message]
2005-11-01 14:22 ` Mike Rapoport
2005-11-02 13:18 ` Ladislav Michl
2006-08-01 17:29 mitsy
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=20051101120605.GB12198@orphique \
--to=ladis@linux-mips.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.