Changeset 3349
- Timestamp:
- Oct 3, 2012 11:40:57 PM (8 months ago)
- Location:
- cpu
- Files:
-
- 9 edited
-
arm/olpc/1.75/config.fth (modified) (1 diff)
-
arm/olpc/3.0/config.fth (modified) (1 diff)
-
arm/olpc/4.0/config.fth (modified) (1 diff)
-
arm/olpc/build-fw.fth (modified) (1 diff)
-
arm/olpc/cl4/config.fth (modified) (1 diff)
-
x86/pc/olpc/config.fth (modified) (1 diff)
-
x86/pc/olpc/security.fth (modified) (1 diff)
-
x86/pc/olpc/via/config.fth (modified) (1 diff)
-
x86/pc/olpc/via/fw.bth (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cpu/arm/olpc/1.75/config.fth
r3117 r3349 27 27 : compatible$ " olpc,xo-1.75" ; 28 28 : ec-platform$ ( -- adr len ) " 4" ; 29 : bundle-suffix$ ( -- adr len ) " 4" ; 29 30 30 31 d# 9999 constant machine-type \ Backwards compatibility with non-device-tree kernel -
cpu/arm/olpc/3.0/config.fth
r3117 r3349 26 26 : compatible$ " olpcxo-3.0" ; 27 27 : ec-platform$ ( -- adr len ) " 5" ; 28 : bundle-suffix$ ( -- adr len ) " 3" ; 28 29 29 30 d# 10000 constant machine-type \ Backwards compatibility with non-device-tree kernel -
cpu/arm/olpc/4.0/config.fth
r3308 r3349 24 24 : compatible$ " olpc,xo-cl4" ; 25 25 : ec-platform$ ( -- adr len ) " 7" ; 26 : bundle-suffix$ ( -- adr len ) " 5" ; 26 27 27 28 d# 10001 constant machine-type \ Backwards compatibility with non-device-tree kernel -
cpu/arm/olpc/build-fw.fth
r3324 r3349 669 669 fload ${BP}/cpu/x86/pc/olpc/guardrtc.fth 670 670 fload ${BP}/cpu/x86/pc/olpc/security.fth 671 [ifdef] olpc-cl4 4 [else] 2 [then] to bundle-suffix672 671 673 672 stand-init: xid -
cpu/arm/olpc/cl4/config.fth
r3304 r3349 23 23 : compatible$ " olpc,xo-cl4" ; 24 24 : ec-platform$ ( -- adr len ) " 7" ; 25 : bundle-suffix$ ( -- adr len ) " 4" ; 25 26 26 27 d# 10001 constant machine-type \ Backwards compatibility with non-device-tree kernel -
cpu/x86/pc/olpc/config.fth
r3327 r3349 41 41 create machine-signature ," CL1" 42 42 : signature$ machine-signature count ; 43 : bundle-suffix$ ( -- adr len ) " 0" ; 43 44 44 45 fload ${BP}/cpu/x86/pc/olpc/addrs.fth -
cpu/x86/pc/olpc/security.fth
r3317 r3349 442 442 " Trying " ?lease-debug 2dup ?lease-debug-cr 443 443 ; 444 0 value bundle-suffix 445 : bundle-present? ( fn$ -- flag ) 446 fn-buf place 447 448 \ unadorned names not supported from XO-4 onwards 449 bundle-suffix 4 < if 450 \ Try the unadorned name first 451 bundle-name$ .trying 452 ['] (boot-read) catch 0= if true exit then ( x x ) 453 2drop ( ) 454 then 455 456 \ Unadorned name not present; try again with architecture-dependent numeric suffix 457 bundle-suffix push-decimal (.) pop-base ( adr len ) 458 fn-buf $cat ( ) 459 444 445 : $try-name ( basename$ suffix$ -- found? ) 446 2swap fn-buf place fn-buf $cat 460 447 bundle-name$ .trying 461 ['] (boot-read) catch 0= if true exit then ( x x ) 462 2drop ( ) 463 464 false 448 ['] (boot-read) catch if 2drop false else true then 449 ; 450 451 : bundle-present? ( fn$ -- found? ) 452 \ Try first with architecture-dependent numeric suffix 453 2dup bundle-suffix$ $try-name if ( fn$ ) 454 2drop true exit ( -- true ) 455 then ( fn$ ) 456 457 \ Failing that, try the unadorned name 458 " " $try-name 465 459 ; 466 460 -
cpu/x86/pc/olpc/via/config.fth
r3328 r3349 53 53 create machine-signature ," CL1" 54 54 : signature$ machine-signature count ; 55 : bundle-suffix$ ( -- adr len ) " 1" ; 55 56 56 57 fload ${BP}/cpu/x86/pc/olpc/via/addrs.fth -
cpu/x86/pc/olpc/via/fw.bth
r3194 r3349 432 432 fload ${BP}/cpu/x86/pc/olpc/guardrtc.fth 433 433 fload ${BP}/cpu/x86/pc/olpc/security.fth 434 1 to bundle-suffix435 434 fload ${BP}/cpu/x86/pc/olpc/xpsecure.fth 436 435 fload ${BP}/ofw/gui/ofpong.fth
Note: See TracChangeset
for help on using the changeset viewer.
