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] r3776 - cpu/x86/pc/olpc/sstools
by repository service
09 Jul '15
09 Jul '15
Author: quozl Date: Thu Jul 9 04:30:09 2015 New Revision: 3776 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3776
Log: OLPC XO-4 - screenshot feature extensions, cache of shots Modified: cpu/x86/pc/olpc/sstools/bmp.fth Modified: cpu/x86/pc/olpc/sstools/bmp.fth ============================================================================== --- cpu/x86/pc/olpc/sstools/bmp.fth Wed Jul 1 07:55:06 2015 (r3775) +++ cpu/x86/pc/olpc/sstools/bmp.fth Thu Jul 9 04:30:09 2015 (r3776) @@ -1,4 +1,4 @@ -\ dump XO-1 frame buffer in BMP24 format +\ dump XO-4 frame buffer in BMP24 format dev /display : fb-va ( -- fb ) frame-buffer-adr ; @@ -14,19 +14,20 @@ h# 36 constant /bmp-hdr /bmp-hdr buffer: bmp-hdr +0 value fb-va-orig 0 value fb-va : put-plane ( -- ) - " fb-va" screen-ih $call-method to fb-va + fb-va-orig to fb-va bmp-height 0 do bmp-width 0 ?do - fb-va w@ ( rgb565 ) - 565>rgb ( r g b ) - ofd @ fputc - ofd @ fputc - ofd @ fputc - fb-va wa1+ to fb-va + fb-va w@ ( rgb565 ) + 565>rgb ( r g b ) + ofd @ fputc + ofd @ fputc + ofd @ fputc + fb-va wa1+ to fb-va loop loop ; @@ -58,6 +59,7 @@ writing screen-wh to bmp-height to bmp-width + " fb-va" screen-ih $call-method to fb-va-orig put-header put-plane ofd @ fclose @@ -72,3 +74,94 @@ ['] evaluate catch ?dup if nip nip .error then screen-ih add-output ; + +\ special screenshots to cache, then later save + +: red-on ols-led-on ; +: red-off ols-led-off ols-led-ec-control ; +: red-blinks ( n -- ) 0 do red-on d# 50 ms red-off d# 200 ms loop ; +: orange-on led-storage-gpio# gpio-set ols-led-on ols-assy-mode-on ; +: orange-off led-storage-gpio# gpio-clr ols-led-off ols-assy-mode-off ; + +0 value cb-va \ base of cache +0 value /cb-va \ size of image +0 value #cb \ number of images in cache + +: .cb ( -- ) ." you have " #cb .d ." images in cache" cr ; + +: cb-wipe ( -- ) + screen-wh to bmp-height to bmp-width + " fb-va" screen-ih $call-method to fb-va-orig + bmp-height bmp-width * 2* to /cb-va + load-base to cb-va + 0 to #cb + .cb +; + +: >cb ( #cb -- cb-va' ) + cb-va swap /cb-va * + +; + +: cb-show ( -- ) + fb-va-orig #cb >cb /cb-va move \ save screen beyond cache + #cb 0 ?do + i >cb fb-va-orig /cb-va move \ show an image + key drop \ wait for a key + loop + #cb >cb fb-va-orig /cb-va move \ restore screen + .cb +; + +: saving ( #cb fn$ -- ) + writing ( #cb ) + >cb to fb-va-orig ( ) + put-header + put-plane + ofd @ fclose +; + +: cb-save ( -- ) + #cb 0 ?do + i + ts$ + " u:\" + " saving %s%s.bmp" sprintf + 2dup type cr + orange-on + ['] evaluate catch ?dup if nip nip .error then + orange-off + d# 1000 ms \ hack to enforce unique file name + loop + .cb +; + +: ?cb-wait-key-up + red-on + begin gpio-rotate-button? 0= until + red-off d# 200 ms +; + +: cb-key-down ( -- ) + ?cb-wait-key-up \ wait for key release + #cb 1+ red-blinks \ blink red led to show cache size + fb-va-orig #cb >cb /cb-va move \ save image to cache + #cb 1+ to #cb \ increment image counter + red-off \ turn off the led +; + +: cb-help + cr + ." XO-4 screenshot to cache utility 2015-06-19" cr + " commands" cr + cr + ." .cb show how many images are in cache" cr + ." cb-wipe empty the cache" cr + ." cb-show show the cache, one by one" cr + ." cb-save save the cache to USB drive" cr + cr +; +cb-help +cb-wipe + +: cb-alarm ( -- ) gpio-rotate-button? if cb-key-down then ; +' cb-alarm d# 100 alarm \ schedule regular asynchronous task
1
0
0
0
[commit] r3775 - dev
by repository service
01 Jul '15
01 Jul '15
Author: quozl Date: Wed Jul 1 07:55:06 2015 New Revision: 3775 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3775
Log: OLPC XO-4 - get-hdmi-edid was returning extra zero on stack underneath string Modified: dev/edid.fth Modified: dev/edid.fth ============================================================================== --- dev/edid.fth Mon May 18 00:38:23 2015 (r3774) +++ dev/edid.fth Wed Jul 1 07:55:06 2015 (r3775) @@ -368,11 +368,11 @@ then ; : get-hdmi-edid ( -- adr len ) - " /hdmi-ddc" open-dev dup if ( ih ) + " /hdmi-ddc" open-dev ?dup if ( ih ) " edid$" 2 pick $call-method ( ih adr len ) rot close-dev ( adr len ) - else - " " + else ( ) + " " ( adr len ) then ; : choose-hdmi-resolution ( -- )
1
0
0
0
[commit] r3774 - cpu/arm/olpc/1.75
by repository service
17 May '15
17 May '15
Author: quozl Date: Mon May 18 00:38:23 2015 New Revision: 3774 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3774
Log: Q4D38 Modified: cpu/arm/olpc/1.75/fw-version.fth Modified: cpu/arm/olpc/1.75/fw-version.fth ============================================================================== --- cpu/arm/olpc/1.75/fw-version.fth Mon May 18 00:34:36 2015 (r3773) +++ cpu/arm/olpc/1.75/fw-version.fth Mon May 18 00:38:23 2015 (r3774) @@ -1,7 +1,7 @@ \ The overall firmware revision macro: FW_PREFIX Q4 macro: FW_MAJOR D -macro: FW_MINOR 37 +macro: FW_MINOR 38 \ Create a 2-character build/fw-suffix file to personalize your test builds " fw-suffix" $file-exists? [if]
1
0
0
0
[commit] r3773 - dev/olpc/dcon
by repository service
17 May '15
17 May '15
Author: quozl Date: Mon May 18 00:34:36 2015 New Revision: 3773 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3773
Log: OLPC XO-1.75 - dcon-setup, lower drive strength for DETTL clock and data signals, after resume. #12852. Modified: dev/olpc/dcon/mmp2dcon.fth Modified: dev/olpc/dcon/mmp2dcon.fth ============================================================================== --- dev/olpc/dcon/mmp2dcon.fth Mon May 18 00:06:06 2015 (r3772) +++ dev/olpc/dcon/mmp2dcon.fth Mon May 18 00:34:36 2015 (r3773) @@ -237,9 +237,7 @@ h# 0101 h# 41 dcon! h# 0101 h# 42 dcon! -[ifdef] mmp3 h# 1830 h# 4c dcon! \ low drive strength for DETTL clock and data -[then] h# 12 mode! scanint-set false
1
0
0
0
[commit] r3772 - dev/olpc
by repository service
17 May '15
17 May '15
Author: quozl Date: Mon May 18 00:06:06 2015 New Revision: 3772 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3772
Log: OLPC XO - siv121c minimal register changes documentation, no functional change Modified: dev/olpc/seti.fth Modified: dev/olpc/seti.fth ============================================================================== --- dev/olpc/seti.fth Thu Mar 12 05:40:34 2015 (r3771) +++ dev/olpc/seti.fth Mon May 18 00:06:06 2015 (r3772) @@ -652,6 +652,48 @@ then ; +0 [if] +\ unused, minimal register changes to get siv121c to work after power up +: siv121c-config ( ycrcb? -- ) + >r ( r: ycrcb? ) + + 01 00 ov! \ BLK_SEL - block address bank selector - Timing Control Block + 02 03 ov! \ CNTR_A - Control global reset and device enable - + \ global reset, idle mode with clock disabled. + + 00 00 ov! \ BLK_SEL - block address bank selector - PMU block + 04 03 ov! \ CHIP_CNTR - Chip control - + \ enable output pads, disable software stand-by power-down mode. + + \ TCB + 01 00 ov! \ BLK_SEL - block address bank selector - Timing Control Block + c1 07 ov! \ recommend, BLC_CAL + 1e 10 ov! \ recommend, ramp_ref + 81 11 ov! \ recommend, ramp_sig_start level + 84 17 ov! \ recommend, abs_cntr1 + + \ AE + 02 00 ov! + 04 11 ov! \ MAX_SHUTSTEP + \ minimum exposure time when automatic exposure in use, reduce to increase frame rate at low light levels at the expense of image brightness + + \ IDP + 04 00 ov! + ( r: ycrcb? ) r> if ( ) + 25 12 ov! \ OUTFMT, set for yuv422 mode + else + 83 12 ov! \ OUTFMT, RGB565 setting + then + 7f 10 ov! \ IPFUN + + \ Sensor On + 01 00 ov! \ BLK_SEL - block address bank selector - Control Block + 01 03 ov! \ CNTR_A - Control global reset and device enable - + \ no reset, dynamic mode with clock enabled + +; +[then] + : siv121d-config ( ycrcb? -- ) >r ( r: ucrcb? )
1
0
0
0
[commit] r3771 - cpu/arm/olpc/4.0
by repository service
12 Mar '15
12 Mar '15
Author: quozl Date: Thu Mar 12 05:40:34 2015 New Revision: 3771 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3771
Log: Q7C05 Modified: cpu/arm/olpc/4.0/fw-version.fth Modified: cpu/arm/olpc/4.0/fw-version.fth ============================================================================== --- cpu/arm/olpc/4.0/fw-version.fth Tue Mar 10 09:14:49 2015 (r3770) +++ cpu/arm/olpc/4.0/fw-version.fth Thu Mar 12 05:40:34 2015 (r3771) @@ -1,7 +1,7 @@ \ The overall firmware revision macro: FW_PREFIX Q7 macro: FW_MAJOR C -macro: FW_MINOR 04 +macro: FW_MINOR 05 \ Create a 2-character build/fw-suffix file to personalize your test builds " fw-suffix" $file-exists? [if]
1
0
0
0
[commit] r3770 - cpu/arm/olpc/1.75
by repository service
10 Mar '15
10 Mar '15
Author: quozl Date: Tue Mar 10 09:14:49 2015 New Revision: 3770 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3770
Log: Q4D37 Modified: cpu/arm/olpc/1.75/fw-version.fth Modified: cpu/arm/olpc/1.75/fw-version.fth ============================================================================== --- cpu/arm/olpc/1.75/fw-version.fth Mon Mar 9 08:45:23 2015 (r3769) +++ cpu/arm/olpc/1.75/fw-version.fth Tue Mar 10 09:14:49 2015 (r3770) @@ -1,7 +1,7 @@ \ The overall firmware revision macro: FW_PREFIX Q4 macro: FW_MAJOR D -macro: FW_MINOR 36 +macro: FW_MINOR 37 \ Create a 2-character build/fw-suffix file to personalize your test builds " fw-suffix" $file-exists? [if]
1
0
0
0
[commit] r3769 - dev/olpc
by repository service
09 Mar '15
09 Mar '15
Author: quozl Date: Mon Mar 9 08:45:23 2015 New Revision: 3769 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3769
Log: OLPC XO - siv121d camera sensor support, #12861 Modified: dev/olpc/seti.fth Modified: dev/olpc/seti.fth ============================================================================== --- dev/olpc/seti.fth Fri Jan 30 03:34:25 2015 (r3768) +++ dev/olpc/seti.fth Mon Mar 9 08:45:23 2015 (r3769) @@ -288,7 +288,7 @@ then ; -\ SIV121C, not supported on XO-1.5, +\ SIV121C, SIV121D, not supported on XO-1.5, \ because sensor maximum clock 27 MHz, and host provides 48 MHz. [ifndef] olpc-xo-1.5 @@ -651,6 +651,37 @@ cb 12 ov! \ OUTFMT, RGB565 setting then ; + +: siv121d-config ( ycrcb? -- ) + >r ( r: ucrcb? ) + + 01 00 ov! \ BLK_SEL - block address bank selector - Timing Control Block + 02 03 ov! \ CNTR_A - Control global reset and device enable - + \ global reset, idle mode with clock disabled. + + 00 00 ov! \ BLK_SEL - block address bank selector - PMU block + 04 03 ov! \ CHIP_CNTR - Chip control - + \ enable output pads, disable software stand-by power-down mode. + + \ AE + 02 00 ov! \ BLK_SEL - block address bank selector - AE (automatic exposure) + 04 11 ov! \ MAX_SHUTSTEP + \ minimum exposure time when automatic exposure in use, reduce to increase frame rate at low light levels at the expense of image brightness + + \ IDP + 04 00 ov! \ BLK_SEL - block address bank selector - IDP + 1d 11 ov! \ SIGCNT - invert PCLK polarity + ( r: ycrcb? ) r> if ( ) + 25 12 ov! \ OUTFMT, YUV + else + 83 12 ov! \ OUTFMT, RGB565 setting + then + + \ Sensor On + 01 00 ov! \ BLK_SEL - block address bank selector - Control Block + 01 03 ov! \ CNTR_A - Control global reset and device enable - + \ no reset, dynamic mode with clock enabled +; [then] : (set-mirrored) ( mirrored? -- ) @@ -681,6 +712,16 @@ then ( regval ) [ifndef] olpc-xo-1.5 + dup h# de = if + " SETi,SIV121D" " sensor" string-property +[ifdef] set-sensor-properties + " seti,siv121d" camera-smb-slave set-sensor-properties +[then] + ['] siv121c-set-mirrored to set-mirrored + ['] siv121d-config to camera-config + drop true exit + then + dup h# 95 = if " SETi,SIV121C" " sensor" string-property [ifdef] set-sensor-properties
1
0
0
0
[commit] r3768 - cpu/arm/olpc/4.0
by repository service
30 Jan '15
30 Jan '15
Author: quozl Date: Fri Jan 30 03:34:25 2015 New Revision: 3768 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3768
Log: Q7C04 Modified: cpu/arm/olpc/4.0/fw-version.fth Modified: cpu/arm/olpc/4.0/fw-version.fth ============================================================================== --- cpu/arm/olpc/4.0/fw-version.fth Fri Jan 30 03:32:17 2015 (r3767) +++ cpu/arm/olpc/4.0/fw-version.fth Fri Jan 30 03:34:25 2015 (r3768) @@ -1,7 +1,7 @@ \ The overall firmware revision macro: FW_PREFIX Q7 macro: FW_MAJOR C -macro: FW_MINOR 03 +macro: FW_MINOR 04 \ Create a 2-character build/fw-suffix file to personalize your test builds " fw-suffix" $file-exists? [if]
1
0
0
0
[commit] r3767 - in cpu: arm arm/olpc x86/pc/olpc
by repository service
30 Jan '15
30 Jan '15
Author: quozl Date: Fri Jan 30 03:32:17 2015 New Revision: 3767 URL:
http://tracker.coreboot.org/trac/openfirmware/changeset/3767
Log: OLPC XO-4 - suppress device tree changes when booting alternate operating system, fixes #12855. Modified: cpu/arm/linux.fth cpu/arm/olpc/build-fw.fth cpu/x86/pc/olpc/security.fth Modified: cpu/arm/linux.fth ============================================================================== --- cpu/arm/linux.fth Fri Jan 16 02:18:09 2015 (r3766) +++ cpu/arm/linux.fth Fri Jan 30 03:32:17 2015 (r3767) @@ -107,7 +107,7 @@ \ args-buf cscount set-parameters ( ) \ then disable-interrupts -[ifdef] mmp3-gic mmp3-gic [then] + [ifdef] mmp3-gic no-mmp3-gic? 0= if mmp3-gic then [then] linux-base linux-base (init-program) \ Starting address, SP 0 to r0 Modified: cpu/arm/olpc/build-fw.fth ============================================================================== --- cpu/arm/olpc/build-fw.fth Fri Jan 16 02:18:09 2015 (r3766) +++ cpu/arm/olpc/build-fw.fth Fri Jan 30 03:32:17 2015 (r3767) @@ -254,7 +254,10 @@ : wlan-reset ( -- ) wlan-reset-gpio# gpio-clr d# 20 ms wlan-reset-gpio# gpio-set ; fload ${BP}/ofw/core/fdt.fth -[ifdef] mmp3 autoload: mmp3-gic- defines: mmp3-gic [then] +[ifdef] mmp3 + autoload: mmp3-gic- defines: mmp3-gic + 0 value no-mmp3-gic? +[then] fload ${BP}/cpu/arm/linux.fth \ Create the alias unless it already exists Modified: cpu/x86/pc/olpc/security.fth ============================================================================== --- cpu/x86/pc/olpc/security.fth Fri Jan 16 02:18:09 2015 (r3766) +++ cpu/x86/pc/olpc/security.fth Fri Jan 30 03:32:17 2015 (r3767) @@ -1320,7 +1320,13 @@ load-crypto if " Crypto load failed" .security-failure then ( ) - alternate? if " \boot-alt" else " \boot" then pn-buf place + alternate? if + [ifdef] mmp3 true to no-mmp3-gic? [then] + " \boot-alt" + else + " \boot" + then + pn-buf place key? if pending-char c@ h# 1b = if
1
0
0
0
← Newer
1
2
3
4
5
6
7
...
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