objc console new design
Vijay Khemka
vijaykhemka at fb.com
Tue Apr 7 05:41:28 AEST 2020
On 4/5/20, 5:10 AM, "Andrew Jeffery" <andrew at aj.id.au> wrote:
On Sat, 4 Apr 2020, at 08:09, Vijay Khemka wrote:
>
> Hi Andrew,
>
> How is server launched as per new design code. With latest update,
> console server is not launching in our platform. I saw config option
> “OBMC_CONSOLE_HOST_TTY ?= "ttyVUART0" “ has been removed from bb file
> and also there is no triggering point in obmc-console-ssh socket and
> service like earlier Wants=obmc-console@{OBMC_CONSOLE_HOST_TTY}.service
> <mailto:Wants=obmc-console@%7bOBMC_CONSOLE_HOST_TTY%7d.service>.
>
>
> I see udev rules added in latest patch for launching server which needs
> config definition of udev, do we need this for launching, please advise.
Yes, obmc-console now ships a udev rules file that launches obmc-console-server
via an `ENV{SYSTEMD_WANTS}` directive:
If this is mandatory then why do we need to enable UDEV config as it should be enabled by default.
https://github.com/openbmc/obmc-console/commit/fdf1a7102f800711daadfc3895fc8feeffa73c0e#diff-416dba8b88aad2291d9c314cfa7a75f1
I saw on IRC you need to launch obmc-console-server for UARTs other than the
VUARTS - please send a patch to the rules file in obmc-console adding the
UARTs you need. As noted in the commit message systemd will only attempt
to start obmc-console-server for the UARTs that have configuration files installed
on the system, so we can in theory support adding rules for each UART without
negative effects.
Hope that helps,
Andrew
More information about the openbmc
mailing list