mainboard: Add ASRock G41C-GS

Hardware / Coreboot - Arthur Heymans [aheymans.xyz] - 13 May 2017 11:37 EDT

Start-point is Gigabyte GA-G41M-ES2L.

This board features a G41 northbridge and an ICH7 southbridge. This board has slots for both DDR2 and DDR3 (cannot run concurrently though) but only DDR2 is implemented in coreboot. The SPI flash resides in a DIP-8 socket.

Tested and working:
- DDR2 dual channel (PC2 5300 and PC2 6400, though raminit is picky with assymetric dimm setups);
- 3,5" IDE;
- SATA;
- PCIe x16 (with some patches up for review);
- Uart, PS2 Keyboard;
- USB, ethernet, audio;
- Native graphic init;
- Fan control;
- Reboot, poweroff, S3 resume;
- Flashrom (vendor and coreboot).

Tested but fails:
- DDR3 (not implemented in coreboot).

Tests were run with SeaBIOS and Debian sid, using Linux 4.9.0.

Change-Id: I992ee07b742dfc59733ce0f3a9be202a530ec6cc

7d46e96 mainboard: Add ASRock G41C-GS
src/mainboard/asrock/g41c-gs/Kconfig | 50 +++++++
src/mainboard/asrock/g41c-gs/Kconfig.name | 2 +
src/mainboard/asrock/g41c-gs/Makefile.inc | 2 +
src/mainboard/asrock/g41c-gs/acpi/ec.asl | 1 +
.../asrock/g41c-gs/acpi/ich7_pci_irqs.asl | 53 ++++++++
src/mainboard/asrock/g41c-gs/acpi/platform.asl | 28 ++++
src/mainboard/asrock/g41c-gs/acpi/superio.asl | 1 +
src/mainboard/asrock/g41c-gs/acpi/x4x_pci_irqs.asl | 66 +++++++++
src/mainboard/asrock/g41c-gs/acpi_tables.c | 28 ++++
src/mainboard/asrock/g41c-gs/board_info.txt | 7 +
src/mainboard/asrock/g41c-gs/cmos.default | 6 +
src/mainboard/asrock/g41c-gs/cmos.layout | 114 ++++++++++++++++
src/mainboard/asrock/g41c-gs/cstates.c | 21 +++
src/mainboard/asrock/g41c-gs/devicetree.cb | 149 +++++++++++++++++++++
src/mainboard/asrock/g41c-gs/dsdt.asl | 43 ++++++
src/mainboard/asrock/g41c-gs/gpio.c | 115 ++++++++++++++++
src/mainboard/asrock/g41c-gs/hda_verb.c | 72 ++++++++++
src/mainboard/asrock/g41c-gs/romstage.c | 122 +++++++++++++++++
18 files changed, 880 insertions(+)

Upstream: review.coreboot.org


  • Share