Changeset 3401


Ignore:
Timestamp:
Oct 31, 2012, 3:14:54 AM (3 years ago)
Author:
quozl
Message:

OLPC XO-4 - touchscreen firmware ship, automatic upgrade infrastructure for post-B1, enable full touchscreen diagnostics.

Location:
cpu/arm/olpc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/4.0/olpc.bth

    r3384 r3401  
    33command: &builder &this
    44in: ${BP}/cpu/arm/olpc/4.0/build/ec.img
    5 \ in: ${BP}/cpu/arm/olpc/4.0/build/nn.hex
     5in: ${BP}/cpu/arm/olpc/4.0/build/nn.hex
    66in: ${BP}/cpu/arm/olpc/4.0/build/fw.img
    77in: ${BP}/cpu/arm/olpc/4.0/build/resetvec.img
     
    156156
    157157   " ec.img"                                    " ecimage.bin"   $add-deflated-dropin
    158 \   " nn.hex"                                    " nn.hex"        $add-deflated-dropin
     158   " nn.hex"                                    " nn.hex"        $add-deflated-dropin
    159159   " ${BP}/clients/emacs/x86/emacs.rc"          " emacs.rc"      $add-deflated-dropin
    160160   " ${BP}/clients/emacs/emacs.hlp"             " emacs.hlp"     $add-deflated-dropin
  • cpu/arm/olpc/build-fw.fth

    r3395 r3401  
    367367[ifdef] bsl-uart-base
    368368fload ${BP}/cpu/arm/olpc/bsl.fth
    369 \ fload ${BP}/cpu/arm/olpc/nnflash.fth
     369fload ${BP}/cpu/arm/olpc/nnflash.fth
    370370[then]
    371371
  • cpu/arm/olpc/nn-touchscreen.fth

    r3385 r3401  
    2121create nn-watch         \ graphical signal tests
    2222
    23 \ create nn-fss           \ optional fixed signal strength test
     23create nn-fss           \ optional fixed signal strength test
    2424\ create nn-ls            \ optional low signals test
    25 \ create nn-fss-all       \ fixed signal strength test, all power levels
    26 
    27 \ create nn-components    \ isolate test results to failed component identifier
     25create nn-fss-all       \ fixed signal strength test, all power levels
     26
     27create nn-components    \ isolate test results to failed component identifier
    2828
    2929d# 15 value xleds
     
    5454   touch-tck-gpio# dup gpio-clr gpio-dir-out
    5555;
    56 : reset  ( -- )  touch-rst-gpio# dup gpio-clr gpio-set  d# 250 ms  ;
     56
     57\ Neonode requested 250 ms
     58\ we observe for 0.0.0.5
     59\ less than 38 ms yields no response to reset,
     60\ 40 ms yields 100 ms overall version check, and
     61\ 45 ms yields 84 ms overall version check.
     62: reset  ( -- )  touch-rst-gpio# dup gpio-clr gpio-set  d# 50 ms  ;
    5763: hold-reset  ( -- )  touch-rst-gpio# gpio-clr  ;
    5864: no-data?  ( -- no-data? )  touch-int-gpio# gpio-pin@  ;
  • cpu/arm/olpc/nnflash.fth

    r3383 r3401  
    3131
    3232: update-nn-flash?  ( -- flag )
     33   \ XO-4 B1 have clear lightguides incompatible with later versions
     34   \ of touchscreen firmware.
     35   board-revision h# 4b20  <  if  false exit  then
    3336   nn-image$  nn-up-to-date?  0=
    3437;
Note: See TracChangeset for help on using the changeset viewer.