<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;">
Error reported during kernel startup,Can you help to check where the configuration is wrong?<br>
</div>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">[<span>    </span>
1.075901] ipmi-bt-host 1e789140.ibt: Using IRQ 33</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">[<span>    </span>
1.076547] ast-kcs-bmc 1e789000.lpc-bmc:kcs1@0: no valid 'kcs_addr' configured</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">[<span>    </span>
1.076743] ast-kcs-bmc 1e789000.lpc-bmc:kcs2@0: no valid 'kcs_addr' configured</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">[<span>    </span>
1.076922] ast-kcs-bmc 1e789000.lpc-bmc:kcs3@0: no valid 'kcs_addr' configured</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">[<span>    </span>
1.077102] ast-kcs-bmc 1e789080.lpc-host:kcs4@0: no valid 'kcs_addr' configured</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">[<span>    </span>
1.083020] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled</p>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
The configure in aspeed_gt.dts:<br>
<span> lpc_bmc: lpc-bmc@0 {<br>
</span>
<div>                                        compatible = "aspeed,ast2500-lpc-bmc", "simple-mfd", "syscon";<br>
</div>
<div>                                        reg = <0x0 0x80>;<br>
</div>
<div>                                        reg-io-width = <4>;<br>
</div>
<div><br>
</div>
<div>                                        #address-cells = <1>;<br>
</div>
<div>                                        #size-cells = <1>;<br>
</div>
<div>                                        ranges = <0x0 0x0 0x80>;<br>
</div>
<div><br>
</div>
<div>                                        kcs1: kcs1@0 {<br>
</div>
<div>                                                compatible = "aspeed,ast2500-kcs-bmc";<br>
</div>
<div>                                                interrupts = <8>;<br>
</div>
<div>                                                kcs_chan = <1>;<br>
</div>
<div>                                                status = "disabled";<br>
</div>
<div>                                        };<br>
</div>
<div>                                        kcs2: kcs2@0 {<br>
</div>
<div>                                                compatible = "aspeed,ast2500-kcs-bmc";<br>
</div>
<div>                                                interrupts = <8>;<br>
</div>
<div>                                                kcs_chan = <2>;<br>
</div>
<div>                                                status = "disabled";<br>
</div>
<div>                                        };<br>
</div>
<div>                                        kcs3: kcs3@0 {<br>
</div>
<div>                                                compatible = "aspeed,ast2500-kcs-bmc";<br>
</div>
<div>                                                interrupts = <8>;<br>
</div>
<div>                                                kcs_chan = <3>;<br>
</div>
<div>                                                status = "disabled";<br>
</div>
<div>                                        };<br>
</div>
<div>                                };<br>
</div>
<span></span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">The configure in aspeed-bmc-opp-star.dts:</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><span>&kcs1 {<br>
</span>
<div>        status = "okay";<br>
</div>
<div>};<br>
</div>
<div><br>
</div>
<div>&kcs2 {<br>
</div>
<div>        status = "okay";<br>
</div>
<div>};<br>
</div>
<div><br>
</div>
<div>&kcs3 {<br>
</div>
<div>        status = "okay";<br>
</div>
<div>};<br>
</div>
<div><br>
</div>
<div>&kcs4 {<br>
</div>
<div>        status = "okay";<br>
</div>
<div>};<br>
</div>
<div><br>
</div>
<div>&ibt {<br>
</div>
<div>        status = "okay";<br>
</div>
<div>};<br>
</div>
<span></span><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>发件人:</b> 郁雷 <yulei.sh@bytedance.com><br>
<b>发送时间:</b> 2020年6月18日 13:25<br>
<b>收件人:</b> 周 远清 <zhouyuanqing8@outlook.com><br>
<b>抄送:</b> openbmc <openbmc@lists.ozlabs.org>; uperic@163.com <uperic@163.com><br>
<b>主题:</b> Re: There is no kcs device in the /dev directory</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">On Thu, Jun 18, 2020 at 12:51 PM 周 远清 <zhouyuanqing8@outlook.com> wrote:<br>
><br>
> Hi everyone,<br>
><br>
>     There is no kcs device in the /dev directory,I used the following command to find it in the root directory, and I did not find ipmi-kcs device, please help guide, thank you.<br>
<br>
Probably you could check the device tree to see if the kcs is enabled or not.<br>
<br>
><br>
> 1.find / -name *kcs*<br>
><br>
> 2.Below is my kernel configuration<br>
> CONFIG_SERIAL_MCTRL_GPIO=y<br>
> # CONFIG_SERIAL_DEV_BUS is not set<br>
> # CONFIG_TTY_PRINTK is not set<br>
> # CONFIG_HVC_DCC is not set<br>
> CONFIG_IPMI_HANDLER=y<br>
> # CONFIG_IPMI_PANIC_EVENT is not set<br>
> # CONFIG_IPMI_DEVICE_INTERFACE is not set<br>
> # CONFIG_IPMI_SI is not set<br>
> # CONFIG_IPMI_SSIF is not set<br>
> # CONFIG_IPMI_WATCHDOG is not set<br>
> # CONFIG_IPMI_POWEROFF is not set<br>
> CONFIG_IPMI_KCS_BMC=y<br>
> CONFIG_ASPEED_KCS_IPMI_BMC=y<br>
> CONFIG_ASPEED_BT_IPMI_BMC=y<br>
> CONFIG_HW_RANDOM=y<br>
> CONFIG_HW_RANDOM_TIMERIOMEM=y<br>
> # CONFIG_RAW_DRIVER is not set<br>
> # CONFIG_TCG_TPM is not set<br>
> # CONFIG_XILLYBUS is not set<br>
> # end of Character devices<br>
><br>
> Thanks<br>
> Harley<br>
</div>
</span></font></div>
</div>
</body>
</html>