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.
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.