Changeset 3359
- Timestamp:
- Oct 11, 2012 2:55:36 AM (7 months ago)
- Files:
-
- 8 edited
-
cpu/arm/olpc/1.75/config-a1.fth (modified) (1 diff)
-
cpu/arm/olpc/1.75/config.fth (modified) (1 diff)
-
cpu/arm/olpc/3.0/config.fth (modified) (1 diff)
-
cpu/arm/olpc/4.0/config.fth (modified) (1 diff)
-
cpu/arm/olpc/cl4/config.fth (modified) (1 diff)
-
cpu/arm/olpc/edi.fth (modified) (2 diffs)
-
dev/olpc/spiflash/spiflash.fth (modified) (1 diff)
-
dev/olpc/spiflash/spiui.fth (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cpu/arm/olpc/1.75/config-a1.fth
r3355 r3359 31 31 char 3 constant expected-ec-version 32 32 h# 10000 constant /ec-flash 33 d# 1 constant ec-scale34 33 35 34 h# 10000 constant l2-#sets -
cpu/arm/olpc/1.75/config.fth
r3355 r3359 33 33 char 4 constant expected-ec-version 34 34 h# 8000 constant /ec-flash 35 d# 0 constant ec-scale36 35 h# 7e80 constant ec-flags-offset \ don't program or verify this page 37 36 -
cpu/arm/olpc/3.0/config.fth
r3355 r3359 32 32 char 4 constant expected-ec-version 33 33 h# 8000 constant /ec-flash 34 d# 0 constant ec-scale35 34 36 35 h# 18000 constant console-uart-base -
cpu/arm/olpc/4.0/config.fth
r3355 r3359 30 30 char 7 constant expected-ec-version 31 31 h# ec00 constant /ec-flash 32 d# 1 constant ec-scale33 32 h# eb80 constant ec-flags-offset \ don't program or verify this page 34 33 -
cpu/arm/olpc/cl4/config.fth
r3355 r3359 29 29 char 7 constant expected-ec-version 30 30 h# ec00 constant /ec-flash 31 d# 1 constant ec-scale32 31 h# eb80 constant ec-flags-offset \ don't program or verify this page 33 32 -
cpu/arm/olpc/edi.fth
r3355 r3359 196 196 ; 197 197 198 : .edi-progress ( n -- ) 199 /ec-flash h# 8000 > if 1 else 0 then rshift ( dot# ) 200 edi-progress ( ) 201 ; 202 198 203 : edi-program-flash ( adr len offset -- ) 199 204 cr ( adr len offset ) … … 204 209 over i + over i + edi-program-page ( adr offset ) 205 210 then ( adr offset ) 206 i ec-scale rshift edi-progress( adr offset )211 i .edi-progress ( adr offset ) 207 212 /flash-page +loop ( adr offset ) 208 213 2drop ( ) -
dev/olpc/spiflash/spiflash.fth
r3355 r3359 298 298 \ of them, so it's a good starting point. 299 299 300 0 value flash-scale 301 : 2mb-flash ( -- ) h# 20.0000 to /flash 6 to flash-scale ; 302 : 1mb-flash ( -- ) h# 10.0000 to /flash 5 to flash-scale ; 300 : 2mb-flash ( -- ) h# 20.0000 to /flash ; 301 : 1mb-flash ( -- ) h# 10.0000 to /flash ; 303 302 304 303 0 value spi-id# -
dev/olpc/spiflash/spiui.fth
r3355 r3359 12 12 13 13 : .progress ( offset -- ) 14 flash-scale rshift dup spi-progress h# 400 + spi-progress 14 /flash h# 10.0000 > if 6 else 5 then rshift ( dot# ) 15 dup spi-progress h# 400 + spi-progress ( ) 15 16 ; 16 17
Note: See TracChangeset
for help on using the changeset viewer.
