[openfirmware] [commit] r2028 - cpu/arm/olpc/1.75 ofw/fs/cifs

repository service svn at openfirmware.info
Thu Nov 18 07:33:42 CET 2010


Author: quozl
Date: Thu Nov 18 07:33:42 2010
New Revision: 2028
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2028

Log:
hack XO-1.75 build to work, two fixes that need review:

1. testicons.tgz was not found, ${BP} does not expand, so used a
relative path to get it from the other tree,

2. random1k is not present since ofpong.fth is not loaded, so use
get-msecs instead,

Modified:
   cpu/arm/olpc/1.75/testicons.bth
   ofw/fs/cifs/smb.fth

Modified: cpu/arm/olpc/1.75/testicons.bth
==============================================================================
--- cpu/arm/olpc/1.75/testicons.bth	Thu Nov 18 05:55:36 2010	(r2027)
+++ cpu/arm/olpc/1.75/testicons.bth	Thu Nov 18 07:33:42 2010	(r2028)
@@ -3,7 +3,7 @@
 command: &builder &this
 build-now
 
-" tar xfz ${BP}/cpu/x86/pc/olpc/via/testicons.tgz" expand$ $sh
+" tar xfz ../../../../../cpu/x86/pc/olpc/via/testicons.tgz" expand$ $sh
 
 \ This forces the creation of a .log file, so we don't re-fetch
 writing testicons.version

Modified: ofw/fs/cifs/smb.fth
==============================================================================
--- ofw/fs/cifs/smb.fth	Thu Nov 18 05:55:36 2010	(r2027)
+++ ofw/fs/cifs/smb.fth	Thu Nov 18 07:33:42 2010	(r2028)
@@ -89,9 +89,15 @@
 
 0 instance value last-command
 
+[ifdef] random1k
+: random-pid random1k ;
+[else]
+: random-pid get-msecs ;
+[then]
+
 : smb-init  ( -- )
    signature 8 erase
-   random1k h# ffff and to pid
+   random-pid h# ffff and to pid
    0 to tid
    0 to mid
    0 to uid



More information about the openfirmware mailing list