Changeset 2638
- Timestamp:
- Oct 22, 2011 6:25:07 AM (19 months ago)
- Location:
- cpu/arm
- Files:
-
- 3 edited
-
mmp2/rtc.fth (modified) (2 diffs)
-
olpc/1.75/fw.bth (modified) (1 diff)
-
olpc/1.75/probemem.fth (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpu/arm/mmp2/rtc.fth
r2567 r2638 47 47 \ on the operator. 48 48 ." Testing suspend/resume" cr 49 ." Sleeping for 3 seconds .. " d# 100 ms49 ." Sleeping for 3 seconds .. " d# 1000 ms 50 50 ec-rst-pwr ['] cancel-alarm 3 rtc-wake str ec-max-pwr ( power ) 51 51 \ Negative power is consumed from battery, positive is supplied to battery … … 54 54 true ( error? ) 55 55 else ( power ) 56 drop false( error? )56 ." OKAY" cr drop false ( error? ) 57 57 then ( error? ) 58 58 ; 59 dev /memory 60 [ifdef] test-s3 ' s3-selftest to test-s3 [then] 61 dend 59 dev /switches 60 : selftest ( -- error? ) 61 s3-selftest if true exit then 62 selftest 63 ; 64 device-end 62 65 63 66 \ LICENSE_BEGIN -
cpu/arm/olpc/1.75/fw.bth
r2629 r2638 182 182 183 183 fload ${BP}/cpu/arm/mmp2/dramrecal.fth 184 185 code halt ( -- ) wfi c; 186 187 fload ${BP}/cpu/arm/olpc/1.75/switches.fth \ Lid and ebook switches 184 188 fload ${BP}/cpu/arm/mmp2/rtc.fth \ Internal RTC, used for wakeups 185 186 code halt ( -- ) wfi c;187 188 fload ${BP}/cpu/arm/olpc/1.75/switches.fth \ Lid and ebook switches189 189 fload ${BP}/cpu/arm/olpc/1.75/leds.fth \ LEDs 190 190 fload ${BP}/cpu/x86/pc/olpc/via/factory.fth \ Manufacturing tools -
cpu/arm/olpc/1.75/probemem.fth
r2602 r2638 65 65 : .chunk ( adr len -- ) ." Testing address 0x" swap 8u.h ." length 0x" 8u.h cr ; 66 66 67 defer test-s3 ( -- error? ) ' false is test-s368 69 67 : test-mem ( adr len -- ) \ Test a chunk 'o memory 70 68 2>r … … 116 114 repeat ( adr len ) 117 115 2drop ( ) 118 119 test-s3 ( error? ) 116 false 120 117 ; 121 118
Note: See TracChangeset
for help on using the changeset viewer.
