openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Tiogapass build
@ 2020-07-15 12:17 Ilya Gousev
  2020-07-15 17:56 ` Vijay Khemka
  0 siblings, 1 reply; 6+ messages in thread
From: Ilya Gousev @ 2020-07-15 12:17 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

Hi!

I have tried to touch Tiogapass (by Wiwyn).
I have added the devices for KVM. And it works.
Now i want to get information about hardware (for example CPU and DIMM
imformation, like model, clocks, etc.). How i can get it? Only from IPMI
stack (like KCS)?

Ilya

[-- Attachment #2: Type: text/html, Size: 376 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tiogapass build
  2020-07-15 12:17 Tiogapass build Ilya Gousev
@ 2020-07-15 17:56 ` Vijay Khemka
  2020-07-15 18:26   ` Ilya Gousev
  0 siblings, 1 reply; 6+ messages in thread
From: Vijay Khemka @ 2020-07-15 17:56 UTC (permalink / raw)
  To: Ilya Gousev, openbmc

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

Hi Ilya,
Please see my answers inline

From: openbmc <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org> on behalf of Ilya Gousev <qweran@gmail.com>
Date: Wednesday, July 15, 2020 at 5:18 AM
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Tiogapass build

Hi!

>I have tried to touch Tiogapass (by Wiwyn).
Good.
>I have added the devices for KVM. And it works.
What are you trying for KVM here?
>Now i want to get information about hardware (for example CPU and DIMM imformation, like model, clocks, etc.). How i can get it? Only from IPMI stack (like KCS)?
Yes it can be accesses from IPMI stack via ipmi tools, you can run ipmitool from BMC console itself. And there is a file in /etc/appData.json which stores all of these data.

Ilya

[-- Attachment #2: Type: text/html, Size: 6886 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tiogapass build
  2020-07-15 17:56 ` Vijay Khemka
@ 2020-07-15 18:26   ` Ilya Gousev
  2020-07-16 17:35     ` Vijay Khemka
  0 siblings, 1 reply; 6+ messages in thread
From: Ilya Gousev @ 2020-07-15 18:26 UTC (permalink / raw)
  To: Vijay Khemka; +Cc: openbmc

[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]

Hi, Vijay!

About KVM:
When I was build OpenBMC, KVM did not work. There was no vhub and video
nodes in devicetree file. Is this done on purpose?

Right now I have problem with KCS Bridge, but i fix it with udev rule like
this:
KERNEL=="ipmi-kcs3", SYMLINK+="ipmi_kcs3"
And fixing * phosphor-ipmi-kcs_git.bb <http://phosphor-ipmi-kcs_git.bb>*


*Right now i have a problem with starting ipmb service.*


*Do you have such problems too?Or is it my fault?*


*Thanks, *

*Ilya*

ср, 15 июл. 2020 г. в 20:56, Vijay Khemka <vijaykhemka@fb.com>:

> Hi Ilya,
>
> Please see my answers inline
>
>
>
> *From: *openbmc <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org> on
> behalf of Ilya Gousev <qweran@gmail.com>
> *Date: *Wednesday, July 15, 2020 at 5:18 AM
> *To: *"openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
> *Subject: *Tiogapass build
>
>
>
> Hi!
>
>
>
> >I have tried to touch Tiogapass (by Wiwyn).
>
> Good.
>
> >I have added the devices for KVM. And it works.
>
> What are you trying for KVM here?
>
> >Now i want to get information about hardware (for example CPU and DIMM
> imformation, like model, clocks, etc.). How i can get it? Only from IPMI
> stack (like KCS)?
>
> Yes it can be accesses from IPMI stack via ipmi tools, you can run
> ipmitool from BMC console itself. And there is a file in /etc/appData.json
> which stores all of these data.
>
>
>
> Ilya
>

[-- Attachment #2: Type: text/html, Size: 7076 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tiogapass build
  2020-07-15 18:26   ` Ilya Gousev
@ 2020-07-16 17:35     ` Vijay Khemka
  2020-07-21 18:35       ` Vijay Khemka
  0 siblings, 1 reply; 6+ messages in thread
From: Vijay Khemka @ 2020-07-16 17:35 UTC (permalink / raw)
  To: Ilya Gousev; +Cc: openbmc

[-- Attachment #1: Type: text/plain, Size: 2174 bytes --]

Hi Ilya,
We don’t have any video card so no listing in device tree. KCS and IPMB should be working fine.
We use kcs1 and kcs2 only.  Just check if you are using latest kernel and has ipmb driver entry in device tree.

Regards
-Vijay

From: Ilya Gousev <qweran@gmail.com>
Date: Wednesday, July 15, 2020 at 11:26 AM
To: Vijay Khemka <vijaykhemka@fb.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re: Tiogapass build

Hi, Vijay!

About KVM:
When I was build OpenBMC, KVM did not work. There was no vhub and video nodes in devicetree file. Is this done on purpose?


Right now I have problem with KCS Bridge, but i fix it with udev rule like this:
KERNEL=="ipmi-kcs3", SYMLINK+="ipmi_kcs3"
And fixing phosphor-ipmi-kcs_git.bb<https://urldefense.proofpoint.com/v2/url?u=http-3A__phosphor-2Dipmi-2Dkcs-5Fgit.bb&d=DwMFaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=xJd9l55w4_jXkxlHu57P3jeoPNHXgCEvjF2D9ByPU_g&s=CjSN51iKoIK-hHREyPitTu0Mq4-LvFeh-eMO9hJ_5MQ&e=>


Right now i have a problem with starting ipmb service.



Do you have such problems too?
Or is it my fault?


Thanks,

Ilya



ср, 15 июл. 2020 г. в 20:56, Vijay Khemka <vijaykhemka@fb.com<mailto:vijaykhemka@fb.com>>:
Hi Ilya,
Please see my answers inline

From: openbmc <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org<mailto:fb.com@lists.ozlabs.org>> on behalf of Ilya Gousev <qweran@gmail.com<mailto:qweran@gmail.com>>
Date: Wednesday, July 15, 2020 at 5:18 AM
To: "openbmc@lists.ozlabs.org<mailto:openbmc@lists.ozlabs.org>" <openbmc@lists.ozlabs.org<mailto:openbmc@lists.ozlabs.org>>
Subject: Tiogapass build

Hi!

>I have tried to touch Tiogapass (by Wiwyn).
Good.
>I have added the devices for KVM. And it works.
What are you trying for KVM here?
>Now i want to get information about hardware (for example CPU and DIMM imformation, like model, clocks, etc.). How i can get it? Only from IPMI stack (like KCS)?
Yes it can be accesses from IPMI stack via ipmi tools, you can run ipmitool from BMC console itself. And there is a file in /etc/appData.json which stores all of these data.

Ilya

[-- Attachment #2: Type: text/html, Size: 9018 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tiogapass build
  2020-07-16 17:35     ` Vijay Khemka
@ 2020-07-21 18:35       ` Vijay Khemka
  2020-09-28 15:42         ` Bruce Mitchell
  0 siblings, 1 reply; 6+ messages in thread
From: Vijay Khemka @ 2020-07-21 18:35 UTC (permalink / raw)
  To: Ilya Gousev; +Cc: openbmc

[-- Attachment #1: Type: text/plain, Size: 4158 bytes --]

Hi Ilya,
Please pull following commit from mainline linux and with latest openbmc tree,
Everything should work. Please let me know if you need any help here.


commit fa4c8ec6feaa3237f5d44cb8c6d0aa0dff6e1bcc

Author: Andrew Jeffery <andrew@aj.id.au>

Date:   Sat Apr 11 11:44:58 2020 +0930



    ARM: dts: aspeed: Change KCS nodes to v2 binding



    Fixes the following warnings for both g5 and g6 SoCs:



        arch/arm/boot/dts/aspeed-g5.dtsi:376.19-381.8: Warning

        (unit_address_vs_reg): /ahb/apb/lpc@1e789000/lpc-bmc@0/kcs1@0: node

        has a unit name, but no reg property



    Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

    Signed-off-by: Joel Stanley <joel@jms.id.au>



commit d85fa6c6f337e768f25ba362e5d2ebb7769ac8c1

Author: Vijay Khemka <vijaykhemka@fb.com>

Date:   Mon Jan 27 17:18:17 2020 -0800



    ARM: dts: aspeed: tiogapass: Add gpio line names



    Added GPIO line names for all gpio used in tiogapass platform,

    these line names will be used by libgpiod to control GPIOs



    Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>

    Reviewed-by: Joel Stanley <joel@jms.id.au>

    Signed-off-by: Joel Stanley <joel@jms.id.au>



commit 3dcfff96f17a8e8a9a346f0beff10d75e7ca8edb

Author: Vijay Khemka <vijaykhemka@fb.com>

Date:   Mon Jan 27 17:17:28 2020 -0800



    ARM: dts: aspeed: tiogapass: Add IPMB device



    Adding IPMB devices for facebook tiogapass platform.



    Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>

    Reviewed-by: Joel Stanley <joel@jms.id.au>

    Signed-off-by: Joel Stanley <joel@jms.id.au>

Regards
-Vijay

From: openbmc <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org> on behalf of Vijay Khemka <vijaykhemka@fb.com>
Date: Thursday, July 16, 2020 at 10:37 AM
To: Ilya Gousev <qweran@gmail.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re: Tiogapass build

Hi Ilya,
We don’t have any video card so no listing in device tree. KCS and IPMB should be working fine.
We use kcs1 and kcs2 only.  Just check if you are using latest kernel and has ipmb driver entry in device tree.

Regards
-Vijay

From: Ilya Gousev <qweran@gmail.com>
Date: Wednesday, July 15, 2020 at 11:26 AM
To: Vijay Khemka <vijaykhemka@fb.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re: Tiogapass build

Hi, Vijay!

About KVM:
When I was build OpenBMC, KVM did not work. There was no vhub and video nodes in devicetree file. Is this done on purpose?



Right now I have problem with KCS Bridge, but i fix it with udev rule like this:
KERNEL=="ipmi-kcs3", SYMLINK+="ipmi_kcs3"
And fixing phosphor-ipmi-kcs_git.bb<https://urldefense.proofpoint.com/v2/url?u=http-3A__phosphor-2Dipmi-2Dkcs-5Fgit.bb&d=DwMFaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=xJd9l55w4_jXkxlHu57P3jeoPNHXgCEvjF2D9ByPU_g&s=CjSN51iKoIK-hHREyPitTu0Mq4-LvFeh-eMO9hJ_5MQ&e=>



Right now i have a problem with starting ipmb service.





Do you have such problems too?
Or is it my fault?



Thanks,


Ilya





ср, 15 июл. 2020 г. в 20:56, Vijay Khemka <vijaykhemka@fb.com<mailto:vijaykhemka@fb.com>>:
Hi Ilya,
Please see my answers inline

From: openbmc <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org<mailto:fb.com@lists.ozlabs.org>> on behalf of Ilya Gousev <qweran@gmail.com<mailto:qweran@gmail.com>>
Date: Wednesday, July 15, 2020 at 5:18 AM
To: "openbmc@lists.ozlabs.org<mailto:openbmc@lists.ozlabs.org>" <openbmc@lists.ozlabs.org<mailto:openbmc@lists.ozlabs.org>>
Subject: Tiogapass build

Hi!

>I have tried to touch Tiogapass (by Wiwyn).
Good.
>I have added the devices for KVM. And it works.
What are you trying for KVM here?
>Now i want to get information about hardware (for example CPU and DIMM imformation, like model, clocks, etc.). How i can get it? Only from IPMI stack (like KCS)?
Yes it can be accesses from IPMI stack via ipmi tools, you can run ipmitool from BMC console itself. And there is a file in /etc/appData.json which stores all of these data.

Ilya

[-- Attachment #2: Type: text/html, Size: 15702 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Tiogapass build
  2020-07-21 18:35       ` Vijay Khemka
@ 2020-09-28 15:42         ` Bruce Mitchell
  0 siblings, 0 replies; 6+ messages in thread
From: Bruce Mitchell @ 2020-09-28 15:42 UTC (permalink / raw)
  To: Vijay Khemka, Ilya Gousev; +Cc: openbmc

Hello Vijay and Ilya,

What is the right way to add the ASPEED AST2500 "Video Card" to Tioga Pass for OpenBMC as well as the hidg?
The objective is to have a fully functional KVM on Tioga Pass.

Thank you!

-- 
Bruce

From: openbmc [mailto:openbmc-bounces+bruce_mitchell=phoenix.com@lists.ozlabs.org] On Behalf Of Vijay Khemka
Sent: Tuesday, July 21, 2020 11:36
To: Ilya Gousev
Cc: openbmc@lists.ozlabs.org
Subject: Re: Tiogapass build

Hi Ilya,
Please pull following commit from mainline linux and with latest openbmc tree, 
Everything should work. Please let me know if you need any help here.

commit fa4c8ec6feaa3237f5d44cb8c6d0aa0dff6e1bcc
Author: Andrew Jeffery <andrew@aj.id.au>
Date:   Sat Apr 11 11:44:58 2020 +0930

    ARM: dts: aspeed: Change KCS nodes to v2 binding
    
    Fixes the following warnings for both g5 and g6 SoCs:
    
        arch/arm/boot/dts/aspeed-g5.dtsi:376.19-381.8: Warning
        (unit_address_vs_reg): /ahb/apb/lpc@1e789000/lpc-bmc@0/kcs1@0: node
        has a unit name, but no reg property
    
    Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
    Signed-off-by: Joel Stanley <joel@jms.id.au>

commit d85fa6c6f337e768f25ba362e5d2ebb7769ac8c1
Author: Vijay Khemka <vijaykhemka@fb.com>
Date:   Mon Jan 27 17:18:17 2020 -0800

    ARM: dts: aspeed: tiogapass: Add gpio line names
    
    Added GPIO line names for all gpio used in tiogapass platform,
    these line names will be used by libgpiod to control GPIOs
    
    Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
    Reviewed-by: Joel Stanley <joel@jms.id.au>
    Signed-off-by: Joel Stanley <joel@jms.id.au>

commit 3dcfff96f17a8e8a9a346f0beff10d75e7ca8edb
Author: Vijay Khemka <vijaykhemka@fb.com>
Date:   Mon Jan 27 17:17:28 2020 -0800

    ARM: dts: aspeed: tiogapass: Add IPMB device
    
    Adding IPMB devices for facebook tiogapass platform.
    
    Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
    Reviewed-by: Joel Stanley <joel@jms.id.au>
    Signed-off-by: Joel Stanley <joel@jms.id.au>

Regards
-Vijay

From: openbmc <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org> on behalf of Vijay Khemka <vijaykhemka@fb.com>
Date: Thursday, July 16, 2020 at 10:37 AM
To: Ilya Gousev <qweran@gmail.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re: Tiogapass build

Hi Ilya,
We don’t have any video card so no listing in device tree. KCS and IPMB should be working fine. 
We use kcs1 and kcs2 only.  Just check if you are using latest kernel and has ipmb driver entry in device tree.
 
Regards
-Vijay
 
From: Ilya Gousev <qweran@gmail.com>
Date: Wednesday, July 15, 2020 at 11:26 AM
To: Vijay Khemka <vijaykhemka@fb.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re: Tiogapass build
 
Hi, Vijay!
 
About KVM:
When I was build OpenBMC, KVM did not work. There was no vhub and video nodes in devicetree file. Is this done on purpose?


Right now I have problem with KCS Bridge, but i fix it with udev rule like this:
KERNEL=="ipmi-kcs3", SYMLINK+="ipmi_kcs3"
And fixing phosphor-ipmi-kcs_git.bb


Right now i have a problem with starting ipmb service.



Do you have such problems too?
Or is it my fault?


Thanks, 

Ilya



ср, 15 июл. 2020 г. в 20:56, Vijay Khemka <vijaykhemka@fb.com>:
Hi Ilya,
Please see my answers inline
 
From: openbmc <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org> on behalf of Ilya Gousev <qweran@gmail.com>
Date: Wednesday, July 15, 2020 at 5:18 AM
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Tiogapass build
 
Hi!
 
>I have tried to touch Tiogapass (by Wiwyn). 
Good.
>I have added the devices for KVM. And it works.
What are you trying for KVM here?
>Now i want to get information about hardware (for example CPU and DIMM imformation, like model, clocks, etc.). How i can get it? Only from IPMI stack (like KCS)?
Yes it can be accesses from IPMI stack via ipmi tools, you can run ipmitool from BMC console itself. And there is a file in /etc/appData.json which stores all of these data.
 
Ilya

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-28 15:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 12:17 Tiogapass build Ilya Gousev
2020-07-15 17:56 ` Vijay Khemka
2020-07-15 18:26   ` Ilya Gousev
2020-07-16 17:35     ` Vijay Khemka
2020-07-21 18:35       ` Vijay Khemka
2020-09-28 15:42         ` Bruce Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).