Group: Hardware/Upstream projects/Coreboot

From LibrePlanet
< Group:Hardware‎ | Upstream projects
Revision as of 18:31, 16 March 2023 by GNUtoo (talk | contribs) (Adding newer computers in Coreboot and Libreboot: Update with tests @ an install party.)
Jump to: navigation, search

Introduction

While Coreboot contains and uses nonfree software, it is the upstream for Libreboot. It also contains a wide variety of projects.

This means that we have to care about the upstream status of computers that can be supported by Libreboot. And we also need FSDG compliant ways to be able to use and package the tools that are developed in the Coreboot source tree.

Tools

FSDG Distribution Package Tools
Guix ifdtool
  • ifdtool
Guix intelmetool
  • intelmetool
Guix me-cleaner
  • me_cleaner.py
Parabola libreboot-utils
  • bincfg
  • bucts
  • cbfs-compression-tool
  • cbfstool
  • cbmem
  • cse_fpt
  • cse_serger
  • demefactory
  • ectool
  • elogtool
  • fmaptool
  • ich9deblob
  • ich9gen
  • ich9show
  • ifdtool
  • ifittool
  • ifwitool
  • intelmetool
  • inteltool
  • me_cleaner.py
  • nvramtool
  • rmodtool
  • spkmodem-recv
  • superiotool
PureOS coreboot-utils
  • amdfwtool
  • cbfstool
  • cbmem
  • ectool
  • fmaptool
  • ifdfake
  • ifdtool
  • ifwitool
  • intelmetool
  • inteltool
  • intelvbttool
  • msrtool
  • nvramtool
  • rmodtool
  • romcc
  • superiotool
  • viatool
PureOS nvramtool
  • nvramtool
Trisquel 10 (nabia) nvramtool
  • nvramtool

Computers status

This section is for computers that worked with either Coreboot or Libreboot at some point, and that can or could have been added to Libreboot mostly as-is.

Original vendors Model(s) Maintainer(s) Chipset or microarchitecture family Status
Acer
  • G43T-AM3
Unmaintained Intel G43 Seem fine. Also has native GPU initialization.
Apple
  • iMac 5,2
  • Macbook 1,1
  • Macbook 2,1
Evgeny Zinoviev Intel I945
  • No more free software GPU init in 4.18 but the i915 driver seem to be able to initialize the GPU for the X60[1]
  • Looks fine otherwise
Asus
  • KCMA-D8
? AMD Family 10H Removed from upstream Coreboot,
maintained in the Coreboot 4.11 branch
Asus
  • KFSN4-DRE
? AMD Family 10H Removed from upstream Coreboot,
maintained in the Coreboot 4.11 branch
Asus
  • KGPE-D16
? AMD Family 10H Removed from upstream Coreboot,
maintained in the Coreboot 4.11 branch
Gigabyte
  • D945GCLF2D
Not mentioned upstream, Similar to the Intel D945GCLF, "reported working by a user" on the Libreboot website
Gigabyte
  • GA-G41M-ES2L
Damien Zammit Intel I945 Seem fine. Also has native GPU initialization.
Google
  • Veyron_Jaq (Haier Chromebook 11)
  • Veyron_Jerry (Hisense Chromebook 11)
  • Veyron_Mighty (Haier Chromebook 11(edu))
  • Veyron_Minnie (ASUS Chromebook Flip C100)
  • Veyron_Speedy (ASUS C201 Chromebook)
Unmaintained Still in Coreboot 4.18
Intel
  • D410PT
  • D510MO
Damien Zammit Intel Tiger Point (Atom chipset)[2]
  • No more free software GPU init in 4.18 but the i915 driver seem to be able to initialize the GPU for the X60[1]
  • Looks fine otherwise
Intel
  • D945GCLF
Unmaintained Intel I945 Seem fine. Also has native GPU initialization.
Lenovo
  • Thinkpad R60 (with Intel GPU only)
  • Thinkpad T60 (with Intel GPU only)
  • Thinkpad T60p[3]
  • Thinkpad Z61t[4]
Alexander Couzens Intel I945
  • No more free software GPU init in 4.18 but the i915 driver seem to be able to initialize the GPU for the X60[1]
  • Looks fine otherwise
Lenovo
  • Thinkpad R400
  • Thinkpad R500
  • Thinkpad T400
  • Thinkpad T500
  • Thinkpad W500
Alexander Couzens Intel GM45
  • Seem fine
  • If UART is enabled in the Coreboot 4.18 build configuration, the computer needs the dock to boot. It works fine without UART.
Lenovo
  • Thinkpad T400s[5]
Not mentioned upstream, might be similar to the T400. DRIVERS_LENOVO_WACOM is not in src/mainboard/lenovo/t400/Kconfig though.
Lenovo
  • Thinkpad X60
  • Thinkpad X60s
  • Thinkpad X60 Tablet
Alexander Couzens Intel I945
  • No more free software GPU init in 4.18 but the i915 driver seem to be able to intialize the GPU[1]
  • Boots fine otherwise
Lenovo
  • Thinkpad X200
  • Thinkpad X200s
  • Thinkpad X200 Tablet
  • ThinkPad X301
Stefan Ott Intel GM45 Seem fine
  1. 1.01.11.21.3 The test was done with an X60 without internal display, an external display, Coreboot 4.18 without nonfree microcode and Guix with linux-libre 6.0.10-gnu
  2. In Coreboot src/mainboard/intel/d510mo/Kconfig/Kconfig uses NORTHBRIDGE_INTEL_PINEVIEW, and "This generation of the Atom was codenamed Pineview, which is used in the Pine Trail platform. Intel's Pine Trail-M platform utilizes an Atom processor (codenamed Pineview-M) and Platform Controller Hub (codenamed Tiger Point)." from https://en.wikipedia.org/wiki/Pineview_(microprocessor)#Second_generation_cores
  3. Cannot be supported because only ATI GPUs are available. Reference: https://www.thinkwiki.org/wiki/Category:T60p /!\ Add blocker recommended for this link.
  4. Cannot be supported because only ATI GPUs are available. Reference: https://www.thinkwiki.org/wiki/Category:Z61t /!\ Add blocker recommended for this link.
  5. https://ryf.fsf.org/index.php/products/TET-T400s

Adding newer computers in Coreboot and Libreboot

This section is for listing computers that were never supported by Coreboot or by Libreboot, but that may be added relatively easily.

The goal here is to list computers that are similar enough to already supported computers and that could be added without having to add new drivers for specific hardware (like adding support for ATI or Nvidia GPUs) and without getting rid of some existing nonfree software (like the SMU for AMD computers).

Original vendors Model(s) Chipset family Comments
Lenovo
  • ThinkPad SL300 (with Intel GPU only)
  • ThinkPad SL400 (with Intel GPU only)
  • ThinkPad SL400c
  • ThinkPad SL410
  • ThinkPad SL500 (with Intel GPU only)
  • ThinkPad SL500c
  • ThinkPad SL510
Intel GM45
  • According to ThinkWiki these laptops have an Intel GM45.
  • According to ThinkWiki these laptops have an "IdeaPad firmware", which means that "as such some of the ThinkPad specific drivers and features are not supported.". I've made some tests on one of these (Maybe it was the SL410) and thinkpad_acpi was loaded. Though I cound't do dangerous tests on the EC (embedded controller), so I don't know the differences.

Libreboot patches

Patch Type
0001-apple-macbook21-Set-default-VRAM-to-64MiB-instead-of.patch Configuration
0002-add-c3-and-clockgen-to-apple-macbook21.patch Needs upstreaming
0003-lenovo-x60-64MiB-Video-RAM-changed-to-default-previo.patch Configuration
0004-lenovo-t60-make-64MiB-VRAM-the-default-in-cmos.defau.patch Configuration
0005-lenovo-t400-set-VRAM-to-352MiB-VRAM-by-default.patch Configuration
0006-lenovo-x200-set-VRAM-to-352MiB-by-default.patch Configuration
0007-gigabyte-ga-g41m-es2l-set-VRAM-to-352MiB-by-default.patch Configuration
0008-acer-g43t-am3-set-VRAM-to-352MiB-by-default.patch Configuration
0009-Revert-cpu-intel-Configure-IA32_FEATURE_CONTROL-for-.patch Revert: can we upstream it, or do we need to maintain it?
0010-Fix-missing-include.patch Build system related, needs upstreaming
0011-lenovo-t400-Enable-all-SATA-ports.patch Needs upstreaming
0012-fix-speedstep-on-x200-t400-Revert-cpu-intel-model_10.patch Revert: can we upstream it, or do we need to maintain it?
0015-python-patch.patch Build system related, needs upstreaming

Page License

In addition to the Libreplanet license:

Content is available under GNU Free Documentation License 1.3. By contributing to any page on this wiki, you agree to assign copyright for your contribution to the Free Software Foundation (see LibrePlanet:Copyrights for details). The Free Software Foundation promises to always use either a verbatim copying license or a free documentation license when publishing your contribution. We grant you back all your rights under copyright, including the rights to copy, modify, and redistribute your contributions. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!

This page is also licensed under the following license:

This page is released under the GNU Free Documentation License,
either version 1.3 or (at your option) any
newer version as published by the Free Software Foundation, with no
Invariant Sections, no Front Cover Texts and no Back Cover Texts.

This way it can be reused as-is in Libreboot without having to care about the absence of "or later" clause or invariant sections, cover texts, etc.