Re: [coreboot] setting smbios values from the OS

2014-06-20 Thread Rafael Vanoni

On 06/20/2014 01:25 AM, Peter Stuge wrote:

Rafael Vanoni wrote:

Please explain why you want to modify these values at run time?


Like I said in a previous post, I'd like to set fields like version,
serial number on a per system basis.


That's not the why, that's the what. Indeed you already wrote what
you want.

I'm asking *why* you want it, because what you ask for doesn't make
sense, so either I don't understand your situation (not at all unlikely)
or there might be a better approach to get what you want (also possible).



This is partially an experiment, fwiw.


Again, why modify the values at run time?

Why isn't setting these values at build time enough?


Kind regards

//Peter



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.


Thanks,
Rafael




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


Re: [coreboot] setting smbios values from the OS

2014-06-19 Thread Rafael Vanoni

On 06/17/2014 01:12 AM, Christian Gmeiner wrote:

2014-06-16 19:05 GMT+02:00 Rafael Vanoni rafael.van...@pluribusnetworks.com:

On 06/13/2014 09:40 AM, Marc Jones wrote:


Rafael,

i don't think that you can update them once the OS loads. The OS would
have already made decisions based on the settings.

Marc


On Tue, Jun 10, 2014 at 7:41 PM, Rafael Vanoni
rafael.van...@pluribusnetworks.com wrote:


Hi folks, first time posting here. I was wondering if it would be
possible
to modify smbios values once a system is up and running. Has anyone ever
looked into that? If not, any pointers on how to implement this would be
greatly appreciated. I'm fairly new to coreboot but would like to look
into
this.

This is with coreboot + seabios, btw.

Thanks,
Rafael





Hi Marc,

That's true, but my intention is to modify more 'informational' fields like
version, sn, etc. Nothing that would break the OS.



Wrong: http://lxr.free-electrons.com/ident?i=DMI_MATCH

You can modify dmi values in coreboot - see bachmann/ot205

greets
--
Christian Gmeiner, MSc

https://soundcloud.com/christian-gmeiner





Ok, is there a tool or library to edit DMI values ?

Thanks,
Rafael







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


Re: [coreboot] setting smbios values from the OS

2014-06-19 Thread Rafael Vanoni

On 06/19/2014 12:25 PM, Peter Stuge wrote:

Rafael Vanoni wrote:

is there a tool or library to edit DMI values ?


No.

Please explain why you want to modify these values at run time?


//Peter




Like I said in a previous post, I'd like to set fields like version, 
serial number on a per system basis. This is partially an experiment, fwiw.


Thanks,
Rafael

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


Re: [coreboot] setting smbios values from the OS

2014-06-16 Thread Rafael Vanoni

On 06/13/2014 09:40 AM, Marc Jones wrote:

Rafael,

i don't think that you can update them once the OS loads. The OS would
have already made decisions based on the settings.

Marc


On Tue, Jun 10, 2014 at 7:41 PM, Rafael Vanoni
rafael.van...@pluribusnetworks.com wrote:

Hi folks, first time posting here. I was wondering if it would be possible
to modify smbios values once a system is up and running. Has anyone ever
looked into that? If not, any pointers on how to implement this would be
greatly appreciated. I'm fairly new to coreboot but would like to look into
this.

This is with coreboot + seabios, btw.

Thanks,
Rafael





Hi Marc,

That's true, but my intention is to modify more 'informational' fields 
like version, sn, etc. Nothing that would break the OS.


Thanks,
Rafael


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


[coreboot] setting smbios values from the OS

2014-06-10 Thread Rafael Vanoni
Hi folks, first time posting here. I was wondering if it would be 
possible to modify smbios values once a system is up and running. Has 
anyone ever looked into that? If not, any pointers on how to implement 
this would be greatly appreciated. I'm fairly new to coreboot but would 
like to look into this.


This is with coreboot + seabios, btw.

Thanks,
Rafael


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