On Monday 25 November 2002 00:00, Nick Bane wrote: > The newest mtd in cvs seems ideally suited to yaffs and it would be a pity > to not use it. My only problem with the newest mtd api is that it isn't in > a mainstream arm kernel yet. 2.4.19-rmk4 doesn't use the latest read_ecc > and write_ecc api. Can someone (Thomas?) send a patch to Russell for him to > build into rmk5 or something? He was complaining a while back that people > don't feed him stable patches for him to include. I will try including the actual nand support into the main kernel. Please let us discuss the oob readback issue first. As mentioned before the actual nand driver returns 8(16) Byte oobdata and 4/8 Byte ecc-correction results, if you use the nand built in ecc. Keeping this will force changes to YAFFS code, as you can see in my patch. > It could be a compile-time option for yaffs with a CONFIG_OLD_MTD_COMPAT > switch that would do it the slow reliable existing way. Fair enough for reluctant people. -- 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.