mail.coreboot.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
List overview
Download
openfirmware
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
openfirmware@openfirmware.info
3007 discussions
Start a n
N
ew thread
[commit] r3231 - cpu/x86/pc/olpc/via
by repository service
28 Aug '12
28 Aug '12
Author: quozl Date: Tue Aug 28 10:03:02 2012 New Revision: 3231 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3231
Log: Q3C09 Modified: cpu/x86/pc/olpc/via/fw-version.fth Modified: cpu/x86/pc/olpc/via/fw-version.fth ============================================================================== --- cpu/x86/pc/olpc/via/fw-version.fth Tue Aug 28 05:21:44 2012 (r3230) +++ cpu/x86/pc/olpc/via/fw-version.fth Tue Aug 28 10:03:02 2012 (r3231) @@ -1,6 +1,6 @@ \ The overall firmware revision macro: FW_MAJOR C -macro: FW_MINOR 08 +macro: FW_MINOR 09 \ Create a 2-character build/fw-suffix file to personalize your test builds " fw-suffix" $file-exists? [if]
1
0
0
0
[commit] r3230 - cpu/arm/olpc
by repository service
28 Aug '12
28 Aug '12
Author: quozl Date: Tue Aug 28 05:21:44 2012 New Revision: 3230 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3230
Log: OLPC XO-1.75 XO-4 - ignore unimplemented write protect for internal eMMC Modified: cpu/arm/olpc/sdhci.fth Modified: cpu/arm/olpc/sdhci.fth ============================================================================== --- cpu/arm/olpc/sdhci.fth Tue Aug 28 03:28:52 2012 (r3229) +++ cpu/arm/olpc/sdhci.fth Tue Aug 28 05:21:44 2012 (r3230) @@ -87,6 +87,7 @@ [then] fload ${BP}/dev/mmc/sdhci/slot.fth + : write-protected? false ; new-device fload ${BP}/dev/mmc/sdhci/sdmmc.fth fload ${BP}/dev/mmc/sdhci/selftest.fth
1
0
0
0
[commit] r3229 - dev/olpc
by repository service
28 Aug '12
28 Aug '12
Author: wmb Date: Tue Aug 28 03:28:52 2012 New Revision: 3229 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3229
Log: SETi camera driver - invert the PCLK polarity so the data is sampled on the correct edge Modified: dev/olpc/seti.fth Modified: dev/olpc/seti.fth ============================================================================== --- dev/olpc/seti.fth Tue Aug 28 03:25:39 2012 (r3228) +++ dev/olpc/seti.fth Tue Aug 28 03:28:52 2012 (r3229) @@ -107,7 +107,7 @@ \ IDP 03 00 ov! ff 10 ov! - 0d 11 ov! + 1d 11 ov! cb 12 ov! 04 14 ov! \ don't change
1
0
0
0
[commit] r3228 - cpu/arm/olpc
by repository service
28 Aug '12
28 Aug '12
Author: wmb Date: Tue Aug 28 03:25:39 2012 New Revision: 3228 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3228
Log: OLPC XO-4 - temporarily remove suspend/resume from selftest pending the implementation of that feature. Modified: cpu/arm/olpc/test-tweaks.fth Modified: cpu/arm/olpc/test-tweaks.fth ============================================================================== --- cpu/arm/olpc/test-tweaks.fth Tue Aug 28 03:07:53 2012 (r3227) +++ cpu/arm/olpc/test-tweaks.fth Tue Aug 28 03:25:39 2012 (r3228) @@ -17,6 +17,7 @@ device-end \ Add suspend resume test except in final +[ifndef] mmp3 \ Pending MMP3 suspend/resume implementation dev /switches warning @ warning off : selftest ( -- error? ) @@ -27,3 +28,4 @@ ; warning ! device-end +[then]
1
0
0
0
[commit] r3227 - cpu/arm/olpc
by repository service
28 Aug '12
28 Aug '12
Author: quozl Date: Tue Aug 28 03:07:53 2012 New Revision: 3227 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3227
Log: OLPC XO-4 A1 - fix r3226, reverse conditional Modified: cpu/arm/olpc/nn-touchscreen.fth Modified: cpu/arm/olpc/nn-touchscreen.fth ============================================================================== --- cpu/arm/olpc/nn-touchscreen.fth Tue Aug 28 02:49:18 2012 (r3226) +++ cpu/arm/olpc/nn-touchscreen.fth Tue Aug 28 03:07:53 2012 (r3227) @@ -17,7 +17,7 @@ [then] : set-gpios -[ifndef] mmp3 +[ifdef] mmp2 0 1e2bc io!@ \ TWSI4_SCL to GPIO[169] 0 1e2c0 io!@ \ TWSI4_SDA to GPIO[170] [then]
1
0
0
0
[commit] r3226 - cpu/arm/olpc
by repository service
28 Aug '12
28 Aug '12
Author: quozl Date: Tue Aug 28 02:49:18 2012 New Revision: 3226 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3226
Log: OLPC XO-4 A1 - initialise MFPR for TWSI4, needed on MMP2 based A1 only, fixes use of A1 for touchscreen testing. Modified: cpu/arm/olpc/nn-touchscreen.fth Modified: cpu/arm/olpc/nn-touchscreen.fth ============================================================================== --- cpu/arm/olpc/nn-touchscreen.fth Mon Aug 27 08:14:53 2012 (r3225) +++ cpu/arm/olpc/nn-touchscreen.fth Tue Aug 28 02:49:18 2012 (r3226) @@ -17,6 +17,10 @@ [then] : set-gpios +[ifndef] mmp3 + 0 1e2bc io!@ \ TWSI4_SCL to GPIO[169] + 0 1e2c0 io!@ \ TWSI4_SDA to GPIO[170] +[then] touch-rst-gpio# dup gpio-set gpio-dir-out touch-tck-gpio# dup gpio-clr gpio-dir-out ;
1
0
0
0
[commit] r3225 - cpu/arm/olpc
by repository service
27 Aug '12
27 Aug '12
Author: quozl Date: Mon Aug 27 08:14:53 2012 New Revision: 3225 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3225
Log: OLPC XO-4 - turn off the DCON before sending the EC power off command Modified: cpu/arm/olpc/build-fw.fth Modified: cpu/arm/olpc/build-fw.fth ============================================================================== --- cpu/arm/olpc/build-fw.fth Fri Aug 24 11:01:01 2012 (r3224) +++ cpu/arm/olpc/build-fw.fth Mon Aug 27 08:14:53 2012 (r3225) @@ -170,14 +170,11 @@ fload ${BP}/cpu/x86/pc/olpc/mfgtree.fth \ Manufacturing data in device tree fload ${BP}/dev/olpc/kb3700/eccmds.fth -: stand-power-off ( -- ) ec-power-off begin wfi again ; +: dcon-off " dcon-off" $call-dcon ; +: stand-power-off ( -- ) dcon-off ec-power-off begin wfi again ; ' stand-power-off to power-off -: olpc-reset-all ( -- ) - " dcon-off" $call-dcon - ec-power-cycle - begin wfi again -; +: olpc-reset-all ( -- ) dcon-off ec-power-cycle begin wfi again ; ' olpc-reset-all to reset-all stand-init: ['] reset-all to bye
1
0
0
0
[commit] r3224 - in cpu/arm: mmp3 olpc
by repository service
24 Aug '12
24 Aug '12
Author: quozl Date: Fri Aug 24 11:01:01 2012 New Revision: 3224 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3224
Log: OLPC XO-4 - configure and read thermal sensor Added: cpu/arm/mmp3/thermal.fth Modified: cpu/arm/olpc/build-fw.fth Added: cpu/arm/mmp3/thermal.fth ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ cpu/arm/mmp3/thermal.fth Fri Aug 24 11:01:01 2012 (r3224) @@ -0,0 +1,192 @@ +\ See license at end of file +purpose: Driver for the MMP3 thermal sensor + +\ FIXME: characterise the observations using an IR thermometer, +\ because the datasheet and the registers manual disagree on +\ interpretation of these gray code values. + +create gc0 \ high range +d# 780 w, \ 0000 +d# 830 w, \ 0001 +d# 855 w, \ 0010 +d# 805 w, \ 0011 +d# 955 w, \ 0100 +d# 930 w, \ 0101 +d# 880 w, \ 0110 +d# 905 w, \ 0111 +d# 0 w, \ 1000 +d# 1130 w, \ 1001 +d# 1080 w, \ 1010 +d# 1105 w, \ 1011 +d# 980 w, \ 1100 +d# 1005 w, \ 1101 +d# 1055 w, \ 1110 +d# 1030 w, \ 1111 + +create gc1 \ low range +d# 260 w, \ 0000 +d# 285 w, \ 0001 +d# 335 w, \ 0010 +d# 310 w, \ 0011 +d# 435 w, \ 0100 +d# 410 w, \ 0101 +d# 360 w, \ 0110 +d# 385 w, \ 0111 +d# 0 w, \ 1000 +d# 610 w, \ 1001 +d# 560 w, \ 1010 +d# 585 w, \ 1011 +d# 460 w, \ 1100 +d# 485 w, \ 1101 +d# 535 w, \ 1110 +d# 510 w, \ 1111 + +: gc>c ( gray-code -- tenths-of-celcius ) + dup h# 0800.0000 and ( gray-code low-range? ) + if gc1 else gc0 then ( gray-code table ) + swap h# f and wa+ w@ +; + +h# 03.b000 value tsense + +: +ts ( offset -- io-offset ) tsense swap la+ ; +: ts@ ( offset -- l ) +ts io@ ; +: ts! ( l offset -- ) +ts io! ; + +: ts-clock ( offset -- ) + 7 over apbc! 3 swap apbc! ( n ) +; + +: ts-clocks + h# 90 ts-clock + h# 98 ts-clock + h# 9c ts-clock + h# a0 ts-clock +; + +: ts-start ( n -- ) + dup ts@ h# 4000.0000 or swap ts! +; + +: ts-wait ( n -- ) + d# 10 get-msecs + ( n limit ) + begin + over ts@ h# 2000.0000 and ( n limit ready? ) + if 2drop exit then + dup get-msecs - 0< ( n limit timeout? ) + until ( n limit ) + 2drop ( ) +; + +: ts-read ( n -- gc ) + dup ts-wait ( n ) + dup ts@ ( n gc ) + swap ts-start ( gc ) +; + +: ts-range-low ( n -- ) + dup ts@ h# 0800.0000 or swap ts! +; + +: ts-range-high ( n -- ) + dup ts@ h# 0800.0000 invert and swap ts! +; + +: init-thermal-sensor ( -- ) + ts-clocks + 3 0 do i ts-range-low i ts-start loop +; + +\ switch the sensors out of low range - does not work +[ifdef] notyet +: hot + ts-clocks + 3 0 do i ts-range-high i ts-start loop +; +[then] + +\ read and average the three sensors +: cpu-temperature ( -- celcius ) + 0 ts-read gc>c + 1 ts-read gc>c + 2 ts-read gc>c + + + d# 30 / +; + +: ?thermal ( -- ) + cpu-temperature d# 70 > abort " CPU too hot" + \ FIXME: choose an appropriate limit, because + \ - the sample unit easily reaches 61C, + \ - using the low range we can't see greater than 61C, and + \ - the high range doesn't actually work. +; + +: .c.c ( n -- ) 0 <# # [char] . hold #s #> type ." C " ; + +: .c ( n -- ) (.) type ." C " ; + +: .thermal + push-decimal + time&date >unix-seconds . + ." sensors: " + 0 ts@ gc>c .c.c \ innermost? + 1 ts@ gc>c .c.c + 2 ts@ gc>c .c.c \ outermost? + ." cpu: " cpu-temperature .c + ." battery: " bat-temp .c + pop-base +; + +: watch-thermal + begin + .thermal cr d# 1000 ms key? + until key drop cr +; + +[ifdef] notyet \ FIXME +: test-thermal + .thermal cr + + \ save the threshold set by cforth + thermal-base 4 + io@ >r + + \ temporarily set the threshold close to current value + thermal-base io@ h# 3ff and 8 + wd-thresh! + + begin + (cr .thermal kill-line d# 500 ms key? + until key drop cr + + \ restore the threshold + r> wd-thresh! + .thermal cr +; +[then] + +stand-init: Thermal sensor + init-thermal-sensor +; + +\ LICENSE_BEGIN +\ Copyright (c) 2012 FirmWorks +\ +\ Permission is hereby granted, free of charge, to any person obtaining +\ a copy of this software and associated documentation files (the +\ "Software"), to deal in the Software without restriction, including +\ without limitation the rights to use, copy, modify, merge, publish, +\ distribute, sublicense, and/or sell copies of the Software, and to +\ permit persons to whom the Software is furnished to do so, subject to +\ the following conditions: +\ +\ The above copyright notice and this permission notice shall be +\ included in all copies or substantial portions of the Software. +\ +\ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +\ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +\ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +\ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +\ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +\ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +\ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +\ +\ LICENSE_END Modified: cpu/arm/olpc/build-fw.fth ============================================================================== --- cpu/arm/olpc/build-fw.fth Fri Aug 24 05:22:48 2012 (r3223) +++ cpu/arm/olpc/build-fw.fth Fri Aug 24 11:01:01 2012 (r3224) @@ -354,7 +354,11 @@ extra-mem-va /extra-mem add-memory ; +[ifdef] mmp3 +fload ${BP}/cpu/arm/mmp3/thermal.fth +[else] fload ${BP}/cpu/arm/mmp2/thermal.fth +[then] fload ${BP}/cpu/arm/mmp2/fuse.fth [ifdef] bsl-uart-base fload ${BP}/cpu/arm/olpc/bsl.fth
1
0
0
0
[commit] r3223 - cpu/arm/olpc
by repository service
24 Aug '12
24 Aug '12
Author: quozl Date: Fri Aug 24 05:22:48 2012 New Revision: 3223 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3223
Log: OLPC XO-4 - Neonode, show meaningful error messages on open fail, factorise packet buffer allocation Modified: cpu/arm/olpc/nn-touchscreen.fth Modified: cpu/arm/olpc/nn-touchscreen.fth ============================================================================== --- cpu/arm/olpc/nn-touchscreen.fth Fri Aug 24 00:45:55 2012 (r3222) +++ cpu/arm/olpc/nn-touchscreen.fth Fri Aug 24 05:22:48 2012 (r3223) @@ -8,7 +8,9 @@ : targets? ( -- flag ) final-test? ; : .tsmsg ( -- ) 0 d# 27 at-xy ." Touchscreen test. Type a key to exit" cr ; +[ifndef] set-geometry fload ${BP}/cpu/arm/olpc/touchscreen-common.fth +[then] [ifndef] 2u.x : 2u.x base @ >r hex 0 <# # # #> type r> base ! ; @@ -26,6 +28,9 @@ 0 value plen 0 value configure? +: pbuf-alloc /pbuf alloc-mem to pbuf ; +: pbuf-free pbuf /pbuf free-mem ; + : in? ( -- got-data? ) no-data? if false exit then @@ -80,21 +85,30 @@ ; : open ( -- okay? ) - /pbuf alloc-mem to pbuf + pbuf-alloc my-unit set-twsi-target set-gpios no-data? if reset - no-data? if pbuf /pbuf free-mem false exit then + no-data? if + ." no response to reset" cr + pbuf-free false exit + then + then + ['] read-boot-complete catch if + ." no response on bus" cr + pbuf-free false exit + then + ['] configure catch if + ." failed to configure" cr + pbuf-free false exit then - read-boot-complete - ['] configure catch if pbuf /pbuf free-mem false exit then true ; : close deactivate - pbuf /pbuf free-mem + pbuf-free ; : stream-poll? ( -- false | x y buttons true )
1
0
0
0
[commit] r3222 - cpu/arm/olpc/cl4
by repository service
23 Aug '12
23 Aug '12
Author: wmb Date: Fri Aug 24 00:45:55 2012 New Revision: 3222 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3222
Log: Q7A08 Modified: cpu/arm/olpc/cl4/fw-version.fth Modified: cpu/arm/olpc/cl4/fw-version.fth ============================================================================== --- cpu/arm/olpc/cl4/fw-version.fth Fri Aug 24 00:45:11 2012 (r3221) +++ cpu/arm/olpc/cl4/fw-version.fth Fri Aug 24 00:45:55 2012 (r3222) @@ -1,8 +1,8 @@ \ The overall firmware revision macro: FW_PREFIX Q7 macro: FW_MAJOR A -macro: FW_MINOR 07 - +macro: FW_MINOR 08 + \ Create a 2-character build/fw-suffix file to personalize your test builds " fw-suffix" $file-exists? [if] " fw-suffix" $read-file 2 min " ${FW_MINOR}%s" expand$ sprintf
1
0
0
0
← Newer
1
...
56
57
58
59
60
61
62
...
301
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
Results per page:
10
25
50
100
200