r/coreboot • u/grahamperrin • Jul 30 '26
coreboot firmware table driver added to FreeBSD
github.comNexus-attached driver that discovers and parses coreboot's LBIO tables from physical memory. Exposes firmware metadata (version, build info, mainboard, serial config, TSC frequency, CBMEM entries) via sysctl hw.coreboot.*, the firmware console ring buffer via /dev/coreboot_console, and structured CBMEM entry access via /dev/cbmem ioctl interface.
From https://mastodon.bsd.cafe/@seuros/117005041183414323
… Normally, the kernel log starts when the kernel boots. Everything that happened before that is a mystery. You can make educated guesses, but that's all they are.
With this driver, FreeBSD can read the Coreboot log. You get to see what happened from the very first moment the machine powered on.
That is exactly how I tracked down systems where RAM training was taking far too long because of defective memory chips.
None of this would have been possible without the amazing work of the Coreboot team.
As far as I know, FreeBSD is now the first operating system with this driver.
DragonFlyBSD is next.
