hp elite 8200 sff port plus announcement

hslick-master
Leah Rowe 2023-04-15 03:45:07 +01:00
parent 8c17110c7a
commit de5d140dd6
5 changed files with 206 additions and 2 deletions

View File

@ -0,0 +1,130 @@
---
title: HP Elite 8200 SFF and 6200 Pro Business
x-toc-enable: true
...
Introduction
============
Libreboot has support for this, in the Git repository and release versions
after (but *not* including) the Libreboot 20230413 release.
Brief board info
----------------
HP Elite 8200 SFF is a small-form-factory desktop of Intel Sandybridge platform
which you can read more about here:
<https://support.hp.com/gb-en/product/hp-compaq-8200-elite-small-form-factor-pc/5037931>
Installation of Libreboot
-------------------------
You can actually just compile the Libreboot ROM for this, and flash the
entire ROM, then flash it. The *coreboot* project proper, has information
about this:
<https://doc.coreboot.org/mainboard/hp/compaq_8200_sff.html>
Refer to the coreboot guide for flashing instructions, and you can build the
images for it in Libreboot like so:
./build boot roms hp8200sff_8mb
More information about building ROM images can be found in
the [build guide](../build/).
This is a *Sandybridge* board which means that a neutered ME image is required
if you wish to flash the ME region. Libreboot's build system automatically
downloads, neuters (using `me_cleaner`) and inserts this if compiling from
source.
If you're using *Libreboot release* ROM images, the ME image has been scrubbed
and you must re-insert it. Use the information on this guide to know how
to do that:
[Insert binary blobs on Intel Sandybridge/Ivybridge/Haswell
platforms](../install/ivy_has_common.md)
You may also wish to change the *default MAC address* if you're planning to
use the onboard Intel Gigabit Ethernet. You can do this using the information
in the same guide linked above, or read the nvmutil manual:
[Modify MAC addresses with nvmutil](../install/nvmutil.md).
HP 6200 Pro Business PC
-----------------------
According to this page from the vendor, HP BIOS updates are the same on both
the 8200 SFF Elite *and* 6200 Pro Business desktop PCs; therefore, we believe
that the Libreboot port for 8200 SFF will *also* work on 6200 Pro Business PCs.
That page is here:
<https://support.hp.com/fi-fi/drivers/selfservice/swdetails/hp-compaq-8200-elite-small-form-factor-pc/5037931/swItemId/vc-229778-2>
The port for this board is courtesy of *Riku Viitanen* (`Riku_V` on Libreboot
IRC), who tested and confirmed the following functionality:
* PS/2 and USB keyboards
* Boot from USB and DVD
* Gigabit ethernet
* VGA and DisplayPort (Intel graphics), with libgfxinit (native video init)
* 4x8 GB RAM
* Headphone output, PC speaker
* S3 suspend, wake on USB keyboard
* lm\_sensors outputs CPU core temperatures only
At the time of porting, the following is untested in Libreboot:
* PCIe cards (believed to be working, based on coreboot git messages)
* PCI cards (believed to be working, based on coreboot git messages)
* Serial port and parallel port (internal header on the board) and PS/2 mouse-
NOTE: Serial port believed to work, according to initial coreboot commit from
revision `6308e0e92f624cb18a875ed04e41e1d15fc91054` in 2018
* Wake on LAN
* Internal flashing from OEM BIOS - TODO: Riku spoke to someone on IRC who said
it might be possible, so this should be investigated. - NOTE: coreboot git
logs also suggest that this is possible.
According to the initial coreboot port from 2018, the following also works:
* SATA slots
* EHCI debug (not enabled by Libreboot configs)
* USB ports
* Native (libre) raminit with up to four DIMM modules (also tested by Riku and
confirmed working, with 32GB RAM instealled as 4x8GB)
TPM
---
According to git logs, TPM should work, and a commit from 2018 at revision
ID `39d0e2a2cf45e28cdddd0fe0c88f94ce527ab1ef` in coreboot makes the TPM visible
to operating systems.
PSU Fan control
---------------
See coreboot commit `9bd601584350f51f112b15a7369f9aa82f1d0919` - labelled
by commit message `superio/nuvoton/npcd378: Add PSU fan control`.
Per this commit, SuperIO-based fan control is supported on HP Elite 8200 SFF.
TODO for testing the above is here:\
<https://codeberg.org/libreboot/lbmk/issues/9>
This is controlled via `nvramtool` to modify the value in sram. See:
* `psu_fan_lvl=3` <-- default setting in coreboot, and Libreboot.
Other values possible: from reading the source code, it is implied that the
number can be between 0 and 7. If the value is set higher than 7, it will
default back to 3.
Libreboot locks CMOS/NVRAM settings, but you can change the default setting in
the *ROM* by using the `-C` option in nvramtool. You can find this under the
directory `coreboot/default/util/nvramtool` when downloading coreboot inside
of lbmk by running the command:
./download coreboot default
Go in there and type `make` to build nvramtool. Simply run nvramtool without
arguments, and it will show a list of options.

View File

@ -25,6 +25,7 @@ libreboot currently supports the following systems in this release:
- [Acer G43T-AM3](acer_g43t-am3.md)
- [Intel D510MO and D410PT motherboards](d510mo.md)
- [Apple iMac 5,2](imac52.md)
- [HP Elite 8200 SFF](hp8200sff.md) (HP 6200 Pro Business probably works too)
### Laptops (Intel, x86)

View File

@ -27,7 +27,8 @@ Haswell/Ivybridge/Sandybridge machines
BLOBS MISSING IN RELEASE ROMs
-----------------------------
E.g. ThinkPad X220, X230, T440p, W541.
E.g. ThinkPad X220, X230, T440p, W541. - also desktop boards such as HP
Elite 8200 SFF.
The lbmk build system automatically fetches required blobs for these
boards, when building, and sets them up properly, e.g. `me_cleaner`
@ -166,7 +167,7 @@ Which systems are supported?
[Refer to the hardware compatibility page](../hardware/)
MAC address on Sandybridge/Ivybridge/Haswell (e.g. X230, X220, T440p, W541)
Sandy/Ivybridge/Haswell MAC address (e.g. X230, X220, T440p, W541, hp8200sff)
=====================================================================
You can change the MAC address in flash, on these machines. See:
@ -533,6 +534,11 @@ iMac5,2 isn't documented but you can find the flash chip on that board quite
easily. See the generic flashing guide:\
[Externally rewrite 25xx NOR flash via SPI protocol](spi.md)
TARGET: HP Elite 8200 SFF
-------------------------
See: [HP Elite 8200 SFF hardware information](../hardware/hp8200sff.md)
TARGET: Gigabyte GA-G41M-ES2L mainboard
---------------------------------------

View File

@ -1,3 +1,4 @@
hp8200sff.md
libreboot20230413.md
mirrors.md
codeberg.md

66
site/news/hp8200sff.md Normal file
View File

@ -0,0 +1,66 @@
% HP Elite 8200 SFF support added to Libreboot (plus more desktops coming soon)
% Leah Rowe
% 15 April 2023
Introduction
============
Today, Libreboot gains its *first* desktop machine for nearly 2 years. The
last one added was Acer G43T-AM3.
You can learn more about this on the [HP Elite 8200 SFF Libreboot installation
and hardware information page](../docs/hardware/hp8200sff.md).
The patch for Libreboot was done, courtesy of Riku Viitanen, IRC nick `Riku_V`
on Libreboot IRC. It's quite a nice Intel Sandybridge platform, with all libre
initialisation on the coreboot side, and Libreboot's build system automatically
runs `me_cleaner` while building for this board.
This board is significant because it's relatively simple to flash, cheap, and
readily available on merchant sites such as eBay. Desktop support has
traditionally been much weaker in Libreboot, and this is something that
should (can, and will) change.
HP EliteBook 2560p (laptop)
------------------
Riku is also interested in adding HP EliteBook 2560p support in Libreboot.
Coreboot has support for that board. For *that* board, I committed this
patch in a branch of Libreboot, to make handling EC firmware easier for Riku:
<https://browse.libreboot.org/lbmk.git/commit/?h=blobutil_kbc1126_ec&id=b9ee4e79c33365ede01fb7d2a0d5c8f3c1a1928c>
I initially wrote the logic in that patch as part of another experimental
branch of Libreboot, adding HP Elitebook 8560w (does not boot yet).
If my EC download script works for Riku, and 2560p support confirmed working
when Riku tests it, then both of them shall by merged into Libreboot's master
branch. The EC firmware is not on a separate IC, for that machine; instead,
it must be handled during the coreboot build process, for insertion into the
main boot flash. This is actually *better*, for similar reasons as explained
in the Libreboot [blobs reduction policy](policy.md), because it makes the EC
firmware easier to replace with libre code (based on reverse engineering,
perhaps).
Dell Optiplex 7020/9020 probably soon (testing needed)
-------------------------------------
I've purchased Dell Optiplex 7020 and 9020 workstations (Haswell gen), which is
available for coreboot with this gerrit patch:
<https://review.coreboot.org/c/coreboot/+/55232/>
Libreboot will eventually support *all* coreboot targets.
Want to help add boards yourself?
---------------------------------
Libreboot has the following documentation available:
* [lbmk maintenance manual](../docs/maintain/) (build system documentation)
* [porting guide](../docs/maintain/porting.md) (largely Intel-centric, at
the time of writing this post)
Riku's work was inspired by reading these. The guides themselves are also in
need of constant maintenance and improvement, relative to the changes in
Libreboot.