Skip to content

Commit ff519c9

Browse files
committed
Merge remote-tracking branch 'osresearch/master' into mdrobnak-google_omnigul
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2 parents 88d1412 + 2ab7d58 commit ff519c9

File tree

86 files changed

+8789
-646
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+8789
-646
lines changed

.circleci/config.yml

Lines changed: 86 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ commands:
1616
echo "Sourcing /devenv.sh since docker entrypoint doesn't do it as expected"
1717
source /devenv.sh
1818
rm -rf build/<< parameters.arch >>/<< parameters.target >>/* build/<< parameters.arch >>/log/*
19-
make V=1 BOARD=<< parameters.target >> << parameters.subcommand >> | ts || touch ./tmpDir/failed_build
19+
#Pass AVAILABLE_MEM_GB=8 to respect CircleCI free tier RAM assignation, which otherwise randomly fails. See Makefile calculations.
20+
# Without AVAILABLE_MEM_GB=8: CircleCI passes '-j36 --load-average=54'
21+
# With AVAILABLE_MEM_GB=8: CircleCI passes '-j8 --load-average=12'
22+
make V=1 BOARD=<< parameters.target >> << parameters.subcommand >> AVAILABLE_MEM_GB=8 | ts || touch ./tmpDir/failed_build
2023
no_output_timeout: 3h
2124
- run:
2225
name: Output hashes
@@ -91,11 +94,15 @@ jobs:
9194
name: Download Optiplex 7010/9010 blobs
9295
command: |
9396
./blobs/xx30/optiplex_7010_9010.sh ./blobs/xx30
97+
# me_cleaner.py present under heads blobs/utils/me_cleaner dir comes from https://github.com/corna/me_cleaner/blob/43612a630c79f3bc6f2653bfe90dfe0b7b137e08/me_cleaner.py
9498
- run:
95-
# me_cleaner.py present under heads xx30 blobs dir comes from https://github.com/corna/me_cleaner/blob/43612a630c79f3bc6f2653bfe90dfe0b7b137e08/me_cleaner.py
9699
name: Download and neuter xx30 ME (keep generated GBE and extracted IFD in tree)
97100
command: |
98-
./blobs/xx30/download_clean_me_manually.sh -m $(readlink -f ./blobs/xx30/me_cleaner.py)
101+
./blobs/xx30/download_clean_me_manually.sh -m $(readlink -f ./blobs/utils/me_cleaner/me_cleaner.py)
102+
- run:
103+
name: Download, neuter and deguard xx80 ME (keep generated GBE and extracted IFD in tree)
104+
command: |
105+
./blobs/xx80/download_clean_deguard_me_pad_tb.sh -m $(readlink -f ./blobs/utils/me_cleaner/me_cleaner.py) ./blobs/xx80/
99106
- run:
100107
name: Download and extract t530 vbios roms for dgpu boards
101108
command: |
@@ -188,8 +195,8 @@ jobs:
188195
- build/ppc64/musl-cross-make-38e52db8358c043ae82b346a2e6e66bc86a53bc1
189196
- build/x86/coreboot-4.11
190197
- build/x86/coreboot-24.02.01
198+
- build/x86/coreboot-24.12
191199
- build/x86/coreboot-dasharo
192-
- build/x86/coreboot-mrchromebox
193200
- build/x86/coreboot-purism
194201
- build/x86/musl-cross-make-38e52db8358c043ae82b346a2e6e66bc86a53bc1
195202
- crossgcc
@@ -231,39 +238,27 @@ workflows:
231238

232239
# coreboot 24.02.01
233240
- build_and_persist:
234-
name: x230-hotp-maximized
235-
target: x230-hotp-maximized
236-
subcommand: ""
237-
requires:
238-
- x86-musl-cross-make
239-
240-
# coreboot-git mrchromebox
241-
- build:
242-
name: omnigul
243-
target: omnigul
241+
name: novacustom-nv4x_adl
242+
target: novacustom-nv4x_adl
244243
subcommand: ""
245244
requires:
246245
- x86-musl-cross-make
247246

248-
# coreboot purism
247+
# coreboot purism: based on coreboot 24.02.01, reuse dasharo 24.02.01 crossgcc
249248
- build_and_persist:
250249
name: librem_14
251250
target: librem_14
252251
subcommand: ""
253252
requires:
254-
- x230-hotp-maximized
253+
- novacustom-nv4x_adl
255254

256-
# coreboot nitropad
257-
# Nitropads depending on x230-hotp-maximized cache since kernel is 6.x and coreboot is git is unshared
258-
# We use nitropad's coreboot's fork crossgcc
259-
# No need to wait further for other board's cache
260-
# We reuse built modules from x230-hotp-maximized cache only
255+
# t480 is based on 24.12 coreboot release, not sharing any buildstack from now, depend on muscl-cross cache
261256
- build_and_persist:
262-
name: novacustom-nv4x_adl
263-
target: novacustom-nv4x_adl
257+
name: t480-hotp-maximized
258+
target: t480-hotp-maximized
264259
subcommand: ""
265260
requires:
266-
- x230-hotp-maximized
261+
- x86-musl-cross-make
267262

268263
# coreboot talos_2
269264
- build_and_persist:
@@ -287,186 +282,199 @@ workflows:
287282
- save_cache:
288283
requires:
289284
- UNTESTED_talos-2
290-
- librem_14
285+
- t480-hotp-maximized
291286

292287
# Those onboarding new boards should add their entries below.
293-
# coreboot 24.02.01 boards
288+
# coreboot 24.12 boards
294289
- build:
295290
name: x220-hotp-maximized
296291
target: x220-hotp-maximized
297292
subcommand: ""
298293
requires:
299-
- x230-hotp-maximized
294+
- t480-hotp-maximized
300295

301296
- build:
302297
name: x220-maximized
303298
target: x220-maximized
304299
subcommand: ""
305300
requires:
306-
- x230-hotp-maximized
301+
- t480-hotp-maximized
307302

308303
- build:
309304
name: t420-hotp-maximized
310305
target: t420-hotp-maximized
311306
subcommand: ""
312307
requires:
313-
- x230-hotp-maximized
308+
- t480-hotp-maximized
314309

315310
- build:
316311
name: t420-maximized
317312
target: t420-maximized
318313
subcommand: ""
319314
requires:
320-
- x230-hotp-maximized
321-
322-
- build:
323-
name: x230-hotp-maximized_usb-kb
324-
target: x230-hotp-maximized_usb-kb
325-
subcommand: ""
326-
requires:
327-
- x230-hotp-maximized
315+
- t480-hotp-maximized
328316

329317
- build:
330318
name: t430-hotp-maximized
331319
target: t430-hotp-maximized
332320
subcommand: ""
333321
requires:
334-
- x230-hotp-maximized
322+
- t480-hotp-maximized
335323

336324
- build:
337325
name: x230-maximized
338326
target: x230-maximized
339327
subcommand: ""
340328
requires:
341-
- x230-hotp-maximized
329+
- t480-hotp-maximized
342330

343-
#TODO: move away of 24.02.01 coreboot and depend on optiplex specific dasharo commit
344331
- build:
345332
name: optiplex-7010_9010-maximized
346333
target: optiplex-7010_9010-maximized
347334
subcommand: ""
348335
requires:
349-
- x230-hotp-maximized
336+
- t480-hotp-maximized
350337

351338
- build:
352339
name: optiplex-7010_9010-hotp-maximized
353340
target: optiplex-7010_9010-hotp-maximized
354341
subcommand: ""
355342
requires:
356-
- x230-hotp-maximized
343+
- t480-hotp-maximized
357344

358345
- build:
359346
name: optiplex-7010_9010_TXT-maximized
360347
target: optiplex-7010_9010_TXT-maximized
361348
subcommand: ""
362349
requires:
363-
- x230-hotp-maximized
350+
- t480-hotp-maximized
364351

365352
- build:
366353
name: optiplex-7010_9010_TXT-hotp-maximized
367354
target: optiplex-7010_9010_TXT-hotp-maximized
368355
subcommand: ""
369356
requires:
370-
- x230-hotp-maximized
357+
- t480-hotp-maximized
358+
359+
- build:
360+
name: x230-hotp-maximized
361+
target: x230-hotp-maximized
362+
subcommand: ""
363+
requires:
364+
- t480-hotp-maximized
365+
366+
- build:
367+
name: x230-hotp-maximized_usb-kb
368+
target: x230-hotp-maximized_usb-kb
369+
subcommand: ""
370+
requires:
371+
- t480-hotp-maximized
371372

372373
- build:
373374
name: x230-maximized-fhd_edp
374375
target: x230-maximized-fhd_edp
375376
subcommand: ""
376377
requires:
377-
- x230-hotp-maximized
378+
- t480-hotp-maximized
378379

379380
- build:
380381
name: x230-hotp-maximized-fhd_edp
381382
target: x230-hotp-maximized-fhd_edp
382383
subcommand: ""
383384
requires:
384-
- x230-hotp-maximized
385+
- t480-hotp-maximized
385386

386387
- build:
387388
name: w530-hotp-maximized
388389
target: w530-hotp-maximized
389390
subcommand: ""
390391
requires:
391-
- x230-hotp-maximized
392+
- t480-hotp-maximized
392393

393394
- build:
394395
name: t430-maximized
395396
target: t430-maximized
396397
subcommand: ""
397398
requires:
398-
- x230-hotp-maximized
399+
- t480-hotp-maximized
399400

400401
- build:
401402
name: w530-maximized
402403
target: w530-maximized
403404
subcommand: ""
404405
requires:
405-
- x230-hotp-maximized
406+
- t480-hotp-maximized
406407

407408
- build:
408-
name: t530-maximized
409-
target: t530-maximized
409+
name: UNTESTED_t530-maximized
410+
target: UNTESTED_t530-maximized
410411
subcommand: ""
411412
requires:
412-
- x230-hotp-maximized
413+
- t480-hotp-maximized
413414

414415
- build:
415-
name: t530-hotp-maximized
416-
target: t530-hotp-maximized
416+
name: UNTESTED_t530-hotp-maximized
417+
target: UNTESTED_t530-hotp-maximized
417418
subcommand: ""
418419
requires:
419-
- x230-hotp-maximized
420-
420+
- t480-hotp-maximized
421421

422422
- build:
423423
name: UNTESTED_t440p-maximized
424424
target: UNTESTED_t440p-maximized
425425
subcommand: ""
426426
requires:
427-
- x230-hotp-maximized
427+
- t480-hotp-maximized
428428

429429
- build:
430430
name: UNTESTED_t440p-hotp-maximized
431431
target: UNTESTED_t440p-hotp-maximized
432432
subcommand: ""
433433
requires:
434-
- x230-hotp-maximized
434+
- t480-hotp-maximized
435435

436436
- build:
437437
name: UNTESTED_w541-maximized
438438
target: UNTESTED_w541-maximized
439439
subcommand: ""
440440
requires:
441-
- x230-hotp-maximized
441+
- t480-hotp-maximized
442442

443443
- build:
444444
name: UNTESTED_w541-hotp-maximized
445445
target: UNTESTED_w541-hotp-maximized
446446
subcommand: ""
447447
requires:
448-
- x230-hotp-maximized
448+
- t480-hotp-maximized
449449

450450
- build:
451451
name: qemu-coreboot-fbwhiptail-tpm2-hotp
452452
target: qemu-coreboot-fbwhiptail-tpm2-hotp
453453
subcommand: ""
454454
requires:
455-
- x230-hotp-maximized
455+
- t480-hotp-maximized
456456

457457
- build:
458-
name: z220-cmt-maximized
459-
target: z220-cmt-maximized
458+
name: UNTESTED_z220-cmt-maximized
459+
target: UNTESTED_z220-cmt-maximized
460460
subcommand: ""
461461
requires:
462-
- x230-hotp-maximized
462+
- t480-hotp-maximized
463463

464464
- build:
465-
name: z220-cmt-hotp-maximized
466-
target: z220-cmt-hotp-maximized
465+
name: UNTESTED_z220-cmt-hotp-maximized
466+
target: UNTESTED_z220-cmt-hotp-maximized
467+
subcommand: ""
468+
requires:
469+
- t480-hotp-maximized
470+
471+
# coreboot-git mrchromebox, based on 24.12
472+
- build:
473+
name: omnigul
474+
target: omnigul
467475
subcommand: ""
468476
requires:
469-
- x230-hotp-maximized
477+
- t480-hotp-maximized
470478

471479
# coreboot purism
472480
# librem boards
@@ -519,6 +527,14 @@ workflows:
519527
requires:
520528
- librem_14
521529

530+
# t480 is based on 24.12 coreboot release, not sharing any buildstack from now, depend on muscl-cross cache
531+
- build:
532+
name: t480-maximized
533+
target: t480-maximized
534+
subcommand: ""
535+
requires:
536+
- t480-hotp-maximized
537+
522538
# dasharo release, share 24.02.01 utils/crossgcc
523539
- build:
524540
name: UNTESTED_nitropad-ns50
@@ -527,48 +543,17 @@ workflows:
527543
requires:
528544
- novacustom-nv4x_adl
529545

546+
#NovaCustom v56 boards are based on coreboot 24.02.01 fork, so depend on x230
530547
- build:
531548
name: novacustom-v560tu
532549
target: novacustom-v560tu
533550
subcommand: ""
534551
requires:
535-
- x230-hotp-maximized
552+
- novacustom-nv4x_adl
536553

537554
- build:
538555
name: novacustom-v540tu
539556
target: novacustom-v540tu
540557
subcommand: ""
541558
requires:
542-
- x230-hotp-maximized
543-
544-
# coreboot 4.11
545-
- build:
546-
name: UNMAINTAINED_kgpe-d16_workstation
547-
target: UNMAINTAINED_kgpe-d16_workstation
548-
subcommand: ""
549-
requires:
550-
- librem_l1um
551-
552-
# coreboot 4.11
553-
- build:
554-
name: UNMAINTAINED_kgpe-d16_workstation-usb_keyboard
555-
target: UNMAINTAINED_kgpe-d16_workstation-usb_keyboard
556-
subcommand: ""
557-
requires:
558-
- librem_l1um
559-
560-
# coreboot 4.11
561-
- build:
562-
name: UNMAINTAINED_kgpe-d16_server
563-
target: UNMAINTAINED_kgpe-d16_server
564-
subcommand: ""
565-
requires:
566-
- librem_l1um
567-
568-
# coreboot 4.11
569-
- build:
570-
name: UNMAINTAINED_kgpe-d16_server-whiptail
571-
target: UNMAINTAINED_kgpe-d16_server-whiptail
572-
subcommand: ""
573-
requires:
574-
- librem_l1um
559+
- novacustom-nv4x_adl

0 commit comments

Comments
 (0)