From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69C7CC388F7 for ; Fri, 6 Nov 2020 01:27:19 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9715920759 for ; Fri, 6 Nov 2020 01:27:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9715920759 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CS2n00GVTzDrB0 for ; Fri, 6 Nov 2020 12:27:16 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.intel.com (client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=yong.b.li@linux.intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CS2lV2qcPzDr7l for ; Fri, 6 Nov 2020 12:25:56 +1100 (AEDT) IronPort-SDR: xO7n8J9VC6zyMuuJLo0LEZGp7Kb3KhvgLf8JktkrkG4Ek3msbtw0pWERR4BQbKtH4eb9dTE2U6 o08gL4Mj/qRQ== X-IronPort-AV: E=McAfee;i="6000,8403,9796"; a="169597233" X-IronPort-AV: E=Sophos;i="5.77,454,1596524400"; d="scan'208,217";a="169597233" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2020 17:25:53 -0800 IronPort-SDR: 7X6v9sOW++lvRoY/xVbLd4zX3403zxwXeocujg/KOhIDRDVPLEQNEDKPpGHcsiIAjvkymwmDgD IAD5KbHYx9Wg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,454,1596524400"; d="scan'208,217";a="528167798" Received: from linux.intel.com ([10.54.29.200]) by fmsmga006.fm.intel.com with ESMTP; 05 Nov 2020 17:25:53 -0800 Received: from yongli3MOBL1 (yongli3-MOBL1.ccr.corp.intel.com [10.238.12.197]) by linux.intel.com (Postfix) with ESMTP id 7D4BE580841; Thu, 5 Nov 2020 17:25:51 -0800 (PST) From: "Yong Li" To: =?iso-2022-jp?B?J0JydWNlIExlZSAoGyRCTXt6ND1UGyhCKSc=?= , , , References: In-Reply-To: Subject: RE: Please help provide some examples for how to use smbios-mdr via intel-ipmi-oem Date: Fri, 6 Nov 2020 09:25:50 +0800 Message-ID: <003f01d6b3db$c4440490$4ccc0db0$@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0040_01D6B41E.D267E0D0" X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQEa3FXvdEiRqvs0iqCzyPwKXgD2EKsx/o6w Content-Language: en-us dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows 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: , Cc: openbmc@lists.ozlabs.org Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" This is a multipart message in MIME format. ------=_NextPart_000_0040_01D6B41E.D267E0D0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit The below example? https://github.com/openbmc/intel-ipmi-oem/blob/master/src/smbiosmdrv2handler .cpp#L1211 Thanks, Yong From: openbmc On Behalf Of Bruce Lee (???) Sent: Thursday, November 5, 2020 2:30 PM To: cheng.c.yang@linux.intel.com; yugang.chen@linux.intel.com; kuiying.wang@intel.com Cc: openbmc@lists.ozlabs.org Subject: Please help provide some examples for how to use smbios-mdr via intel-ipmi-oem Hi all, Please help provide some examples for how to use smbios-mdr via intel-ipmi-oem, maybe it’s a lots series intel-ipmi-oem, I want to know how to send a smbios file via function ‘storeDatatoFlash’ and then smbios-mdr functions will to read smbios file via function ‘readDataFromFlash’ below links is reference from upstream, https://github.com/openbmc/smbios-mdr https://github.com/openbmc/intel-ipmi-oem thanks, Bruce. ------=_NextPart_000_0040_01D6B41E.D267E0D0 Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable

The below = example?

https://github.com/openbmc/intel-ipmi-oem/blob/mas= ter/src/smbiosmdrv2handler.cpp#L1211

 

Thanks,<= /span>

Yong

From: openbmc = <openbmc-bounces+yong.b.li=3Dlinux.intel.com@lists.ozlabs.org> = On Behalf Of Bruce Lee (???)
Sent: Thursday, November = 5, 2020 2:30 PM
To: cheng.c.yang@linux.intel.com; = yugang.chen@linux.intel.com; kuiying.wang@intel.com
Cc: = openbmc@lists.ozlabs.org
Subject: Please help provide some = examples for how to use smbios-mdr via = intel-ipmi-oem

 

Hi = all,

 

Please help provide some examples for how to use = smbios-mdr via intel-ipmi-oem,

maybe = it=1B$B!G=1B(Js a lots series intel-ipmi-oem,

I want to know how to send a smbios file via function = =1B$B!F=1B(JstoreDatatoFlash=1B$B!G=1B(J

and then smbios-mdr functions will to read smbios file = via function =1B$B!F=1B(JreadDataFromFlash=1B$B!G=1B(J

 

below links = is reference from upstream,

https://github.com/openbmc= /smbios-mdr

https://github.com/ope= nbmc/intel-ipmi-oem

 

thanks,

Bruce.

------=_NextPart_000_0040_01D6B41E.D267E0D0--