[openfirmware] r994 - ofw/fs/jffs2
svn at openfirmware.info
svn at openfirmware.info
Wed Nov 5 03:30:57 CET 2008
Author: wmb
Date: 2008-11-05 03:30:57 +0100 (Wed, 05 Nov 2008)
New Revision: 994
Modified:
ofw/fs/jffs2/jffs2.fth
Log:
OLPC trac 8932 - non-secure OFW reflash from NAND fails.
The actual problem was a bug in the JFFS2 file reader, which used the
wrong buffer for reconstructing the file in some cases.
Modified: ofw/fs/jffs2/jffs2.fth
===================================================================
--- ofw/fs/jffs2/jffs2.fth 2008-11-04 00:57:29 UTC (rev 993)
+++ ofw/fs/jffs2/jffs2.fth 2008-11-05 02:30:57 UTC (rev 994)
@@ -51,7 +51,7 @@
: next-tdirent ( -- adr ) 'next-tdirent @ ;
0 instance value tdirents
-0 instance value file-buf \ Buffer for constructing file
+-1 instance value file-buf \ Buffer for constructing file
0 instance value file-size \ Actual size of file
0 ( instance ) value /empty-scan \ When to give up looking for nodes
More information about the openfirmware
mailing list