mainboard: Add Sapphire Pure Platinum H61

Hardware / Coreboot - Nicola Corna [corna.info] - 27 March 2017 13:54 EDT

This board has a socketed SOIC-8 4 MB flash chip. All the flash regions are unlocked by default but unfortunately flashrom doesn't work with the original firmware and the stock UEFI flash tool refuses to flash the coreboot image (different image ID). For now, the external programmer seems to be the only option for the first coreboot flashing.

Tested and working:
- Debian GNU/Linux Stretch (with Linux kernel 4.9, SeaBIOS)
- Microsoft Windows 7 installer with VGA blob (SeaBIOS)
- Internal GPU, both with VGA blob and libgfxinit (VGA and DVI)
- External GPU
- RAM (tested 8 + 8 GB)
- S3
- USB, both the 2.0 and 3.0 ports
- Sata
- Thermal management
- Sound
- LAN
- Bluetooth
- VT-x and VT-d
- me_cleaner

Not working:
- Microsoft Windows 7 installer with libgfxinit

Untested:
- Backside Mini PCI-E port
- DisplayPort and HDMI ports

Issues:
- The USB is always powered, even is S3 and S5 (like in the original firmware).
- Internal flashing with flashrom doesn't work after resuming from S3.
- The raminit is unreliable, as the RAM training sometimes fails and sometimes succeeds, with the same couple of RAMs. Once a MRC cache has been created, the raminit works fine.
- If an external card is inserted and the option ONBOARD_VGA_IS_PRIMARY is not enabled, the internal GPU disappears completely from the PCI bus.

Change-Id: I76aca2cfc4708c1728ae03ee4f6bc59d976c28a0

1bea5b7 mainboard: Add Sapphire Pure Platinum H61
src/mainboard/sapphire/Kconfig | 16 ++
src/mainboard/sapphire/Kconfig.name | 2 +
src/mainboard/sapphire/pureplatinumh61/Kconfig | 68 ++++++++
.../sapphire/pureplatinumh61/Kconfig.name | 2 +
.../sapphire/pureplatinumh61/Makefile.inc | 19 +++
src/mainboard/sapphire/pureplatinumh61/acpi/ec.asl | 0
.../sapphire/pureplatinumh61/acpi/platform.asl | 30 ++++
.../sapphire/pureplatinumh61/acpi/superio.asl | 0
.../sapphire/pureplatinumh61/acpi_tables.c | 34 ++++
.../sapphire/pureplatinumh61/board_info.txt | 6 +
.../sapphire/pureplatinumh61/cmos.default | 8 +
src/mainboard/sapphire/pureplatinumh61/cmos.layout | 125 ++++++++++++++
.../sapphire/pureplatinumh61/devicetree.cb | 166 ++++++++++++++++++
src/mainboard/sapphire/pureplatinumh61/dsdt.asl | 46 +++++
.../sapphire/pureplatinumh61/gma-mainboard.ads | 21 +++
src/mainboard/sapphire/pureplatinumh61/gpio.c | 189 +++++++++++++++++++++
src/mainboard/sapphire/pureplatinumh61/hda_verb.c | 87 ++++++++++
src/mainboard/sapphire/pureplatinumh61/mainboard.c | 39 +++++
src/mainboard/sapphire/pureplatinumh61/romstage.c | 90 ++++++++++
19 files changed, 948 insertions(+)

Upstream: review.coreboot.org


  • Share