Tiogapass build

Vijay Khemka vijaykhemka at fb.com
Wed Jul 22 04:35:38 AEST 2020


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 at 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 at 1e789000/lpc-bmc at 0/kcs1 at 0: node

        has a unit name, but no reg property



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

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



commit d85fa6c6f337e768f25ba362e5d2ebb7769ac8c1

Author: Vijay Khemka <vijaykhemka at 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 at fb.com>

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

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



commit 3dcfff96f17a8e8a9a346f0beff10d75e7ca8edb

Author: Vijay Khemka <vijaykhemka at 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 at fb.com>

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

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

Regards
-Vijay

From: openbmc <openbmc-bounces+vijaykhemka=fb.com at lists.ozlabs.org> on behalf of Vijay Khemka <vijaykhemka at fb.com>
Date: Thursday, July 16, 2020 at 10:37 AM
To: Ilya Gousev <qweran at gmail.com>
Cc: "openbmc at lists.ozlabs.org" <openbmc at 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 at gmail.com>
Date: Wednesday, July 15, 2020 at 11:26 AM
To: Vijay Khemka <vijaykhemka at fb.com>
Cc: "openbmc at lists.ozlabs.org" <openbmc at 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 at fb.com<mailto:vijaykhemka at fb.com>>:
Hi Ilya,
Please see my answers inline

From: openbmc <openbmc-bounces+vijaykhemka=fb.com at lists.ozlabs.org<mailto:fb.com at lists.ozlabs.org>> on behalf of Ilya Gousev <qweran at gmail.com<mailto:qweran at gmail.com>>
Date: Wednesday, July 15, 2020 at 5:18 AM
To: "openbmc at lists.ozlabs.org<mailto:openbmc at lists.ozlabs.org>" <openbmc at lists.ozlabs.org<mailto:openbmc at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200721/923ea1b1/attachment-0001.htm>


More information about the openbmc mailing list