summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/console
AgeCommit message (Collapse)AuthorFilesLines
2021-12-21meta-phosphor: obmc-console: Add support for multiple portsVivekanand Veeracholan1-14/+40
1. Add support to install multiple console port configuration files. OBMC_CONSOLE_TTYS is space separated list to set multiple ports. Defaults to OBMC_CONSOLE_HOST_TTY. 2. Prioritize picking up port specific configuration over generic one. Tested: Built for single and multi port configuration and verified the presence of correct config file in sysconf directory. Signed-off-by: Vivekanand Veeracholan <vveerach@google.com> Change-Id: Ic918b5830f972adbcfa14e2befa4e3420698825f
2021-12-04obmc-console: Re-introduce OBMC_CONSOLE_HOST_TTY variableOskar Senft1-4/+6
This change re-adds the OBMC_CONSOLE_HOST_TTY configuration variable to define the host TTY that the obmc-consoler-server should attach to. This allows individual machines to use a TTY different from the default ttyVUART0. Follow-up changes can then remove duplicate code in machine meta layers that work around the missing support for OBMC_CONSOLE_HOST_TTY. Tested: Ran a build for both cases with obmc-console.conf and a server.ttyS2.conf. Checked that the files got installed in the correct place with the expected names in both cases. Signed-off-by: Oskar Senft <osk@google.com> Change-Id: I4fc408577827a827ee10de4f5757726a1eec4a66
2021-11-06obmc-console: srcrev bump dc0eec8db7..467d301034Andrew Geissler1-1/+1
Andrew Geissler (1): ssh-console: only enable keepalive option Change-Id: Ia05a1c634f63d2c5ad26570dfaf747681332702d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-11-03obmc-console: srcrev bump 2e93a03daf..dc0eec8db7Andrew Geissler1-1/+1
Andrew Geissler (1): ssh-console: introduce reasonable timeout values Change-Id: I8cac6088806391796ee2bf97c8fb9f6a2925e311 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-27obmc-console: srcrev bump cabd9db06d..2e93a03dafAndrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: If75d27ba1dced34fdf2c96686ef5484554bbf079 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-04meta-phosphor: make discovery bbclass use override syntaxPatrick Williams1-1/+1
In the spirit of consistency with the new upstream override syntax, change phosphor-discovery-service.bbclass to use it and make tree-wide changes as appropriate. After the change checked on Witherspoon on QEMU: ``` root@witherspoon:/etc/avahi/services# ls obmc_console.service obmc_redfish.service obmc_rest.service ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib1fe3cce57a0130378af789abd83b457e0c3a318
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams1-3/+3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2021-04-30obmc-console: srcrev bump d802b11942..cabd9db06dAndrew Geissler1-1/+1
Patrick Williams (1): bootstrap: fix shellcheck warnings Change-Id: Ib15357fce19134618d9a1fc1a77472d3af7a078d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-12meta-phosphor: use systemd_system_unitdirBrad Bishop1-1/+1
This variable was added to bitbake.conf so lets use it. Using it is best pratice and enables things like alternative base_libdir paths. Change-Id: I181d12e02ca7918614dacec68bd8e033932eb0ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-04-27obmc-console: srcrev bump 44036f0b5c..d802b11942Andrew Geissler1-1/+1
Joseph Reynolds (1): Add design notes - UART abstraction (From meta-phosphor rev: 11b52d2aa40becb420fff090149481a8ba37ac2c) Change-Id: I35a62e757362e45cd3cca13e4b16b9ba4c4a7502 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-17obmc-console: srcrev bump fdf1a7102f..44036f0b5cAndrew Geissler1-1/+1
Vijay Khemka (1): conf: Add udev rules for other UARTS (From meta-phosphor rev: 29576d1549c8ee1a8e8fc8ce8f16c39baaee0a01) Change-Id: Icf55e5daec34ed7b2300937a6a92a6dfcb2455ba Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-16obmc-console: Rely on packaged systemd unitsAndrew Jeffery4-52/+39
systemd units are now provided by obmc-console, so remove the in-tree files. (From meta-phosphor rev: 6e0e25f18aaf9e6d10e82b026e7e61bd08f418b5) Change-Id: I22197d78acb39896dcc1ab87adb7f4778e1c84ec Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-09-25Revert "obmc-console: Allow SOL over SSH only for admin"Richard Marian Thomaiyar1-1/+1
As dropbear default value is updated to allow only priv-admin group users in meta-phosphor, this restriction will be applied automatically to all services which uses DROPBEAR_EXTRA_ARGS. As obmc-console uses dropbear with DROPBEAR_EXTRA_ARGS, the commit, which adds -G priv-admin to the service file can be removed now as the same is applied through DROPBEAR_EXTRA_ARGS This reverts commit 9fe68f9906a99c38758ca9ddaa72432b17841af2. (From meta-phosphor rev: 2ca828ac8acb8a00bc816645bddddab0d86aed37) Change-Id: I24bb20a8baf980d6a13f797946cc1cf0c158da7a Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-14obmc-console: Allow SOL over SSH only for adminRichard Marian Thomaiyar1-1/+1
Currently SOL over SSH is enabled for all the users. Restricting the same to admin privilege user only (priv-admin) for security reasons, without which any user will be able to establish the connection Tested: 1. Verified by establishing ssh -p 2200 on priv-admin user and authentication works as expected 2. verified that non-admin users authentication fails as expected (From meta-phosphor rev: 9fe68f9906a99c38758ca9ddaa72432b17841af2) Change-Id: I7cd4a1a0c6ac85c2df277006192ee2cf6616edd8 Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-07Enhance Discovery class infrastructureasmithakarun1-1/+1
The service files contains a 'txt' field, where service-specific data can be added. Addition of this text record facilitates unique identification of IBM BMCs in a network. The idea of this commit is to enhance the bbclass to append a new text record in the avahi static service files. This text record is added only for avahi and not slp. Tested By: The additional data should be in the form of 'Key=Value', else the build will be terminated with the corresponding error. The following possibilities are tested: 1. Key=Value => True 2. Key= => False 3. Key=Value| => True 4. =Value => False 5. Key=Value= => False 6. == => False (From meta-phosphor rev: 2d6aedfb652bc0e6c7657dae586349823e3fb26d) Signed-off-by: asmithakarun <asmithkr@in.ibm.com> Change-Id: Ie0b8466a10097d7fdbfd0c8849a0c0d7145e3923 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-27obmc-console: srcrev bump 5b16dc89f0..c5ce2cbd12Andrew Geissler1-1/+1
Jeremy Kerr (1): tests: Add client escape test (From meta-phosphor rev: 0a858bc3177d189f84e4c6b6af2a54363c61e215) Change-Id: Id47e60d8ee186f4f73d81ab84e0f309e804a1dff Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-26obmc-console: srcrev bump 1cecc5deea..5b16dc89f0Andrew Geissler1-1/+1
William A. Kennington III (4): console-client: Cleanup the escape code console-client: Support an alternate string escape mode console-client: Produce unique exit code when escaped console-client: Fix fixed-string escape mode dropping its last byte (From meta-phosphor rev: c40380cb07d19d601d36c35767a8bcfb4c4167d5) Change-Id: I723d3cc7dd3ce1ea54d2dfea0268361fd4ea14dc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-22meta-phosphor: obmc-console: use BPN in SRC_URIBrad Bishop1-1/+1
A new package_qa test upstream results in this warning: SRC_URI uses PN not BPN [src-uri-bad] obmc-console doesn't support non target config files at the present time but if it did, the desired config file name would probably not be different for different recipe classes so it suffices to simply replace PN with BPN. (From meta-phosphor rev: b9a91af4cf0d69563128d7ddf82f4279b8a57046) Change-Id: I5ab121fec5141ba9cbf99489d69e85af805b6519 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06update upstream subtreesBrad Bishop1-1/+1
A number of corequisites exist so squashing these all into one patch. meta-ingrasys - refresh master bc513127f4..67bcaf389f meta-hxt - refresh master 86a4df514f..8fe0d38bbb meta-phosphor - refresh master 06c09d7cce..df6ddae3d2 meta-quanta - refresh master 4f126361a1..53f3025271 Change-Id: I3daeef2a0467d8ea4f1fd1c617e526f8b11258af Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-25obmc-console: srcrev bump f9c8f6ca86..1cecc5deeaAndrew Geissler1-1/+1
Johnathan Mantey (2): Fix a recursive header include Eliminate excessive CPU consumption when redirecting UART over SSH (From meta-phosphor rev: 941990da016e2abc15b07146c78548863f254870) Change-Id: I98f6c96c77a4d7a2a2e2ed12da0ddcd529e833c1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-24obmc-console: srcrev bump fcf8541b87..f9c8f6ca86Andrew Geissler1-1/+1
Cheng C Yang (1): Change baudrate dynamically through dbus (From meta-phosphor rev: 78289c2be97d9bddb6ad48e1527fe40441eb105f) Change-Id: I5cbd3f752ee9e6252825f47417de4622d10b9115 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-22Add dbus interface support for consoleCheng C Yang1-2/+4
To support changing uart baudrate through dbus interface dynamically, need to involve systemd for dependency. (From meta-phosphor rev: 5e9d3398620140d4e01db844e7cbec74d8bfbba9) Change-Id: Ie94d53f661bdd83831634c672c66d385db069dfe Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-08obmc-console: srcrev bump 1864435759..fcf8541b87Andrew Geissler1-1/+1
Vernon Mauery (1): obmc-console-server: bind/connect with the correct sockaddr size (From meta-phosphor rev: c94931e411e10bce87b8665eb9aefe98628b6284) Change-Id: I52789645cc8e4b62b39f5cc1d9e3b995f01c0ec9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-06meta-phosphor: master refresh 3026b0fa5a..d76a657a63Brad Bishop1-1/+2
Update meta-phosphor to master HEAD. Patrick Venture (52): meta-phosphor: obmc-console: set LICENSE field meta-phosphor: dbus-interfaces: set LICENSE field meta-phosphor: rest-dbus: set LICENSE field meta-phosphor: slpd-lite: set LICENSE field meta-phosphor: ipmi-host: set LICENSE field meta-phosphor: ipmi-net: set LICENSE field meta-phosphor: network: inarp: set LICENSE field meta-phosphor: network: set LICENSE field meta-phosphor: logging: set LICENSE field meta-phosphor: ipmi-tool: fixup LICENSE meta-phosphor: clear-once: set LICENSE field meta-phosphor: preinit-mounts: set LICENSE field meta-phosphor: systemd: obmc-targets: set LICENSE field meta-phosphor: dbus: perms: set LICENSE field meta-phosphor: dbus-interfaces-mapper-config-native: set LICENSE field meta-phosphor: dbus-monitor-config-native: set LICENSE field meta-phosphor: legacy-namespace-mapper-config-native: set LICENSE field meta-phosphor: mapper-config-native: set LICENSE field meta-phosphor: obmc-host-failure-reboots: set LICENSE field meta-phosphor: fan-control-events-config-native: set LICENSE field meta-phosphor: fan-control-fan-config-native: set LICENSE field meta-phosphor: fan-control-zone-conditions-config-native: set LICENSE field meta-phosphor: fan-control-zone-config-native: set LICENSE field meta-phosphor: fan-monitor-config-native: set LICENSE field meta-phosphor: fan-presence-config-native: set LICENSE field meta-phosphor: image-signing: set LICENSE field meta-phosphor: insecure-signing-key-native: set LICENSE field meta-phosphor: inventory-manager-assettag-native: set LICENSE field meta-phosphor: inventory-manager-config-native: set LICENSE field meta-phosphor: ipmi-channel-inventory-native: set LICENSE field meta-phosphor: ipmi-config: set LICENSE field meta-phosphor: ipmi-fru-merge-config-native: set LICENSE field meta-phosphor: ipmi-fru-properties-native: set LICENSE field meta-phosphor: ipmi-fru-read-bmc-inventory-native: set LICENSE field meta-phosphor: ipmi-fru-read-not-sent-by-host-inventory-native: set LICENSE field meta-phosphor: ipmi-fru-whitelist-native: set LICENSE field meta-phosphor: ipmi-inventory-sel-native: set LICENSE field meta-phosphor: ipmi-sensor-config-native: set LICENSE field meta-phosphor: ipmi-sensor-inventory-native: set LICENSE field meta-phosphor: logging-callouts-example-native: set LICENSE field meta-phosphor: logging-error-logs-native: set LICENSE field meta-phosphor: settings-defaults-native: set LICENSE field meta-phosphor: fan-presence-mrw-native: set LICENSE field meta-phosphor: fan-control-fan-config-mrw-native: set LICENSE field meta-phosphor: ipmi-fru-properties-mrw-native: set LICENSE field meta-phosphor: ipmi-inventory-sel-mrw-native: set LICENSE field meta-phosphor: ipmi-sensor-inventory-mrw-config-native: set LICENSE field meta-phosphor: ipmi-sensor-inventory-mrw-native: set LICENSE field meta-phosphor: led-manager-config-mrw-native: set LICENSE field meta-phosphor: logging-callouts-mrw-native: set LICENSE field meta-phosphor: hwmon-config-mrw: set LICENSE field meta-phosphor: settings-read-settings-mrw-native: set LICENSE field Change-Id: Ibe919c3f1a748fae67b45ff6908a236b08902450 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-07obmc-console: srcrev bump 3c89b26348..1864435759Andrew Geissler1-1/+1
Kun Yi (1): log-handler: Init log size properly (From meta-phosphor rev: f21ad258ad56ad549d8f0c0330dffab32f1a1e2d) Change-Id: I602e60176265539311d6231c29e8c300de54d558 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop5-0/+73
Adopt a more conventional directory hierarchy. meta-phosphor is still a _long_ way from suitable for hosting on yoctoproject.org but things like this don't help. (From meta-phosphor rev: 471cfcefa74b8c7ceb704cb670e6d915cf27c63b) Change-Id: I3f106b2f6cdc6cec734be28a6090800546f362eb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>