openbmc Digest, Vol 39, Issue 49
xiuzhi
1450335857 at qq.com
Thu Nov 15 21:01:48 AEDT 2018
Hi qianlihu,
Where can I get the testtool kcsbridged ?
Which environment should it run, on BMC OS or on host side?
Best,
Xiuzhi
Message: 2
Date: Thu, 15 Nov 2018 09:49:06 +0800
From: qianlihu <wangzhiqiang8906 at gmail.com>
To: jae.hyun.yoo at linux.intel.com
Cc: openbmc at lists.ozlabs.org
Subject: Re: [HELP] ipmi-kcs didn't work
Message-ID:
<CAHkHK09Km5BVLdq7OMSwTLi05-KgDc8K8j9_+e1ewtGanyr4Tg at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Hi,Jae
>
> Hi,
>
> On 11/14/2018 2:38 AM, qianlihu wrote:
> > Hi,
> >
> > I add ipmi kcs node,but it didn't work
> >
> > here is the patch for dts.
> >
> > lpc_bmc: lpc-bmc at 0 {
> > - compatible = "aspeed,ast2500-lpc-bmc";
> > + compatible = "aspeed,ast2500-lpc-bmc", "simple-mfd", "syscon";
> > +
> > reg = <0x0 0x80>;
> > + reg-io-width = <4>;
> > +
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > + ranges = <0x0 0x0 0x80>;
> > +
> > + kcs3: kcs3 at 0 {
> > + compatible = "aspeed,ast2500-kcs-bmc";
> > + reg = <0x0 0x80>;
> > + interrupts = <8>;
> > + kcs_chan = <3>;
> > + kcs_addr = <0xca2>;
>
> Probably, you should add a clock setting for KCS H/W block into here.
>
> clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
>
I tried ,but it didn't work?
> Cheers,
>
> Jae
>
> > + status = "disabled";
> > +
> > + };
> > };
> >
> > +&kcs3 {
> > + status = "okay";
> > +};
> >
> >
> > The device node /dev/ipmi-kcs3 is created.
> >
> >
> > root at sanjose:/tmp#
> > Debug logging
> > Starting
> > Registering dbus methods/signals
> > Requesting dbus name: org.openbmc.HostIpmi
> > Getting dbus file descriptors
> > Opening /dev/ipmi-kcs3
> > Creating timer fd
> > Entering polling loop
> > Processed 1 dbus events
> > Processed 1 dbus events
> > Processed 1 dbus events
> > Processed 1 dbus events
> > Processed 1 dbus events
> > Processed 1 dbus events
> > Processed 1 dbus events
> >
> > but there is nothing output.
> >
this is the dmesg info
root at sanjose:~# dmesg |grep kcs
[ 2.052340] aspeed-kcs-bmc: channel=3 addr=0xca2 idr=0x2c odr=0x38 str=0x44
I also checked the hardtrap:
0x1e6e2070[bit25] enabled the lpc mode
I'm sure the IO port is 0xca2.
should I config the pin for LPC,I checked the ibt node,it didn't.
thank you
--qianlihu
End of openbmc Digest, Vol 39, Issue 49
***************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20181115/9e605622/attachment.html>
More information about the openbmc
mailing list