Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wistron.com (client-ip=103.200.3.19; helo=segapp01.wistron.com; envelope-from=andy_yf_wang@wistron.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=wistron.com Received: from segapp01.wistron.com (segapp02.wistron.com [103.200.3.19]) by lists.ozlabs.org (Postfix) with ESMTP id 49T3QF3Wp2zDqvT for ; Fri, 22 May 2020 20:58:57 +1000 (AEST) Received: from EXCHAPP04.whq.wistron (unverified [10.37.38.27]) by TWNHUMSW2.wistron.com (Clearswift SMTPRS 5.6.0) with ESMTP id ; Fri, 22 May 2020 18:58:50 +0800 Received: from EXCHAPP01.whq.wistron (10.37.38.24) by EXCHAPP04.whq.wistron (10.37.38.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Fri, 22 May 2020 18:58:47 +0800 Received: from EXCHAPP01.whq.wistron ([fe80::bd29:5a96:46fd:7d55]) by EXCHAPP01.whq.wistron ([fe80::bd29:5a96:46fd:7d55%10]) with mapi id 15.01.1913.007; Fri, 22 May 2020 18:58:47 +0800 From: To: CC: , Subject: Implement a tool of flashing EEPROM to update the VPD data Thread-Topic: Implement a tool of flashing EEPROM to update the VPD data Thread-Index: AdYwI7wu+V2UgGzTQASxIDHO1K+NkA== Date: Fri, 22 May 2020 10:58:47 +0000 Message-ID: <51a2ff58a34b423d94520f6703ecdaee@wistron.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.37.38.230] x-tm-snts-smtp: 4A086E6F94F41890C3E147B5C1F7735087E2CEB69B5B38C182778C71C6A4C3152000:8 Content-Type: multipart/alternative; boundary="_000_51a2ff58a34b423d94520f6703ecdaeewistroncom_" MIME-Version: 1.0 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2020 10:59:03 -0000 --_000_51a2ff58a34b423d94520f6703ecdaeewistroncom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Santosh, > Which VPD format are you interested in updating? I'm interested in OpenPower VPD format update. > Assuming you are using the OpenPower VPD format, there is a tool being im= plemented in the series of patches here: https://gerrit.openbmc-project.xyz/c/openbmc/openpower-vpd-parser/ /30239 Ok, that's great! I'll study this repository. My initial idea is using this tool (API) to update the MAC, BMC's PartNumbe= r, BMC's SerialNumber and BMC's PrettyName of the VPD data on EEPROM. Then update the VPD data by filling in the Json file. The API reads the data in Json and writes to the EEPROM to update the VPD. The above is my initial idea, I would like to ask you whether this is feasi= ble? Or do you have any concern for this idea? Thanks Andy YF Wang+ ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------- This email contains confidential or legally privileged information and is f= or the sole use of its intended recipient.=20 Any unauthorized review, use, copying or distribution of this email or the = content of this email is strictly prohibited. If you are not the intended recipient, you may reply to the sender and shou= ld delete this e-mail immediately. ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------- --_000_51a2ff58a34b423d94520f6703ecdaeewistroncom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Santosh,

 

> Which VPD format are you i= nterested in updating?

I’m interested in OpenPow= er VPD format update.

 

> Assuming you are using the= OpenPower VPD format, there is a tool being implemented in the series of p= atches here:

https://gerrit.openbmc-project.= xyz/c/openbmc/openpower-vpd-parser/ /30239

 

Ok, that's great!

I'll study this repository.

My initial idea is using this t= ool (API) to update the MAC, BMC's PartNumber, BMC's SerialNumber and BMC's= PrettyName of the VPD data on EEPROM.

Then update the VPD data by fil= ling in the Json file.

The API reads the data in Json = and writes to the EEPROM to update the VPD.

The above is my initial idea, I= would like to ask you whether this is feasible?
Or do you have any concern for this idea?
Thanks

 

 

Andy YF Wang+

= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------

= This email contains confidential or legally privileged information and is f= or the sole use of its intended recipient.

= Any unauthorized review, use, copying or distribution of this email or the = content of this email is strictly prohibited.

= If you are not the intended recipient, you may reply to the sender and shou= ld delete this e-mail immediately.

= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------

--_000_51a2ff58a34b423d94520f6703ecdaeewistroncom_--