Re: [coreboot] Finding whether the BIOS is coreboot or not

2015-07-31 Thread Stefan Reinauer
* ron minnich rminn...@gmail.com [150718 18:10]:
 Could you also look for LBIO in the e and f segments?

Since we moved the coreboot tables out of e and f you won't find
anything like that anymore.

1. Use cbmem tool
2. Dump coreboot table with nvramtool
3. dmidecode
4. ACPI table vendor
5. flashrom -r and check the image for CBFS, ID and master header

Stefan

 On Sat, Jul 18, 2015 at 12:34 AM Patrick Georgi pgeo...@google.com wrote:
 
 2015-07-18 9:03 GMT+02:00 Kevin Wilson wkev...@gmail.com:
  Is there a way, from a device running Linux,  to which I have access
  to the command line, to know
  whether the BIOS is coreboot or not ? by some utility, or by some sysfs
 entry ?
 We usually have coreboot related vendor names for ACPI tables (eg.
 dsdt table id 'COREBOOT'). Those are visible early on in dmesg, I
 think.
 Also our cbmem utility (coreboot source tree, util/cbmem) can print a
 coreboot specific table's content.
 
 Neither of these are guaranteed to be around (it would be possible to
 cloak things thoroughly), but it's likely that they are on coreboot,
 and pretty much non-existent otherwise.
 
 
 Patrick
 --
 Google Germany GmbH, ABC-Str. 19, 20354 Hamburg
 Registergericht und -nummer: Hamburg, HRB 86891, Sitz der Gesellschaft:
 Hamburg
 Geschäftsführer: Graham Law, Christine Elizabeth Flores
 
 --
 coreboot mailing list: coreboot@coreboot.org
 http://www.coreboot.org/mailman/listinfo/coreboot
 

 -- 
 coreboot mailing list: coreboot@coreboot.org
 http://www.coreboot.org/mailman/listinfo/coreboot


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] Finding whether the BIOS is coreboot or not

2015-07-25 Thread Andreas Kreuzinger
Hi,

* Kevin Wilson wkev...@gmail.com [2015-07-18 10:03]:
 Is there a way, from a device running Linux,  to which I have access
 to the command line, to know
 whether the BIOS is coreboot or not ? by some utility, or by some sysfs entry 
 ?

Yes, if you have dmidecode present:
ctvdr:~# dmidecode -t bios | grep Vendor
Vendor: coreboot

Probably it might be possible to set it to something else, but that
seems to be the default.

@ndy


signature.asc
Description: Digital signature
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] Finding whether the BIOS is coreboot or not

2015-07-19 Thread Andreas Kreuzinger
Hi,

[ Please don't send an extra mail to me, I'm on the mailing list.
  And try to avoid TOFU. Thank you. ]

* Kevin Wilson wkev...@gmail.com [2015-07-19 07:45]:
 Thanks for all the responses.
 Short questions:
 I saw. on my system::
 cat  /sys/class/dmi/id/bios_vendor
 coreboot
 
 Is it equivalent to
 dmidecode -t bios | grep Vendor
 Vendor: coreboot
 
 What I mean is: does dmidecode in fact read the
 /sys/class/dmi/id/bios_vendor  entry?
[...snip...]

Seems so:
ctvdr:~# cat /sys/class/dmi/id/bios_vendor
coreboot

Let's take a different example:
erwin:~# dmidecode -t bios | grep Vendor
Vendor: Award Software International, Inc.
erwin:~# cat /sys/class/dmi/id/bios_vendor
Award Software International, Inc.

If you want to be sure, verify with the dmidecode source code.

BTW: I found a shorter dmidecode command line:
ctvdr:~# dmidecode -s bios-vendor
coreboot

@ndy

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


[coreboot] Finding whether the BIOS is coreboot or not

2015-07-18 Thread Kevin Wilson
Hello,
Is there a way, from a device running Linux,  to which I have access
to the command line, to know
whether the BIOS is coreboot or not ? by some utility, or by some sysfs entry ?

Regards,
Kevin

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] Finding whether the BIOS is coreboot or not

2015-07-18 Thread Patrick Georgi
2015-07-18 9:03 GMT+02:00 Kevin Wilson wkev...@gmail.com:
 Is there a way, from a device running Linux,  to which I have access
 to the command line, to know
 whether the BIOS is coreboot or not ? by some utility, or by some sysfs entry 
 ?
We usually have coreboot related vendor names for ACPI tables (eg.
dsdt table id 'COREBOOT'). Those are visible early on in dmesg, I
think.
Also our cbmem utility (coreboot source tree, util/cbmem) can print a
coreboot specific table's content.

Neither of these are guaranteed to be around (it would be possible to
cloak things thoroughly), but it's likely that they are on coreboot,
and pretty much non-existent otherwise.


Patrick
-- 
Google Germany GmbH, ABC-Str. 19, 20354 Hamburg
Registergericht und -nummer: Hamburg, HRB 86891, Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] Finding whether the BIOS is coreboot or not

2015-07-18 Thread Marc Jones
My $.02 is to check dmidecode.
Marc


On Sat, Jul 18, 2015 at 10:11 AM ron minnich rminn...@gmail.com wrote:

 Could you also look for LBIO in the e and f segments?

 On Sat, Jul 18, 2015 at 12:34 AM Patrick Georgi pgeo...@google.com
 wrote:

 2015-07-18 9:03 GMT+02:00 Kevin Wilson wkev...@gmail.com:
  Is there a way, from a device running Linux,  to which I have access
  to the command line, to know
  whether the BIOS is coreboot or not ? by some utility, or by some sysfs
 entry ?
 We usually have coreboot related vendor names for ACPI tables (eg.
 dsdt table id 'COREBOOT'). Those are visible early on in dmesg, I
 think.
 Also our cbmem utility (coreboot source tree, util/cbmem) can print a
 coreboot specific table's content.

 Neither of these are guaranteed to be around (it would be possible to
 cloak things thoroughly), but it's likely that they are on coreboot,
 and pretty much non-existent otherwise.


 Patrick
 --
 Google Germany GmbH, ABC-Str. 19, 20354 Hamburg
 Registergericht und -nummer: Hamburg, HRB 86891, Sitz der Gesellschaft:
 Hamburg
 Geschäftsführer: Graham Law, Christine Elizabeth Flores

 --
 coreboot mailing list: coreboot@coreboot.org
 http://www.coreboot.org/mailman/listinfo/coreboot

 --
 coreboot mailing list: coreboot@coreboot.org
 http://www.coreboot.org/mailman/listinfo/coreboot
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] Finding whether the BIOS is coreboot or not

2015-07-18 Thread Andreas Kreuzinger
Hi,

* Kevin Wilson wkev...@gmail.com [2015-07-18 10:03]:
 Is there a way, from a device running Linux,  to which I have access
 to the command line, to know
 whether the BIOS is coreboot or not ? by some utility, or by some sysfs entry 
 ?

Yes, if you have dmidecode present:
ctvdr:~# dmidecode -t bios | grep Vendor
Vendor: coreboot

Probably it might be possible to set it to something else, but that 
seems to be the default.

@ndy


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] Finding whether the BIOS is coreboot or not

2015-07-18 Thread ron minnich
Could you also look for LBIO in the e and f segments?

On Sat, Jul 18, 2015 at 12:34 AM Patrick Georgi pgeo...@google.com wrote:

 2015-07-18 9:03 GMT+02:00 Kevin Wilson wkev...@gmail.com:
  Is there a way, from a device running Linux,  to which I have access
  to the command line, to know
  whether the BIOS is coreboot or not ? by some utility, or by some sysfs
 entry ?
 We usually have coreboot related vendor names for ACPI tables (eg.
 dsdt table id 'COREBOOT'). Those are visible early on in dmesg, I
 think.
 Also our cbmem utility (coreboot source tree, util/cbmem) can print a
 coreboot specific table's content.

 Neither of these are guaranteed to be around (it would be possible to
 cloak things thoroughly), but it's likely that they are on coreboot,
 and pretty much non-existent otherwise.


 Patrick
 --
 Google Germany GmbH, ABC-Str. 19, 20354 Hamburg
 Registergericht und -nummer: Hamburg, HRB 86891, Sitz der Gesellschaft:
 Hamburg
 Geschäftsführer: Graham Law, Christine Elizabeth Flores

 --
 coreboot mailing list: coreboot@coreboot.org
 http://www.coreboot.org/mailman/listinfo/coreboot
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] Finding whether the BIOS is coreboot or not

2015-07-18 Thread Kevin Wilson
Hi,
Thanks for all the responses.
Short questions:
I saw. on my system::
cat  /sys/class/dmi/id/bios_vendor
coreboot

Is it equivalent to
dmidecode -t bios | grep Vendor
Vendor: coreboot

What I mean is: does dmidecode in fact read the
/sys/class/dmi/id/bios_vendor  entry?


Regard,
Kevin


On Sat, Jul 18, 2015 at 11:14 PM, Andreas Kreuzinger
a_coreb...@skater.priv.at wrote:
 Hi,

 * Kevin Wilson wkev...@gmail.com [2015-07-18 10:03]:
 Is there a way, from a device running Linux,  to which I have access
 to the command line, to know
 whether the BIOS is coreboot or not ? by some utility, or by some sysfs 
 entry ?

 Yes, if you have dmidecode present:
 ctvdr:~# dmidecode -t bios | grep Vendor
 Vendor: coreboot

 Probably it might be possible to set it to something else, but that
 seems to be the default.

 @ndy


 --
 coreboot mailing list: coreboot@coreboot.org
 http://www.coreboot.org/mailman/listinfo/coreboot

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot