[openfirmware] [commit] r2190 - cpu/x86/pc/olpc/via

repository service svn at openfirmware.info
Mon Apr 18 12:02:46 CEST 2011


Author: quozl
Date: Mon Apr 18 12:02:45 2011
New Revision: 2190
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2190

Log:
OLPC - fs-update was not erasing the whole part, because the image
block count, typically a number of 131072-byte blocks, was used as
a 512-byte block count in invokation of erase-blocks.

Modified:
   cpu/x86/pc/olpc/via/fsupdate.fth

Modified: cpu/x86/pc/olpc/via/fsupdate.fth
==============================================================================
--- cpu/x86/pc/olpc/via/fsupdate.fth	Mon Apr 18 07:04:30 2011	(r2189)
+++ cpu/x86/pc/olpc/via/fsupdate.fth	Mon Apr 18 12:02:45 2011	(r2190)
@@ -60,7 +60,7 @@
    " size" $call-nand  #image-eblocks /nand-block um*  d<
    " Image size is larger than output device" ?nand-abort
    #image-eblocks  show-init
-   0 #image-eblocks " erase-blocks" $call-nand
+   0 #image-eblocks /nand-block 200 */ " erase-blocks" $call-nand
    get-inflater
    \ Separate the two buffers by enough space for both the compressed
    \ and uncompressed copies of the data.  4x is overkill, but there



More information about the openfirmware mailing list