[HELP] ipmi-kcs didn't work
Jae Hyun Yoo
jae.hyun.yoo at linux.intel.com
Thu Nov 15 04:17:53 AEDT 2018
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>;
Cheers,
Jae
> + status = "disabled";
> +
> + };
> };
>
> +&kcs3 {
> + status = "okay";
> +};
>
>
> The device node /dev/ipmi-kcs3 is created.
>
>
> root at sanjose:/tmp# ./kcsbridged --vv --d /dev/ipmi-kcs3
> 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.
>
More information about the openbmc
mailing list