Tiogapass build

Bruce Mitchell Bruce_Mitchell at phoenix.com
Tue Sep 29 01:42:19 AEST 2020


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 at lists.ozlabs.org] On Behalf Of Vijay Khemka
Sent: Tuesday, July 21, 2020 11:36
To: Ilya Gousev
Cc: openbmc at 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 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


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>:
Hi Ilya,
Please see my answers inline
 
From: openbmc <openbmc-bounces+vijaykhemka=fb.com at lists.ozlabs.org> on behalf of Ilya Gousev <qweran at gmail.com>
Date: Wednesday, July 15, 2020 at 5:18 AM
To: "openbmc at lists.ozlabs.org" <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


More information about the openbmc mailing list