Changeset 2703
- Timestamp:
- Nov 25, 2011 5:16:14 AM (18 months ago)
- Files:
-
- 2 edited
-
cpu/x86/pc/olpc/security.fth (modified) (3 diffs)
-
dev/olpc/spiflash/spiui.fth (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpu/x86/pc/olpc/security.fth
r2589 r2703 995 995 visible 996 996 red-letters 997 show-no-power 997 998 ." Unsafe to update firmware now - " .error 998 999 ." Continuing with old firmware" cr … … 1005 1006 ec-indexed-io-off? if 1006 1007 visible 1008 show-reflash 1007 1009 ." Restarting to enable SPI FLASH writing." cr 1008 1010 d# 3000 ms … … 1014 1016 alternate? if [char] A h# 82 cmos! then 1015 1017 1018 show-reflash 1019 ['] show-reflash-dot to spi-progress 1016 1020 reflash \ Should power-off and reboot 1017 1021 show-x -
dev/olpc/spiflash/spiui.fth
r2694 r2703 8 8 9 9 h# 4000 constant /chunk \ Convenient sized piece for progress reports 10 11 defer spi-progress ' drop to spi-progress ( n -- ) 10 12 11 13 : write-flash-range ( adr end-offset start-offset -- ) … … 25 27 dup /flash-block i flash-write ( adr ) 26 28 then 29 i 5 rshift dup spi-progress h# 400 + spi-progress ( adr ) 27 30 /flash-block + ( adr' ) 28 31 /flash-block +loop ( adr )
Note: See TracChangeset
for help on using the changeset viewer.
