Board:lenovo/g505s
The wiki is being retired!
Documentation is now handled by the same processes we use for code: Add something to the Documentation/ directory in the coreboot repo, and it will be rendered to https://doc.coreboot.org/. Contributions welcome!
This page describes how to use coreboot on the Lenovo G505S mainboard.
This page is a work in progress. ACPI is still being worked on, however due to the nature of ACPI it may take some time to get this right.
Contents
Known Issues
- S3 Suspend/Resume - You will need a Console verbosity set to at least "BIOS_INFO" or greater for it to work!
Coreboot is likely too fast for the Embedded Controller firmware on the S3 resume hot path.
Overview
Hardware
- AMD A-series AMD A10-5750M APU
- AMD AGESA Hudson part of the chipset, AMD AGESA Hudson southbridge
- ENE KB9012 EC However we use the ENE932 EC driver in coreboot's tree.
Details
...
- 1x MXIC MX25L1606E (SO8, soldered) 16 Mbit SPI flash (BIOS)
Building a coreboot image
Make a fresh clone of Coreboot into a empty directory and run:
make crossgcc-i386
Make a cup of tea.. Then run:
make menuconfig
and select Lenovo/G505S under "Mainboard -> Mainboard vendor/model" leaving everything else as defaults. Then finally do,
make
To flash the board with flashrom run:
flashrom -p ft2232_spi:type=2232H,port=A -c "MX25L1605A/MX25L1606E" -w build/coreboot.rom
assuming you have a SPI flasher setup.
Status
Device/functionality | Status | Comments | ||||||
---|---|---|---|---|---|---|---|---|
CPU | ||||||||
CPU works | OK | |||||||
L1 cache enabled | OK | Always on | ||||||
L2 cache enabled | OK | Always on | ||||||
L3 cache enabled | N/A | |||||||
Multiple CPU support | N/A | |||||||
Multi-core support | N/A | |||||||
Hardware virtualization | OK | |||||||
RAM | ||||||||
EDO | N/A | |||||||
SDRAM | N/A | |||||||
SO-DIMM | N/A | |||||||
DDR | N/A | |||||||
DDR2 | N/A | |||||||
DDR3 | OK | Tested with 4GB two-rank module. | ||||||
Dual channel support | N/A | |||||||
ECC support | ? | |||||||
On-board Hardware | ||||||||
On-board IDE 3.5" | N/A | |||||||
On-board IDE 2.5" | N/A | |||||||
On-board SATA | OK | |||||||
On-board SCSI | N/A | |||||||
On-board USB | OK | |||||||
On-board VGA | OK | BIOS/console: works. | ||||||
On-board Ethernet | OK | |||||||
On-board Audio | OK | Basic two channel audio works fine. | ||||||
On-board Modem | N/A | |||||||
On-board FireWire | N/A | |||||||
On-board Smartcard reader | N/A | |||||||
On-board CompactFlash | N/A | |||||||
On-board PCMCIA | N/A | |||||||
On-board Wifi | N/A | |||||||
On-board Bluetooth | N/A | |||||||
On-board SD card reader | N/A | |||||||
Add-on slots/cards | ||||||||
ISA add-on cards | N/A | |||||||
Audio/Modem-Riser (AMR/CNR) cards | N/A | |||||||
PCI add-on cards | OK | |||||||
Mini-PCI add-on cards | N/A | |||||||
Mini-PCI-Express add-on cards | Unknown | |||||||
PCI-X add-on cards | N/A | |||||||
AGP graphics cards | N/A | |||||||
PCI Express x1 add-on cards | OK | miniPCIe slot works, mSATA/miniPCIe slot does not!? | ||||||
PCI Express x2 add-on cards | N/A | |||||||
PCI Express x4 add-on cards | N/A | |||||||
PCI Express x8 add-on cards | N/A | |||||||
PCI Express x16 add-on cards | N/A | |||||||
PCI Express x32 add-on cards | N/A | |||||||
HTX add-on cards | N/A | |||||||
Legacy / Super I/O | ||||||||
Floppy | N/A | |||||||
Serial port 1 (COM1) | OK | |||||||
Serial port 2 (COM2) | N/A | |||||||
Parallel port | N/A | |||||||
PS/2 keyboard | OK | |||||||
PS/2 mouse | OK | |||||||
Game port | N/A | |||||||
Infrared | Untested | CIR header currently turned off in devicetree.cb | ||||||
PC speaker | OK | |||||||
DiskOnChip | N/A | |||||||
Input | ||||||||
Trackpoint | N/A | |||||||
Touchpad | N/A | |||||||
Fn Hotkeys | N/A | |||||||
Fingerprint Reader | N/A | |||||||
Laptop | ||||||||
Docking VGA | N/A | |||||||
Docking LAN | N/A | |||||||
Docking USB | N/A | |||||||
Docking Audio | N/A | |||||||
Docking Displayport | N/A | |||||||
Thinklight | N/A | |||||||
Webcam | N/A | |||||||
Miscellaneous | ||||||||
Sensors / fan control | OK | |||||||
Hardware watchdog | Pending | What needs to be done here?? | ||||||
SMBus | OK | |||||||
CAN bus | N/A | |||||||
CPU frequency scaling | OK | |||||||
Other powersaving features | N/A | |||||||
ACPI | WIP | Mostly working, needs a good Review! | ||||||
Reboot | OK | |||||||
Poweroff | OK | |||||||
Suspend | OK | |||||||
Nonstandard LEDs | N/A | |||||||
High precision event timers (HPET) | OK | |||||||
Random number generator (RNG) | OK | |||||||
Wake on modem ring | N/A | |||||||
Wake on LAN | Untested | |||||||
Wake on keyboard | Untested | |||||||
Wake on mouse | Untested | |||||||
TPM | Unknown | |||||||
Flashrom | OK | MXIC MX25L1606E 2MB SPI Flash |
Issue Analysis
...
Coreboot boot log
See [1] for a recent log.
![]() |
I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.
In case this is not legally possible: |