[PATCH] OneNAND: Simple Bad Block handling support

Bernhard Priewasser priewasser at gmail.com
Wed Aug 24 05:24:46 EDT 2005


> Which directory are you patch? MTD-CVS or kernel?
I ran it outside the kernel tree:
[...]/mtd/> patch -p1 onenand-bbm.patch
Trying it inside the kernel tree results in the same errors:
/usr/src/linux> patch -p1 /[...]/mtd/onenand-bbm.patch

 > 1. patching onenand-syncread.patch (check previous e-mail)
 > 2. onenand-bbm.patch
 > 3. omap-onenand.patch
This order works better in some way: fewer fails :-) But errors anyway.

Did you try to apply the patches? In which way exactly? Applying them in 
the correct order helps a bit, but I can't see any difference between 
inside/outside kernel tree. Should I?...
But I'm not sure, because:
 > Perhaps it's a silly fault... I'm new to diff/patch, sorry.
:-)

Ah, one thing: inline mail attaching onenand-syncread.patch causes some 
incorrect line wrappings which have to be corrected manually before 
running patch. Perhaps it would be better to send them really as .patch 
files.

Regards,
Bernhard




More information about the linux-mtd mailing list