Changeset 2703


Ignore:
Timestamp:
Nov 25, 2011, 5:16:14 AM (3 years ago)
Author:
quozl
Message:

OLPC XO-1 XO-1.5 XO-1.75 - show progress bar during automatic OpenFirmware? reflashing, two dots per flash block, show not enough power icon ... on XO-1 only the dots are shown because of a smaller icon collection. Tested on XO-1, XO-1.5, XO-1.75.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpu/x86/pc/olpc/security.fth

    r2589 r2703  
    995995      visible 
    996996      red-letters 
     997      show-no-power 
    997998      ." Unsafe to update firmware now - " .error 
    998999      ."  Continuing with old firmware" cr 
     
    10051006   ec-indexed-io-off?  if 
    10061007      visible 
     1008      show-reflash 
    10071009      ." Restarting to enable SPI FLASH writing."  cr 
    10081010      d# 3000 ms 
     
    10141016   alternate?  if  [char] A h# 82 cmos!  then 
    10151017 
     1018   show-reflash 
     1019   ['] show-reflash-dot to spi-progress 
    10161020   reflash      \ Should power-off and reboot 
    10171021   show-x 
  • dev/olpc/spiflash/spiui.fth

    r2694 r2703  
    88 
    99h# 4000 constant /chunk   \ Convenient sized piece for progress reports 
     10 
     11defer spi-progress  ' drop to spi-progress  ( n -- ) 
    1012 
    1113: write-flash-range  ( adr end-offset start-offset -- ) 
     
    2527         dup  /flash-block  i  flash-write  ( adr ) 
    2628      then 
     29      i 5 rshift dup spi-progress h# 400 + spi-progress ( adr ) 
    2730      /flash-block +                        ( adr' ) 
    2831   /flash-block +loop                       ( adr ) 
Note: See TracChangeset for help on using the changeset viewer.