[Yaffs-archive] Re: How about use YAFFS without MTD under Linux box?

Thomas Gleixner tglx@linutronix.de
Wed, 06 Aug 2003 23:01:46 +0200


On Tuesday 05 August 2003 04:50, guo@unication.com.cn wrote:
> Mr Manning,
>
> > You certainly can use YAFFS under Linux without mtd - some people have
> > done this already. YAFFS does all its NAND accesses via four functions.
> > If you provide functions that access the NAND directly then things will
> > work.
>
>     Thank you for your help. I tried it following your guide and found it.
>
> > Do I recommend doing this? In general I suggest rather using mtd because
> > it adds other capabilities. There are always some reasons in embedded
> > development why you want to do things differently.
>
> Because I plain to use YAFFS Direct Bootloader, so I must write 4
> functions. and, Following install guide, I patch MTD to kernel 2.4.18 or
> 2.4.21, both of those cannot compile success and I must modify some code.
> So I think MTD is not stable for use.

Social stuff:

GRRRR: That's no reason to call MTD unstable, if you have to modify some code. 

Do you think Open Source is a no cost self service restaurant, where you can 
whistle for the waiters ? If there has something to be fixed, provide either 
sufficient information or a patch, which fixes this problem. Keep in your 
mind, that 5 lines of your code and 1 hour of your work you could be your 
share of 10000000 lines of code and hundreds of men years work of others, who 
don't complain if there is something to fix and are all willing to help 
others, if they are asked nicely and the neccecary information is provided.

Statements like the above are nothing else than FUD and will just degrade the 
willingness of people to help you.

Technical stuff:

Where does the compile _exactly_ fail ? Which version of MTD _excactly_ ? How 
did you patch your kernel _exactly_ with MTD ?

-- 
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de


---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.