This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: NAND Flash device driver


On Tue, Dec 18, 2007 at 10:03:11AM +0600, Alexey Shusharin wrote:
> 
> ?? ??????, 10/12/2007 ?? 19:01 +0600, Alexey Shusharin ??????????:
> > Hi,
> > 
> > This patch adds a NAND Flash device driver to flash V1 branch.
> > 
> > Currently it supports 8-bit NAND flash with 256/512 page size and has
> > implemented software ECC and simple bad block management algorithms.
> > 
> > I've tested it with SAMSUNG K9F5608U0D.
> > 
> > Best regards
> > Alexey Shusharin
> > 
> 
> Hi guys!
> 
> What's wrong with this patch? Why you didn't answer?

I've never worked with a NAND device, so i did not feel too happy to
look at this patch. I hope one of the other maintainers has the
necessary background.

Having said that, i took a quick look at the code. I have some general
questions about NAND devices and drivers.

You have the ECC and bad block management code integrated with the
package. Is this specific to the Samsung device? I'm wondering if this
should be separated out, either into a new package, or made part of
io/flash with some CDL to control it. It then makes it possible for
other manufactures devices to use this code.

You say this is not compatible with Linux. How much effort is required
to make it compatible? A lot of people use eCos for RedBoot, booting
Linux. In this situation it is useful to be compatible with Linux.

       Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]