diff options
author | Lei YU <yulei.sh@bytedance.com> | 2021-09-08 10:21:51 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-11-04 16:28:28 +0300 |
commit | 63beff091aac817713eedcd48fab1ff54136cbf8 (patch) | |
tree | efe6506cffb70f7f50bacc043beec263b85a43de /meta-bytedance/meta-g220a | |
parent | 21b279560776f87290aa186f569d7b5204065dfe (diff) | |
download | openbmc-63beff091aac817713eedcd48fab1ff54136cbf8.tar.xz |
bytedance: g220a: uart: Update the uart-routing path
With the upstream aspeed-uart-routing changes, the user space interface needs
to be updated to use the new path.
Tested: Verify the SOL is working fine on g220a.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I4313d240b2778ef8070214eb19029b559588bcea
Diffstat (limited to 'meta-bytedance/meta-g220a')
-rw-r--r-- | meta-bytedance/meta-g220a/recipes-phosphor/console/obmc-console/obmc-console@.service | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/meta-bytedance/meta-g220a/recipes-phosphor/console/obmc-console/obmc-console@.service b/meta-bytedance/meta-g220a/recipes-phosphor/console/obmc-console/obmc-console@.service index 1a1dfffa1..a4eed736d 100644 --- a/meta-bytedance/meta-g220a/recipes-phosphor/console/obmc-console/obmc-console@.service +++ b/meta-bytedance/meta-g220a/recipes-phosphor/console/obmc-console/obmc-console@.service @@ -4,15 +4,15 @@ BindsTo=dev-%i.device After=dev-%i.device [Service] -ExecStartPre=/bin/sh -c 'echo -n "uart3" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart_routing/uart1' -ExecStartPre=/bin/sh -c 'echo -n "uart1" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart_routing/uart3' -ExecStartPre=/bin/sh -c 'echo -n "io1" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart_routing/uart4' -ExecStartPre=/bin/sh -c 'echo -n "uart4" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart_routing/io1' +ExecStartPre=/bin/sh -c 'echo -n "uart3" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart-routing/uart1' +ExecStartPre=/bin/sh -c 'echo -n "uart1" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart-routing/uart3' +ExecStartPre=/bin/sh -c 'echo -n "io1" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart-routing/uart4' +ExecStartPre=/bin/sh -c 'echo -n "uart4" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart-routing/io1' ExecStart=/usr/bin/env obmc-console-server --config {sysconfdir}/obmc-console.conf %i -ExecStopPost=/bin/sh -c 'echo -n "io1" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart_routing/uart1' -ExecStopPost=/bin/sh -c 'echo -n "io3" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart_routing/uart3' -ExecStopPost=/bin/sh -c 'echo -n "io4" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart_routing/uart4' -ExecStopPost=/bin/sh -c 'echo -n "uart1" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart_routing/io1' +ExecStopPost=/bin/sh -c 'echo -n "io1" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart-routing/uart1' +ExecStopPost=/bin/sh -c 'echo -n "io3" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart-routing/uart3' +ExecStopPost=/bin/sh -c 'echo -n "io4" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart-routing/uart4' +ExecStopPost=/bin/sh -c 'echo -n "uart1" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart-routing/io1' SyslogIdentifier=obmc-console-server Restart=always |