[openfirmware] [commit] r3523 - cpu/arm/olpc
repository service
svn at openfirmware.info
Thu Jan 24 00:52:42 CET 2013
Author: quozl
Date: Thu Jan 24 00:52:41 2013
New Revision: 3523
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3523
Log:
OLPC XO-1.75 XO-4 - feature, default wireless configuration manufacturing tags, NN for network name, EP for WEP, and PA for WPA.
Modified:
cpu/arm/olpc/build-fw.fth
Modified: cpu/arm/olpc/build-fw.fth
==============================================================================
--- cpu/arm/olpc/build-fw.fth Thu Jan 24 00:13:08 2013 (r3522)
+++ cpu/arm/olpc/build-fw.fth Thu Jan 24 00:52:41 2013 (r3523)
@@ -521,9 +521,11 @@
\ idt1338 rtc and ram address map
\ 00 -> 0f rtc
-\ 10 -> 3f cmos
+\ 10 -> 3d cmos
+\ 3e -> 3f driver magic number
: >rtc ( index -- rtc-address ) h# 3f and h# 10 + ;
+\ : rtc> ( rtc-address -- index ) h# 10 - h# 80 or ;
: cmos@ ( index -- data )
>rtc " rtc@" clock-node @ ( index adr len ih )
@@ -539,6 +541,8 @@
\ 81 audio volume
\ 82 alternate boot
\ 83 xid
+\ 80 -> 8f (erased by driver when magic number wrong)
+\ 84 -> ad (unallocated)
fload ${BP}/cpu/arm/mmp2/clocks.fth
fload ${BP}/cpu/arm/olpc/banner.fth
@@ -959,6 +963,11 @@
" dev /null : size 0 8 ; : write-blocks-start 3drop false ; : write-blocks-end false ; dend" evaluate
" devalias fsdisk //null" evaluate
;
+stand-init: wifi
+ " NN" find-tag if ?-null $essid then
+ " EP" find-tag if ?-null $wep then
+ " PA" find-tag if ?-null $wpa then
+;
\ LICENSE_BEGIN
\ Copyright (c) 2010 FirmWorks
More information about the openfirmware
mailing list