Firmware/Storage/XO-1/2015-04

From OLPC
< Firmware‎ | Storage
Revision as of 07:42, 7 April 2015 by Quozl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

XO-1 NAND Flash reprogramming times.

Results

serial-number image-name size-in-bytes time-in-seconds megabytes-per-second reporter-initials
CSN747023EA 41002qq0.img 626130944 271 2.20 ya
CSN7470372C 32014o0.img 757989376 304 2.38 tm
CSN748008C2 32014o0.img 757989376 333 2.17 hm
CSN74800DFD 32014o0.img 757989376 296.006556 2.442091 jc
CSN74802D21 32014o0.img 757989376 294.382764 2.455562 jc
CSN748043BE 32014o0.img 757989376 305.829746 2.363652 jc
CSN75001153 32014o0.img 757989376 285.616982 2.530924 jc
CSN75000153 32014o0.img 757989376 297.549244 2.429430 jc
SHF80701C99 41002qq0.img 626130944 270 2.21 ya
SHC84204612 32014o0.img 757989376 332 2.17 go
SHC90200E1E 32014o0.img 757989376 313 2.31 nr
CSN74804EA0 32014o0.img 757989376 314 2.30 nr
SHF80701FB4 32014o0.img 757989376 325 2.22 nr
CSN74903574 32014o0.img 757989376 325 2.22 nr

Test

How long does it take to reflash? To test, surround a copy-nand command with timing markers, like this:

ok t-sec( copy-nand u:\32014o0.img )t-sec

The result will be on the line above the ok prompt when it is done, e.g. 403S, which is 403 seconds. Send me the serial number, file name, and time in seconds.

Notes

  • erase time is included in elapsed time,
  • access to the USB drive is included in elapsed time.

Automating

Put this in boot/olpc.fth on a USB drive, and boot each laptop in a batch.

\ test
visible
." http://wiki.laptop.org/go/Firmware/Storage/XO-1/2015-04" cr
." XO-1 NAND Flash reprogramming time test" cr
cr
." Press y to begin "
begin key [char] y = until cr

: .sn  " SN" find-tag  if  type space  then  ;
: .fn  ." 32014o0.img 757989376 "  ;

t( copy-nand u:\32014o0.img
append-to-file u:\timings.txt .sn .fn )t cr

." Press q to turn off "
begin key [char] q = until cr
power-off

Afterwards, supply the timings.txt file.

See Also