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
-----Original Message----- From: Paul Menzel [mailto:paulepanter@users.sourceforge.net] Sent: Monday, October 03, 2016 7:11 PM To: Mohan Shanmuga Sundaram mohan.sundaram@aricent.com Cc: coreboot@coreboot.org Subject: Re: [coreboot] How to pass custom defined data from Coreboot to GRUB2
Dear Mohan,
Am Montag, den 03.10.2016, 11:06 +0000 schrieb Mohan Shanmuga Sundaram:
I have a requirement to pass the state value of a GPIO (on Intel ATOM Baytrail SoC) from Coreboot to GRUB2. Based on this GPIO state, I would script the GRUB2 to configuration to select an alternative OS from the GRUB menu list. Is there a facility to pass this custom defined data from Coreboot to GRUB2?
I suggest to use CBTABLES for that. GRUB also can read that.
Thanks,
Paul
[1] grub-core/kern/i386/coreboot/cbtable.c
PS: Please note, that coreboot is written all lowercase. PPS: Please don’t add the disclaimer to the end of your messages. PPPS: Please just send plain text messages, and no HTML ones. "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."