[coreboot] How to pass custom defined data from Coreboot to GRUB2

Stefan Reinauer stefan.reinauer at coreboot.org
Thu Oct 6 22:31:50 CEST 2016


* Mohan Shanmuga Sundaram <mohan.sundaram at aricent.com> [161005 09:55]:
> Paul, Thanks for the info!
> I looked into CBTABLES, but cannot understand others than CMOS table. It looks simple to me to use CMOS table that I have to define some region for user data in the 'cmos.layout' and use it at GRUB or Ubuntu Linux. But where does CMOS tables really reside? On the boot flash or DDR3?
> 
> Regards,
> Mohan

Hi Mohan,

check out lib/coreboot_table.c:lb_gpios() - This is what Chrome OS
devices use to pass GPIO information to the payload. It might be usable
for the problem you are trying to solve.

Stefan




More information about the coreboot mailing list