Re: [PATCH 2/2] firmware: coreboot: Export active CBFS partition

2019-10-10 Thread patrick . rudolph
On Wed, 2019-10-09 at 14:19 -0700, Julius Werner wrote: > > Somehow we've gotten /sys/firmware/log to be the coreboot log, and > > quite > > frankly that blows my mind that this path was accepted upstream. > > Userspace has to know it's running on coreboot firmware to know > > that > > /sys/firmwar

[PATCH 1/2] firmware: coreboot: Export the binary FMAP

2019-10-08 Thread patrick . rudolph
From: Patrick Rudolph Expose coreboot's binary FMAP[1] to /sys/firmware/fmap. coreboot copies the FMAP to a CBMEM buffer at boot since CB:35377[2], allowing an architecture independ way of exposing the FMAP to userspace. Will be used by fwupd[3] to determine the current firmware layout

[PATCH 2/2] firmware: coreboot: Export active CBFS partition

2019-10-08 Thread patrick . rudolph
From: Patrick Rudolph Expose the name of the active CBFS partition under /sys/firmware/cbfs_active_partition In case of Google's VBOOT[1] that currently can be one of: "FW_MAIN_A", "FW_MAIN_B" or "COREBOOT" Will be used by fwupd[2] to determinde the active p