Hi,flyingfishfinger wrote: ↑Fri Jul 26, 2019 12:56 pmWow this sounds awesome! Have Matthew's changes been merged into coreboot master? His own Github master latest is 3 months old...harryK wrote: ↑Fri Jul 26, 2019 4:54 amHi,
I updated the coreboot image syncing it with the latest coreboot source, which contains Matthew's patch to enable EPB. I also enabled SATA ALPM and Dev Sleep and a couple of other things for power saving, and included the latest CPU microcode from Intel. BTW note that this version of coreboot sets the TDP to 25W / 44W. It should also be possible to undervolt the processor, but I don't know how
Since I want to build my own version with SeaBIOS & Tinycore Linux as a payload (!), can you give some tips as to what specific power saving things you've enabled and how to do the Intel microcode update? I've done a build of coreboot before but not to this level of customization so might need some guidance here.
Unless they're named differently in Menuconfig, the actual .config file makes no mention of Dev Sleep and ALPM, for example. Where are these options usually configured?
Thanks,
R
all these things are in src/mainboard/51nb/x210/devicetree.cb My changes can be seen here: https://github.com/mjg59/coreboot/compa ... 2eae28c511
It's essentially
- SATA ALPM + DevSleep
- PCI CLKREQ (afaik, that stops the pci clocks when idle)
- PCI ASPM L1 substates (except for nvme - for some reason that doesn't work)
- s0ix States - should save power at runtime to those lucky enough to have a screen capable of psr and reaching PC10 (https://01.org/blogs/qwang59/2018/how-a ... ates-linux)
Alternatively, you could clone the coreboot master repository and copy src/mainboard/51nb and src/ec/51nb from Matthew's repo or mine. The .config file is in my repo, or you can pull it from a compiled coreboot image with
Code: Select all
grep -a CONFIG_ coreboot.rom > .config