History log of /openbmc/hiomapd/mboxctl.c (Results 1 – 10 of 10)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a804a73c 04-Apr-2019 Andrew Jeffery <andrew@aj.id.au>

mboxctl: Fix retrieval of property-based state

GetDaemonState and GetLpcState were converted from methods to properties
and renamed to DaemonState and LpcState respectively in mboxd. mboxctl
was ove

mboxctl: Fix retrieval of property-based state

GetDaemonState and GetLpcState were converted from methods to properties
and renamed to DaemonState and LpcState respectively in mboxd. mboxctl
was overlooked in the change, so update it to match.

Change-Id: I34f55a036b14c611925b164e354934769e1e0759
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...


# 5320f6e0 14-Mar-2019 Andrew Jeffery <andrew@aj.id.au>

mboxd: Add backend DBus interface and commandline options

Also implement a backend commandline option to mboxctl: `mboxctl
--backend ...`, to allow easy run-time switching of the backend from the
co

mboxd: Add backend DBus interface and commandline options

Also implement a backend commandline option to mboxctl: `mboxctl
--backend ...`, to allow easy run-time switching of the backend from the
commandline.

Switching between VPNOR and file backends via mboxctl was tested on
Witherspoon, and MTD and file backends on Romulus.

Change-Id: Iaf0e27ecf1d5cdd9e3a31729fb179096bbc37408
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...


# 6c4d8ba3 31-Oct-2018 Andrew Jeffery <andrew@aj.id.au>

mboxctl: Fix Control.Resume argument type

The daemon implements the argument with a boolean type parameter but we
were passing a char from mboxctl, which makes the call fail.

Fix the parameter type

mboxctl: Fix Control.Resume argument type

The daemon implements the argument with a boolean type parameter but we
were passing a char from mboxctl, which makes the call fail.

Fix the parameter type in mboxctl to match mboxd.

Change-Id: Ib271d165e823cf9e793e6493cec409c45f82d231
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...


# ef9e62d3 08-Aug-2018 Andrew Jeffery <andrew@aj.id.au>

mboxd: Clean up dbus objects

Change-Id: I24328c8fca02b004b0297ecc2f2a0320bfb23d9b
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>


# fbf74549 06-Aug-2018 Andrew Jeffery <andrew@aj.id.au>

mboxctl: Switch to new DBus interface

Change-Id: I05500784d94f14cf51510c9a6cb81110356ef0e1
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>


# 68023074 05-Aug-2018 Andrew Jeffery <andrew@aj.id.au>

dbus: Mark current command set as legacy

Change-Id: I1b5d1c9262ea6ae0a9ff77c902b6941943085cd1
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>


# 939bd388 05-Aug-2018 Andrew Jeffery <andrew@aj.id.au>

mboxctl: Remove redundant includes

Presumably these were copy/pasted from mboxd.c.

Change-Id: I39957921df86bcc436d4b3e51a76cc75408fd30c
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>


Revision tags: v2.1.1
# 4fe996c2 26-Feb-2018 Andrew Jeffery <andrew@aj.id.au>

misc: Replace license blurb with kernel-style SPDX markers

This was roughly achieved by the following shell script:

$ git ls-files |
grep '\.[ch]p*$' |
while read F; do EXT=${F##*.}; cat spdx.$EX

misc: Replace license blurb with kernel-style SPDX markers

This was roughly achieved by the following shell script:

$ git ls-files |
grep '\.[ch]p*$' |
while read F; do EXT=${F##*.}; cat spdx.$EXT <(sed '/^\/\*$/,/^ \*\/$/d' $F) > ${F}.tmp; mv ${F}.tmp $F; done

With the following context:

$ cat spdx.c
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2018 IBM Corp.
$ cat spdx.h
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright (C) 2018 IBM Corp. */
$ ls -l spdx.*
-rw-r--r-- 1 andrew andrew 71 Feb 27 12:02 spdx.c
lrwxrwxrwx 1 andrew andrew 6 Feb 27 12:02 spdx.cpp -> spdx.c
-rw-r--r-- 1 andrew andrew 77 Feb 27 12:02 spdx.h
lrwxrwxrwx 1 andrew andrew 6 Feb 27 12:02 spdx.hpp -> spdx.h

The `sed` invocation catches a lot of function documentation, so the
hunks were manually added to avoid removing information that we want to
keep.

Change-Id: I63e49ca2593aa0db0568c7a63bfdead388642e76
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...


Revision tags: v2.1.0
# 8d65bb44 01-May-2017 Suraj Jitindar Singh <sjitindarsingh@gmail.com>

version: Update to version 2.1.0

Update to package version V2.1.0 to reflect that a backwards compatible
API change was made. This API change was the introduction of the timeout
to the GET_MBOX_INFO

version: Update to version 2.1.0

Update to package version V2.1.0 to reflect that a backwards compatible
API change was made. This API change was the introduction of the timeout
to the GET_MBOX_INFO command.

This version update also encompasses previous bug fixes.

The versioning scheme is now aligned to semver.

Use the version from config.h for both mboxd and mboxctl instead of an
independant value for the daemon and control programs.

Change-Id: I12d7fe8e40697801594b1727054342613923a784
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>

show more ...


# ddf0edbf 27-Mar-2017 Suraj Jitindar Singh <sjitindarsingh@gmail.com>

mboxctl: Implement mboxctl to facilitate dbus control of the daemon

The daemon can now be controlled by issuing commands over dbus.
Implement a mailbox control program to facilitate communication
wi

mboxctl: Implement mboxctl to facilitate dbus control of the daemon

The daemon can now be controlled by issuing commands over dbus.
Implement a mailbox control program to facilitate communication
with the daemon over dbus.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Change-Id: I2a11f187268d28ce92d3c2592e0021e1ba5588b4

show more ...