Changeset 3523


Ignore:
Timestamp:
Jan 24, 2013, 12:52:41 AM (2 years ago)
Author:
quozl
Message:

OLPC XO-1.75 XO-4 - feature, default wireless configuration manufacturing tags, NN for network name, EP for WEP, and PA for WPA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/build-fw.fth

    r3519 r3523  
    522522\ idt1338 rtc and ram address map 
    523523\     00 -> 0f  rtc 
    524 \     10 -> 3f  cmos 
     524\     10 -> 3d  cmos 
     525\     3e -> 3f  driver magic number 
    525526 
    526527: >rtc  ( index -- rtc-address )  h# 3f and  h# 10 +  ; 
     528\ : rtc>  ( rtc-address -- index )  h# 10 - h# 80 or  ; 
    527529 
    528530: cmos@  ( index -- data ) 
     
    540542\     82 alternate boot 
    541543\     83 xid 
     544\     80 -> 8f (erased by driver when magic number wrong) 
     545\     84 -> ad (unallocated) 
    542546 
    543547fload ${BP}/cpu/arm/mmp2/clocks.fth 
     
    959963   " dev /null : size 0 8 ; : write-blocks-start 3drop false ; : write-blocks-end false ; dend" evaluate 
    960964   " devalias fsdisk //null" evaluate 
     965; 
     966stand-init: wifi 
     967   " NN" find-tag  if  ?-null  $essid  then 
     968   " EP" find-tag  if  ?-null  $wep    then 
     969   " PA" find-tag  if  ?-null  $wpa    then 
    961970; 
    962971 
Note: See TracChangeset for help on using the changeset viewer.