Consider packaging cbmem for pureOS.
cbmem is a package that allow to pull relevant coreboot logs for troubleshooting. This is useful for the support team to assist in troubleshooting coreboot and pureboot issues with librem laptops. And to provide information for the coreboot team to act on reported issues.
Currently the method that the support team has to direct users to use cbmem is to instruct them to download the binary manually and run it. Which is not the best option.
- cbmem is not an standalone software project with it's own source, it is a binary artifact generated in the process building the coreboot images for Librem laptops
- it would need update with each new coreboot image release
- we still need to verify if there are no third party dependencies that might be problematic.
A copy of cbmem can be found here: https://source.puri.sm/firmware/releases/-/blob/master/tools/cbmem.gz
To run it:
- Download and unzip it
- From the same directory run: sudo ./cbmem -1 > cbmem.log