xref: /openbmc/ipmbbridge/README.md (revision 0195f75c)
1*0195f75cSGeorge LiuSample config options available to configure :
2*0195f75cSGeorge Liu
3*0195f75cSGeorge Liu1. Single channel with one me and ipmb :
4*0195f75cSGeorge Liu
5*0195f75cSGeorge Liu```json
6*0195f75cSGeorge Liu{
7*0195f75cSGeorge Liu  "channels": [
8*0195f75cSGeorge Liu    {
9*0195f75cSGeorge Liu      "type": "me",
10*0195f75cSGeorge Liu      "slave-path": "/dev/ipmb-4",
11*0195f75cSGeorge Liu      "bmc-addr": 32,
12*0195f75cSGeorge Liu      "remote-addr": 44
13*0195f75cSGeorge Liu    },
14*0195f75cSGeorge Liu    {
15*0195f75cSGeorge Liu      "type": "ipmb",
16*0195f75cSGeorge Liu      "slave-path": "/dev/ipmb-9",
17*0195f75cSGeorge Liu      "bmc-addr": 32,
18*0195f75cSGeorge Liu      "remote-addr": 96
19*0195f75cSGeorge Liu    }
20*0195f75cSGeorge Liu  ]
21*0195f75cSGeorge Liu}
22*0195f75cSGeorge Liu```
23*0195f75cSGeorge Liu
24*0195f75cSGeorge Liu2. Multiple sub channels with me and ipmb :
25*0195f75cSGeorge Liu
26*0195f75cSGeorge Liu```json
27*0195f75cSGeorge Liu{
28*0195f75cSGeorge Liu  "channels": [
29*0195f75cSGeorge Liu    {
30*0195f75cSGeorge Liu      "type": "me",
31*0195f75cSGeorge Liu      "slave-path": "/dev/ipmb-1",
32*0195f75cSGeorge Liu      "bmc-addr": 32,
33*0195f75cSGeorge Liu      "remote-addr": 64,
34*0195f75cSGeorge Liu      "devIndex": 0
35*0195f75cSGeorge Liu    },
36*0195f75cSGeorge Liu    {
37*0195f75cSGeorge Liu      "type": "ipmb",
38*0195f75cSGeorge Liu      "slave-path": "/dev/ipmb-3",
39*0195f75cSGeorge Liu      "bmc-addr": 32,
40*0195f75cSGeorge Liu      "remote-addr": 64,
41*0195f75cSGeorge Liu      "devIndex": 0
42*0195f75cSGeorge Liu    },
43*0195f75cSGeorge Liu    {
44*0195f75cSGeorge Liu      "type": "me",
45*0195f75cSGeorge Liu      "slave-path": "/dev/ipmb-5",
46*0195f75cSGeorge Liu      "bmc-addr": 32,
47*0195f75cSGeorge Liu      "remote-addr": 64,
48*0195f75cSGeorge Liu      "devIndex": 1
49*0195f75cSGeorge Liu    },
50*0195f75cSGeorge Liu    {
51*0195f75cSGeorge Liu      "type": "ipmb",
52*0195f75cSGeorge Liu      "slave-path": "/dev/ipmb-7",
53*0195f75cSGeorge Liu      "bmc-addr": 32,
54*0195f75cSGeorge Liu      "remote-addr": 64,
55*0195f75cSGeorge Liu      "devIndex": 1
56*0195f75cSGeorge Liu    }
57*0195f75cSGeorge Liu  ]
58*0195f75cSGeorge Liu}
59*0195f75cSGeorge Liu```
60*0195f75cSGeorge Liu
61*0195f75cSGeorge Liu```text
62*0195f75cSGeorge LiuConfig fields :
63*0195f75cSGeorge Liu
64*0195f75cSGeorge Liutype          : This points to the ChannelType. It can be ME or ipmb channel.
65*0195f75cSGeorge Liuslave-path    : The ipmb device path.
66*0195f75cSGeorge Liubmc-addr      : This is BMC target address to communicate between BMC and device.
67*0195f75cSGeorge Liuremote-addr   : This is Remote/requester target address to communicate between BMC and device.
68*0195f75cSGeorge LiudevIndex      : This devIndex used to identify the particular device/host.
69*0195f75cSGeorge Liu```
70