Skip to contentSkip to conversation

openbmc Digest, Vol 31, Issue 6

DISCUSSION Chandrasekar R 2 participants 2 messages Mar 6, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Ed,

We, from American Megatrends, would like to participate in OpenBMC Redfish Working Group discussions. We were able to join the call through phone yesterday from OpenBMC Github Wiki link. But we did not have skype/lync access URL in that Wiki. Is it possible for you to share it?

Thanks
Chandrasekar Rathineswaran
American Megatrends Inc.
________________________________________
From: openbmc [[email protected]] on behalf of [email protected] [[email protected]]
Sent: Friday, March 02, 2018 8:00 PM
To: [email protected]
Subject: openbmc Digest, Vol 31, Issue 6

Send openbmc mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.ozlabs.org/listinfo/openbmc
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific than "Re: Contents of openbmc digest..."

Today's Topics:

1. Re: openbmc Digest, Vol 30, Issue 51 (James Feist)
2. RE: OpenBMC Redfish Working Group - meeting times open discussion (Tanous, Ed)
3. Re: [PATCH v10 2/3] NPCM750: add clock tree doc and binding (Rob Herring)

----------------------------------------------------------------------

Message: 1
Date: Fri, 2 Mar 2018 10:17:43 -0800
From: James Feist <[email protected]>
To: guhan balasubramanian <[email protected]>,
[email protected]
Subject: Re: openbmc Digest, Vol 30, Issue 51
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

- Accidentally dropped Guhan's email, resending.

Hi Guhan,

I don't believe there is a way to do this today, but I have posted an RFC to dynamically collect the SDR info from dbus that you might be interested here: https://gerrit.openbmc-project.xyz/#/c/8521/

The ipmi maintainers I believe like this approach and plan on moving towards this once this code is integrated into the current ipmi libraries.

Thanks,

James

Quoted 68 lines · guhan balasubramanian

Hi,

Currently in the IPMID (net and host) shared libraries, SDR and sensor ipmi commands are addressed by querying the "IdInfoMap" data structure (sensorhandler.cpp). This data structure is being filled up using phosphor-sensor-inventory/config.yaml, during build time (as mentioned by Patrick and Lei).

Assuming that we are not able to pre-fill the config yaml, is there a way in the current implementation, where we can add sensors to this sensors "IdInfoMap" data structure dynamically during run time?

Thanks,
Guhan

Date: Wed, 14 Feb 2018 10:36:23 -0800
From: Patrick Venture <[email protected] <mailto:[email protected]>>
To: Lei YU <[email protected] <mailto:[email protected]>>
Cc: "Sachin Naik (sachnaik)" <[email protected] <mailto:[email protected]>>,
"[email protected]
<mailto:[email protected]>" <[email protected] <mailto:[email protected]>>
Subject: Re: Porting hwmon sensors to openBMC
Message-ID:

<CAO=notwMecK=GhvVUtgeVUZFV38K71Q5SSF0TeCS0CxY2W+axw@mail.gmail.com <mailto:GhvVUtgeVUZFV38K71Q5SSF0TeCS0CxY2W%[email protected]>>
Content-Type: text/plain; charset="UTF-8"

Lei is correct. If you want, however, to read the sensors over IPMI you'll need to add a yaml configuration for the sensors as well for phosphor-host-ipmid.
See
https://github.com/openbmc/openbmc/blob/master/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/recipes-phosphor/ipmi/q71l-ipmi-sensor-map/config.yaml
<https://github.com/openbmc/openbmc/blob/master/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/recipes-phosphor/ipmi/q71l-ipmi-sensor-map/config.yaml>
for an example.

On Tue, Jan 23, 2018 at 11:04 PM, Lei YU <[email protected] <mailto:[email protected]>> wrote:
> On Tue, Jan 23, 2018 at 3:33 PM, Sachin Naik (sachnaik) > <[email protected] <mailto:[email protected]>> wrote:
>> Hi All
>>
>> I am porting a new board to openbmc.
>> I have question on mapping hwmon type sensors to Dbus >>
>> So far I have created machine layer and added U-boot config,
Kernel config and device tree. In kernel config I have enabled lm75 hwmon driver for LM75 temperature device. Corresponding entry added in device tree.
>>
>> Right now I have created hwmon temperature sensors entry in our
machine layer by extending recipes-phosphor/sensors/phosphor-hwmon%.bbappend
>> and created conf file with temperature sensors label. >>
>> Now my question is how do implement/map dbus temperature sensor
value interface to our hwmon temperature sensors? Is above implementation is enough or it requires
>> Some mapping for dbus to hwmon instance?
>
> After you added config files for the temperature sensors with > phosphor-hwmon%.bbappend, phosphor-hwmon will read from > hwmon instance and create dbus objects at
> /xyz/openbmc_project/sensors/, which will at least have "Value", > “Scale" and "Unit" properties.
>

Quoted 9 lines

> I do not think it requires other configs, unless I misunderstand > your case?
>
>>
>> Thanks and regards
>> Sachin
>>
>>

------------------------------

Message: 2
Date: Fri, 2 Mar 2018 22:08:25 +0000
From: "Tanous, Ed" <[email protected]>
To: Hariharasubramanian Ramasubramanian <[email protected]>
Cc: "[email protected]" <[email protected]>,
"[email protected]" <[email protected]>
Subject: RE: OpenBMC Redfish Working Group - meeting times open
discussion
Message-ID:

        <7E9441B1E5EFFD4681F54958E82169932F6691A6@ORSMSX114.amr.corp.intel.com>

Content-Type: text/plain; charset="us-ascii"

Yes, the final meeting time will remain Mondays at 4PM.

The data came back as follows:
Mondays 4PM CST: 8 votes
Thursdays 9AM CST: 5 votes
Thursdays 12PM CST: 5 votes
Friday 8am CST: 4 votes
Mondays 9am CST: 6 votes

Monday at 4PM CST is also the time that the highest number of people that reported they have contributed open source redfish code were available.

Pradeep and Hariharasubramanian were the only ones not available during that time period. I don't want you to feel like you are being excluded, but there were no times that worked for everyone. I will do my best to take judicious notes, and will post them publically. IF you have agenda items that you guys would like me to bring up on your behalf, I'm happy to have a phone call with you guys at a time that's convenient to make sure your viewpoints are heard in the meeting.

We can re-evaluate the meeting time in the March 26th meeting, and see if the results have changed.

Based on this, the next meeting will be 3/5/18 at 4PM CST.

Suggested meeting agenda and call for topics to be sent out in another email shortly

-Ed

From: Hariharasubramanian Ramasubramanian [mailto:[email protected]]
Sent: Thursday, March 1, 2018 11:38 PM
To: Tanous, Ed <[email protected]>
Cc: [email protected]; [email protected]
Subject: RE: OpenBMC Redfish Working Group - meeting times open discussion

"Tanous, Ed" <[email protected]> wrote on 02/28/2018 04:56:45 AM:

Quoted 8 lines

From: "Tanous, Ed" <[email protected]>
To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: 02/28/2018 04:56 AM
Subject: RE: OpenBMC Redfish Working Group - meeting times open discussion

Quoted 1 line
Quoted 7 lines
Quoted 4 lines

Add a Monday 9am CST (7am PST) option so that I can vote for that. :) --
Michael

Added.

Do we have enough votes / consensus on the time ?

------------------------------

Message: 3
Date: Fri, 2 Mar 2018 16:12:36 -0600
From: Rob Herring <[email protected]>
To: Tali Perry <[email protected]>
Cc: [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: [PATCH v10 2/3] NPCM750: add clock tree doc and binding
Message-ID: <20180302221236.qsxooi5l53wx6lby@rob-hp-laptop>
Content-Type: text/plain; charset=us-ascii

Quoted 1 line · Tali Perry

Need a commit msg.

The subject should be "dt-bindings: clock: ..."

Quoted 98 lines
---
 .../bindings/clock/nuvoton,npcm750-clk.txt         | 100 +++++++++++++++++++++
 include/dt-bindings/clock/nuvoton,npcm7xx-clock.h  |  44 +++++++++
 2 files changed, 144 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/nuvoton,npcm750-clk.txt
 create mode 100644 include/dt-bindings/clock/nuvoton,npcm7xx-clock.h
Documentation/devicetree/bindings/clock/nuvoton,npcm750-clk.txt new file +83 -0
new file mode 100644
index 000000000000..dd17b86bd577
@@ -0,0 +1,100 @@
+* Nuvoton NPCM7XX Clock Controller
+
+Nuvoton Poleg BMC NPCM7XX contains an integrated clock controller, which
+generates and supplies clocks to all modules within the BMC.
+
+External clocks:
+
+There are six fixed clocks that are generated outside the BMC. All clocks are of
+a known fixed value that cannot be changed. clk_refclk, clk_mcbypck and
+clk_sysbypck are inputs to the clock controller.
+clk_rg1refck, clk_rg2refck and clk_xin are external clocks suppling the
+network. They are set on the device tree, but not used by the clock module. The
+network devices use them directly.
+Example can be found below.
+
+All available clocks are defined as preprocessor macros in:
+dt-bindings/clock/nuvoton,npcm7xx-clock.h
+and can be reused as DT sources.
+
+Required Properties of clock controller:
+
+     - compatible: "nuvoton,npcm750-clk" : for clock controller of Nuvoton
+               Poleg BMC NPCM750
+
+     - reg: physical base address of the clock controller and length of
+             memory mapped region.
+
+     - #clock-cells: should be 1.
+
+Example: Clock controller node:
+
+     clk: clock-controller@f0801000 {
+             compatible = "nuvoton,npcm750-clk";
+             #clock-cells = <1>;
+             reg = <0xf0801000 0x1000>;
+             clock-names = "refclk", "sysbypck", "mcbypck";
+             clocks = <&clk_refclk>, <&clk_sysbypck>, <&clk_mcbypck>;
+     };
+
+Example: Required external clocks for network:
+
+     /* external reference clock */
+     clk_refclk: clk-refclk {
+             compatible = "fixed-clock";
+             #clock-cells = <0>;
+             clock-frequency = <25000000>;
+             clock-output-names = "refclk";
+     };
+
+     /* external reference clock for cpu. float in normal operation */
+     clk_sysbypck: clk-sysbypck {
+             compatible = "fixed-clock";
+             #clock-cells = <0>;
+             clock-frequency = <800000000>;
+             clock-output-names = "sysbypck";
+     };
+
+     /* external reference clock for MC. float in normal operation */
+     clk_mcbypck: clk-mcbypck {
+             compatible = "fixed-clock";
+             #clock-cells = <0>;
+             clock-frequency = <800000000>;
+             clock-output-names = "mcbypck";
+     };
+
+      /* external clock signal rg1refck, supplied by the phy */
+     clk_rg1refck: clk-rg1refck {
+             compatible = "fixed-clock";
+             #clock-cells = <0>;
+             clock-frequency = <125000000>;
+             clock-output-names = "clk_rg1refck";
+     };
+
+      /* external clock signal rg2refck, supplied by the phy */
+     clk_rg2refck: clk-rg2refck {
+             compatible = "fixed-clock";
+             #clock-cells = <0>;
+             clock-frequency = <125000000>;
+             clock-output-names = "clk_rg2refck";
+     };
+
+     clk_xin: clk-xin {
+             compatible = "fixed-clock";

Documentation/devicetree/bindings/clock/nuvoton,npcm750-clk.txt line 93

Quoted 10 lines
Documentation/devicetree/bindings/clock/nuvoton,npcm750-clk.txt new file +10 -0
+             #clock-cells = <0>;
+             clock-frequency = <50000000>;
+             clock-output-names = "clk_xin";
+     };
+
+
+Example: GMAC controller node that consumes two clocks: a generated clk by the
+clock controller and a fixed clock from DT (clk_rg1refck).
+
+     ethernet0: eth@f0802000 {

ethernet@...

Quoted 58 lines
Documentation/devicetree/bindings/clock/nuvoton,npcm750-clk.txt new file +7 -0
+             compatible = "snps,dwmac";
+             reg = <0xf0802000 0x2000>;
+             interrupts = <0 14 4>;
+             interrupt-names = "macirq";
+             clocks  = <&clk_rg1refck>, <&clk NPCM7XX_CLK_AHB>;
+             clock-names = "stmmaceth", "clk_gmac";
+     };
include/dt-bindings/clock/nuvoton,npcm7xx-clock.h new file +44 -1
new file mode 100644
index 000000000000..f21522605b94
@@ -0,0 +1,44 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Nuvoton NPCM7xx Clock Generator binding
+ * clock binding number for all clocks supportted by nuvoton,npcm7xx-clk
+ *
+ * Copyright (C) 2018 Nuvoton Technologies [email protected]
+ *
+ */
+
+#ifndef __DT_BINDINGS_CLOCK_NPCM7XX_H
+#define __DT_BINDINGS_CLOCK_NPCM7XX_H
+
+
+#define NPCM7XX_CLK_CPU 0
+#define NPCM7XX_CLK_GFX_PIXEL 1
+#define NPCM7XX_CLK_MC 2
+#define NPCM7XX_CLK_ADC 3
+#define NPCM7XX_CLK_AHB 4
+#define NPCM7XX_CLK_TIMER 5
+#define NPCM7XX_CLK_UART 6
+#define NPCM7XX_CLK_MMC  7
+#define NPCM7XX_CLK_SPI3 8
+#define NPCM7XX_CLK_PCI  9
+#define NPCM7XX_CLK_AXI 10
+#define NPCM7XX_CLK_APB4 11
+#define NPCM7XX_CLK_APB3 12
+#define NPCM7XX_CLK_APB2 13
+#define NPCM7XX_CLK_APB1 14
+#define NPCM7XX_CLK_APB5 15
+#define NPCM7XX_CLK_CLKOUT 16
+#define NPCM7XX_CLK_GFX  17
+#define NPCM7XX_CLK_SU   18
+#define NPCM7XX_CLK_SU48 19
+#define NPCM7XX_CLK_SDHC 20
+#define NPCM7XX_CLK_SPI0 21
+#define NPCM7XX_CLK_SPIX 22
+
+#define NPCM7XX_CLK_REFCLK 23
+#define NPCM7XX_CLK_SYSBYPCK 24
+#define NPCM7XX_CLK_MCBYPCK 25
+
+#define NPCM7XX_NUM_CLOCKS    (NPCM7XX_CLK_MCBYPCK+1)
+
+#endif
--
Quoted 2 lines

2.14.1

End of openbmc Digest, Vol 31, Issue 6
**************************************

Please consider the environment before printing this email.

The information contained in this message may be confidential and proprietary to American Megatrends, Inc. This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.

#2 lore raw
Quoted 8 lines

Hi Ed,

We, from American Megatrends, would like to participate in OpenBMC Redfish Working Group discussions. We were able to join the call through phone yesterday from OpenBMC Github Wiki link. But we did not have skype/lync access URL in that Wiki. Is it possible for you to share it?

Of course. Glad to have you guys with us. The calendar ICS is attached and contains the link to the skype meeting.

-Ed

Per meeting decision, this meeting invite is for the “OpenBMC Redfish working group”. This working group will meet every Monday at 4pm CST and publish meeting minutes to the mailing list. The working group is open to anybody who would like to participate in development of Redfish on OpenBMC.

Upcoming Meeting Agenda
2018-03-05: Ed Tanous (Intel) to go over ‘bmcweb’ requirements and implementation. Depending on time, Michael Brown (Dell) to start going over go-redfish requirements and implementation. 2018-03-12: Michael Brown (Dell) on vacation. (May need some alternative host for this meeting depending on if I can dial in from Iceland).
2018-03-19: Paul Vancil to discuss python implementation
2018-03-26: open

Past meetings:

        Meeting Minutes 2018-02-26: https://lists.ozlabs.org/pipermail/openbmc/2018-February/010955.html

.........................................................................................................................................
--> Join Skype Meeting <https://meet.dell.com/michael_e_brown/JFFHZN1F>
Trouble Joining? Try Skype Web App <https://meet.dell.com/michael_e_brown/JFFHZN1F?sl=1>
Join by phone
Internal:724-2663 <tel:Internal:724-2663> (Global) English (United States)
United States, Austin: +1-512-724-2663 <tel:United States, Austin: +1-512-724-2663> (Global) English (United States)
United States, Toll Free: +1-877-491-9738 <tel:United States, Toll Free: +1-877-491-9738> (Global) English (United States)
India, Reliance:1800-30-109045 <tel:India, Reliance:1800-30-109045> (Global) English (United States)
India, BSNL:1800-425-5101 <tel:India, BSNL:1800-425-5101> (Global) English (United States)
Ireland, Dublin: +353-1-2794062 <tel:Ireland, Dublin: +353-1-2794062> (Global) English (United Kingdom)
England, Bracknell: +44-1344-372040 <tel:England, Bracknell: +44-1344-372040> (Global) English (United Kingdom)
Malaysia, Penang: +60-4-6336666 <tel:Malaysia, Penang: +60-4-6336666> (Global) English (United States)
Brazil:3003-3355 <tel:Brazil:3003-3355> (Global) Portuguese (Brazil)
China, Toll Free:800-858-0756 <tel:China, Toll Free:800-858-0756> (Global) English (United States)

Japan, Kawasaki: +81-44-5206877 <tel:Japan, Kawasaki: +81-44-5206877>  (Global)                 Japanese (Japan) 
Canada, Toronto: +1-416-7582329 <tel:Canada, Toronto: +1-416-7582329>  (Global)                 English (United States) 

Find a local number <https://dialin.dell.com>

Conference ID: 22607907
Forgot your dial-in PIN? <https://dialin.dell.com> |Help <https://dialin.dell.com/DellHelp/>

[!OC([1033])!]
.........................................................................................................................................

BEGIN:VCALENDAR
METHOD:PUBLISH
PRODID:Microsoft Exchange Server 2010
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Central Standard Time
BEGIN:STANDARD
DTSTART:16010101T020000
TZOFFSETFROM:-0500
TZOFFSETTO:-0600 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T020000
TZOFFSETFROM:-0600
TZOFFSETTO:-0500 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=2SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT ORGANIZER;[email protected]:MAILTO:[email protected] DESCRIPTION;LANGUAGE=en-US:Per meeting decision\, this meeting invite is fo
r the “OpenBMC Redfish working group”. This working group will meet ev ery Monday at 4pm CST and publish meeting minutes to the mailing list. The
working group is open to anybody who would like to participate in develop
ment of Redfish on OpenBMC.\n \nUpcoming Meeting Agenda\n 2018-03-0
5: Ed Tanous (Intel) to go over ‘bmcweb’ requirements and implementati on. Depending on time\, Michael Brown (Dell) to start going over go-redfis
h requirements and implementation.\n 2018-03-12: Michael Brown (Del
l) on vacation. (May need some alternative host for this meeting depending
on if I can dial in from Iceland).\n 2018-03-19: Paul Vancil to di
scuss python implementation\n 2018-03-26: open\n \nPast meetings:\n

         Meeting Minutes 2018-02-26: https://lists.ozlabs.org/pipermail/ope
 nbmc/2018-February/010955.html\n \n.......................................
 ..........................................................................
 ........................\n--> Join Skype Meeting <https://meet.dell.com/mi
 chael_e_brown/JFFHZN1F>      \nTrouble Joining? Try Skype Web App <https:/
 /meet.dell.com/michael_e_brown/JFFHZN1F?sl=1>  \nJoin by phone\nInternal:7
 24-2663 <tel:Internal:724-2663>  (Global)               English (United St
 ates) \nUnited States\, Austin: +1-512-724-2663 <tel:United States\, Austi
 n: +1-512-724-2663>  (Global)          English (United States) \nUnited St
 ates\, Toll Free: +1-877-491-9738 <tel:United States\, Toll Free: +1-877-4
 91-9738>  (Global)               English (United States) \nIndia\, Relianc
 e:1800-30-109045 <tel:India\, Reliance:1800-30-109045>  (Global)          
 English (United States) \nIndia\, BSNL:1800-425-5101 <tel:India\, BSNL:180
 0-425-5101>  (Global)               English (United States) \nIreland\, Du
 blin: +353-1-2794062 <tel:Ireland\, Dublin: +353-1-2794062>  (Global)     
             English (United Kingdom) \nEngland\, Bracknell: +44-1344-37204

0 <tel:England\, Bracknell: +44-1344-372040> (Global) English
(United Kingdom) \nMalaysia\, Penang: +60-4-6336666 <tel:Malaysia\, Penan
g: +60-4-6336666> (Global) English (United States) \nBraz
il:3003-3355 <tel:Brazil:3003-3355> (Global) Portuguese (B
razil) \nChina\, Toll Free:800-858-0756 <tel:China\, Toll Free:800-858-075
6> (Global) English (United States) \nJapan\, Kawasaki: +81-44-
5206877 <tel:Japan\, Kawasaki: +81-44-5206877> (Global) J
apanese (Japan) \nCanada\, Toronto: +1-416-7582329 <tel:Canada\, Toronto:
+1-416-7582329> (Global) English (United States) \nFind a
local number <https://dialin.dell.com> \n \nConference ID: 22607907\nFor
got your dial-in PIN? <https://dialin.dell.com> |Help <https://dialin.del
l.com/DellHelp/> \n \n[!OC([1033])!]\n...............................
..........................................................................
................................\n \n \n
RRULE:FREQ=WEEKLY;UNTIL=20180830T210000Z;INTERVAL=1;BYDAY=MO;WKST=SU SUMMARY;LANGUAGE=en-US:OpenBMC Redfish working group working call DTSTART;TZID=Central Standard Time:20180226T160000 DTEND;TZID=Central Standard Time:20180226T170000 UID:040000008200E00074C5B7101A82E00800000000D0E630DC16AFD301000000000000000
0100000008C8A8BB6E820744A911EA10BE4889D98
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20180226T231309Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:2
LOCATION;LANGUAGE=en-US:Skype Meeting X-MICROSOFT-CDO-APPT-SEQUENCE:2 X-MICROSOFT-CDO-OWNERAPPTID:-59103262 X-MICROSOFT-CDO-BUSYSTATUS:BUSY X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:1
X-MICROSOFT-DISALLOW-COUNTER:TRUE
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT15M
END:VALARM
END:VEVENT
END:VCALENDAR