Hi Fabian,
It was ported to older intel architectures by Nicola Corna here : https://review.coreboot.org/#/c/21107/ I don't know what would need to be done to port it to work with amd, but in theory, all it needs is for the chipset to support SPI operations. If it can read and write to the spi flash for the purposes of the mrc.cache, then it should be easy to make it work. The real work to port it to other architectures was pretty much only to make sure the spi controller doesn't use global variables so it could be included in the bootblock and romstage.
Good luck. Youness.
On Fri, Sep 15, 2017 at 12:40 PM, Fabian coreboot@bufa.info wrote:
Hi everyone,
I try to get coreboot run on my H8SCM. Sadly I get no log over serial or USB. So I want to give SPI console a try. It seems to be a very new feature introduced here [1].
When I compile coreboot it fails with this warning: warning: (CPU_SPECIFIC_OPTIONS && CPU_SPECIFIC_OPTIONS && CPU_SPECIFIC_OPTIONS && CPU_SPECIFIC_OPTIONS && CONSOLE_SPI_FLASH) selects BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY which has unmet direct dependencies (SPI_FLASH && BOOT_DEVICE_SPI_FLASH_RW_NOMMAP)
As written in [1] it's only tested for Skylake. How much effort is necessary to port it to my board? Are there more Information about SPI console? Or is there an other way to get log from my board?
One more question to the AMD experts: There are two motherboard models "H8SCM" and "H8SCM (Fam10)". Whats the difference?
Greetings, Fabian
[1] https://mail.coreboot.org/pipermail/coreboot/2017-June/084538.html
-- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot