<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 20, 2014 at 1:01 PM, Rafael Vanoni <span dir="ltr"><<a href="mailto:rafael.vanoni@pluribusnetworks.com" target="_blank">rafael.vanoni@pluribusnetworks.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>Take serial number, for example. I'd like each different system that I build to have its own serial number, and building coreboot for every serial number doesn't scale.<br>


</div></blockquote><div><br></div><div>You might want to check out the VPD  spec for ChromeOS devices: <a href="https://docs.google.com/document/d/1d2l5obmBYxgaJQvltEJD-oiLTb0M-RXG-pujG5VDa_A/pub" target="_blank">https://docs.google.com/document/d/1d2l5obmBYxgaJQvltEJD-oiLTb0M-RXG-pujG5VDa_A/pub</a></div>


<div><br></div><div>Essentially what we do is reserve a region (or two) in the firmware ROM to store an SMBIOS table with an added OEM-type table. That table stores data that's useful for manufacturing and RMAs, but can be used for other product-specific data such as ethernet MAC for some devices (coreboot/src/mainboard/google/butterfly/mainboard.c, for example), wifi antennae and display calibration info, initial language setting, etc. The utility to manage it is here: <a href="http://git.chromium.org/gitweb/?p=chromiumos/platform/vpd.git;a=summary" target="_blank">http://git.chromium.org/gitweb/?p=chromiumos/platform/vpd.git;a=summary</a></div>


<div><br></div><div>It should be easy to use this to populate SMBIOS tables in memory. Let me know if this looks useful, I'm sure there are some better docs floating around somewhere...</div><div><br></div><div>That said, I should point out that the scheme used on Chromebooks is designed explicitly to avoid exposing any information that can be traced to an individual machine. One must switch over to developer mode in order to access anything beyond what is exposed in chrome://system. Here's an example:</div>

"initial_locale"="en-US"</div><div class="gmail_quote">"initial_timezone"="America/Los_Angeles"</div><div class="gmail_quote">"keyboard_layout"="xkb:us::eng"</div>

<div class="gmail_quote">"model_name"="TOSHIBA CB35-A"</div><div class="gmail_quote">"region"="us"</div><div class="gmail_quote">"sku_number"="PLM01U-002005"</div>

<div class="gmail_quote">"ActivateDate"="2014-17"<br></div></div></div>