[coreboot] Have a anyidea? that change the serial number of DMI?

Taiidan at gmx.com Taiidan at gmx.com
Wed Mar 29 10:18:43 CEST 2017


On 03/29/2017 03:51 AM, 김유석 wrote:

> Dear Sir.
>
>
> Currently,
>
> I was successed the read a serial number, and product name useded the 
> DMI, in kernel space and user space.
>
> - kernel space.
>
>   use the "dmi_get_system_info()"
>
> - user space
>
>   use the "dmidecode"
>
> - coreboot space
>
>   I don't know any soultion.
>
>
> READ is OK.
>
> But, i want to write or chage the serial number.
> But, i can't found the any solution.
>
> I try to find the some API in kernel source tree. for example) grep 
> "dmi_set" * -Rn
> But can't found the API.
>
> *Question.*
>  How to write or change the serial number using DMI? in kernel or in 
> userspace or in coreboot?
>
>
> Thank you.

I am not entirely sure what you want - but if you use menuconfig the 
regular option to set a serial number is:

MAINBOARD_SERIAL_NUMBER under "System Tables"
You have to have "Generate SMBIOS Tables" enabled as well.

AFAIK it is not currently possible to dynamically update it.



More information about the coreboot mailing list