[openfirmware] [commit] r3650 - in cpu/x86/pc/olpc: . via

repository service svn at openfirmware.info
Mon Apr 29 07:55:39 CEST 2013


Author: quozl
Date: Mon Apr 29 07:55:38 2013
New Revision: 3650
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3650

Log:
OLPC XO-1 XO-1.5 - maintain the NFS RPC XID in CMOS RAM, so that scripted NFS actions do not fail silently.  Different location used for XO-1 because the default location is reset by a power cycle.  #12662.

Modified:
   cpu/x86/pc/olpc/fw.bth
   cpu/x86/pc/olpc/via/fw.bth

Modified: cpu/x86/pc/olpc/fw.bth
==============================================================================
--- cpu/x86/pc/olpc/fw.bth	Sat Apr 27 07:47:57 2013	(r3649)
+++ cpu/x86/pc/olpc/fw.bth	Mon Apr 29 07:55:38 2013	(r3650)
@@ -377,6 +377,11 @@
 fload ${BP}/cpu/x86/pc/olpc/sound.fth
 fload ${BP}/cpu/x86/pc/olpc/guardrtc.fth
 fload ${BP}/cpu/x86/pc/olpc/security.fth
+stand-init: xid
+   h# 83 cmos@  dup 1+  h# 83 cmos!   ( n )
+   d# 24 lshift               ( new-xid )
+   " dev /obp-tftp  to rpc-xid  dend" evaluate
+;
 fload ${BP}/cpu/x86/pc/olpc/xpsecure.fth
 fload ${BP}/ofw/gui/ofpong.fth
 fload ${BP}/cpu/x86/pc/olpc/life.fth

Modified: cpu/x86/pc/olpc/via/fw.bth
==============================================================================
--- cpu/x86/pc/olpc/via/fw.bth	Sat Apr 27 07:47:57 2013	(r3649)
+++ cpu/x86/pc/olpc/via/fw.bth	Mon Apr 29 07:55:38 2013	(r3650)
@@ -431,6 +431,11 @@
 fload ${BP}/cpu/x86/pc/olpc/via/sound.fth
 fload ${BP}/cpu/x86/pc/olpc/guardrtc.fth
 fload ${BP}/cpu/x86/pc/olpc/security.fth
+stand-init: xid
+   h# 84 cmos@  dup 1+  h# 84 cmos!   ( n )
+   d# 24 lshift               ( new-xid )
+   " dev /obp-tftp  to rpc-xid  dend" evaluate
+;
 fload ${BP}/cpu/x86/pc/olpc/xpsecure.fth
 fload ${BP}/ofw/gui/ofpong.fth
 fload ${BP}/cpu/x86/pc/olpc/life.fth



More information about the openfirmware mailing list