summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/mboxd
AgeCommit message (Collapse)AuthorFilesLines
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-1/+1
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-17Fix path to udev rules filesAnton Blanchard1-2/+2
Use nonarch_base_libdir instead of base_libdir, because the files are always in /lib/udev/rules.d/. On ppc64le base_libdir is lib64, and the files end up in the wrong spot. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Change-Id: I3c24dae293f4166f1ed1826d09d4bde7cd7d0357
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams1-4/+4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2021-05-18mboxbridge: srcrev bump 5ff50e3cbd..5c9264daedAndrew Geissler1-1/+1
Andrew Geissler (2): vpnor: Fix style issues reported by clang tooling vpnor: Fix const decltype() error reported by gcc-11 Andrew Jeffery (2): format-code: Update default clang-format to v11 format-code: Fix formatting failures Change-Id: Ieb244dcdb2140cfac30d6f6c9e431f59e499f8cf Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2020-12-03mboxbridge: srcrev bump dfbeae251c..5ff50e3cbdAndrew Geissler1-1/+1
Adriana Kobylak (1): vpnor: Use the partition in rw if it exists (From meta-phosphor rev: cefa96b33f7a8c6b47567342ca5257552be7d4c6) Change-Id: I0024fa29da489c2ccbfec569dfc009995b97b99d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-22mboxbridge: srcrev bump 2ecad07ca9..dfbeae251cAndrew Geissler1-1/+1
Joel Stanley (1): Disable aspeed mbox backend (From meta-phosphor rev: 39a5949f6d8527c7cb8a8343f83c57f7accb341b) Change-Id: I7d12b885471834ad014458c5d61313dad2258965 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-17mboxbridge: srcrev bump ca5eda8032..2ecad07ca9Andrew Geissler1-1/+1
Andrew Jeffery (2): backend: Ensure ops pointer is valid in backend_init() control: Retain current backend on initialisation failure (From meta-phosphor rev: da5cc95765d44590d9abd65acde527dcef9ac349) Change-Id: I9812a956dfc7c938a1528f5ab65b77cf0a0dfe5c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07mboxd: Enable virtual pnor based on virtual pnor featureAdriana Kobylak1-2/+2
Enable the virtual pnor if the virtual pnor distro feature is enabled instead if ubi is enabled. This allows for systems to choose virtual pnor without having ubi. The ubi include file already includes the virtual pnor include file that adds the virtual pnor feature. (From meta-phosphor rev: decfb373e348356e995d0378e60f024fb9620d60) Change-Id: Iabd8e69f1c05e67f2f62ce9891f3b310c456cc72 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-02-19mboxbridge: srcrev bump 02821c6ae4..ca5eda8032Andrew Geissler1-1/+1
Andrew Jeffery (1): mbox_log_console(): Add explicit fflush() for stdout (From meta-phosphor rev: 0721d42e754d3619fce9b638394a1dcd43c3969c) Change-Id: I46abe32379dba38c4ab5a9935ce5be53d2b0963d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-31mboxbridge: srcrev bump e2744c0e20..02821c6ae4Andrew Geissler1-1/+1
Andrew Jeffery (2): vpnor: partition: Only attempt read() for in-bounds accesses vpnor: partition: Fix file descriptor leaks (From meta-phosphor rev: 16ada430207e41410d2b17f963e3403cc99cc48a) Change-Id: I58c853b536f1c20e89f013fe140d102affd0d909 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-31mboxbridge: srcrev bump 0acc669979..e2744c0e20Andrew Geissler1-1/+1
Alvin Wang (1): Add backend_adjust_offset to avoid the windows overlap Andrew Jeffery (4): vpnor: table: Handle alignment warning README: Spring clean configure: Default-enable virtual pnor vpnor: Avoid mmap() due to lack of support on some filesystems (From meta-phosphor rev: 8b3f30b3b9f45c9e0782be52d0f09c6a65cf1af3) Change-Id: Ida6fdaba7d1d4fed38a314e76aafd9284c55355a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-15warm-reboot: mbox reset with host startAndrew Geissler2-6/+6
As preparation for warm reboot starts (reboot host while keeping the chassis power on), need to ensure any services which are required to run when the host is reboot are in the proper targets The mbox reset is required when the host is rebooted so therefore this service must be in the hoststartmin@.target (From meta-phosphor rev: 7d75693c4e2a1a3690280c6ea6880eb67625d64c) Change-Id: Ib4c42d363cf7ffa94b89b23b13c8adc6c6a10978 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-03mboxd: Remove local aspeed-lpc-ctrl.hJoel Stanley2-44/+0
This userspace kernel header is now shipped in the upstream kernel, and importantly in the kernel uesd by Yocto. This means it does not need to be shipped locally. (From meta-phosphor rev: 2394d8e5ae0e164b459a55551479259bf50377ce) Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I13851f1e3868b522da97b654f39b86eeca6c56bd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-17mboxbridge: srcrev bump 7e3f20d02f..0acc669979Andrew Geissler1-1/+1
Adriana Kobylak (1): vpnor: partition: Add write permissions to writable files (From meta-phosphor rev: 5f70959cdb293dd76333a45adb30338d356c9649) Change-Id: Iacfc43b4e30d10056af29da1eedbdece9468b629 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-07mboxbridge: srcrev bump 4b8203d721..7e3f20d02fAndrew Geissler1-1/+1
Andrew Jeffery (1): autotools: Fix autoconf-archive compatibility issues (From meta-phosphor rev: 00a74fa5ab01ee1ad5cae10ee045206910744e9f) Change-Id: I2439061894126b7aab7da255eefe8d2c53dc7176 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-21mboxbridge: srcrev bump fac3689e77..4b8203d721Andrew Geissler1-1/+1
Andrew Jeffery (1): mboxd: Don't require mbox (From meta-phosphor rev: 4ed1bf02a8c0e0e991701f719c91f50819a07292) Change-Id: I136d98b9a4c608c586edb418ef9e83266bfd1459 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-21mboxd: mbox device is optionalAndrew Jeffery3-5/+0
The poorly-named mboxd daemon can now operate regardless of the presence of /dev/aspeed-mbox. Particularly, OpenPOWER OpenBMC configurations no-longer use this interface for the HIOMAP protocol (it is now run over IPMI instead). Remove hard dependencies on the presence of /dev/aspeed-mbox. (From meta-phosphor rev: 3a63d14149a93e21218fc56c58a7fb7211758e88) Change-Id: I43e5d2bf6acae47b93a8271c02097c7d1c5fa4b6 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-20mboxbridge: srcrev bump a804a73c39..fac3689e77Andrew Geissler1-1/+1
Andrew Jeffery (1): dbus: Unref replies to avoid leaks (From meta-phosphor rev: f147dee2abac1ffcde026305afbc8c63ec107424) Change-Id: Ia609adeac1d8b9517be6ab640bfcbf386c090ad3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16mboxd: Depend on xyz.openbmc_project.Control.HostAndrew Jeffery1-2/+2
This is one of the bus names claimed by ipmid, and according to bea22141ca95 ("Ensure ipmid doesn't start until on dbus") it's the last to be claimed. Depend on this to ensure our required IPMI services are available. I've observed a reasonably reliable difference in behaviour between depending on the canonical service (phosphor-ipmi-host.service) vs the alias (xyz.openbmc_project.Control.Host.service) in that setAttention()s from mboxd state changes were propagated as expected in the latter case but not in the former. (From meta-phosphor rev: 3b0c37e3e0bf2a6f6e9cca7f4f1e49f4c79cc1e1) Change-Id: Ibcda190e28aa169923f80f48ab98a2a2bd890e4a Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-07mboxbridge: srcrev bump 81d27b0453..a804a73c39Andrew Geissler1-1/+1
Andrew Jeffery (2): MAINTAINERS: Remove Suraj mboxctl: Fix retrieval of property-based state (From meta-phosphor rev: f10f4e7815ea475a46142ead96e3a9c3e6c8fcf1) Change-Id: I4349a963c3e50ca6fae27f323493e267dc34c1c9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> 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-04-02mboxbridge: srcrev bump 76c73772c3..81d27b0453Andrew Geissler1-1/+1
Lei YU (1): vpnor: Rename generate-squashfs to generate-tar (From meta-phosphor rev: 8f8127d4b23e0ff647385ea910da707645764f56) Change-Id: I6ad506b9ffdc14d2131a896824136ad61452c185 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-01mboxbridge: srcrev bump ef0c836006..76c73772c3Andrew Geissler1-1/+1
Andrew Jeffery (1): Merge commit 'e50e654bca8df8254c15849c793f9279adcb1182' into master Stewart Smith (1): Add --trace support (in blktrace format) (From meta-phosphor rev: 6e0d1cd81cf885366f513ac192f2a27d0faf595a) Change-Id: Ic3c561b94e6d886a1202dd28c8f7f2711172bcb6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-29mbox: Update SRCREV after history re-writingBrad Bishop1-1/+1
The SHA we were pointing disappeared from the repository. Update to the new HEAD. (From meta-phosphor rev: a8f398d06ead67774bbe9ed08bced16365e689af) Change-Id: Ia91a4d480a8ab44abbcc99acf44889c690dd98b1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-28meta-phosphor: Fix explicit dependencies antipatternBrad Bishop1-1/+0
Out of the box bitbake examines built applications, automatically adds runtime dependencies and thus ensures any library packages dependencies are automatically added to images, sdks, etc. There is no need to list them explicitly in a recipe. Dependencies change over time, and listing them explicitly is likely prone to errors - the net effect being unnecessary shared library packages being installed into images. Consult https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-RDEPENDS for information on when to use explicit runtime dependencies. (From meta-phosphor rev: 26873c99d30b55e21a920c9851f21c3e2eab19f7) Change-Id: I38640d75a2d834c07d45ddcdb0162f1a23f848d9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-28mboxbridge: srcrev bump 4519bb8262..e50e654bcaAndrew Geissler1-1/+1
Stewart Smith (1): Add --trace support (in blktrace format) (From meta-phosphor rev: 3b884a23d2d4d7ad0d60b5380b80d7ea797185e4) Change-Id: I2a540722bed2bd977f29e9697b37716b20d59255 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-21mboxbridge: srcrev bump a042978b03..4519bb8262Andrew Geissler1-1/+1
Andrew Jeffery (10): mboxd: Add backend DBus interface and commandline options control: dbus: Remove unnecessary vpnor header dependency vpnor: Rename mboxd_pnor_partition_table sources to backend vpnor: Consolidate backend and mboxd_pnor_partition_table sources vpnor: Rename pnor_partition_defs sources to ffs vpnor: Rename pnor_partition sources to partition vpnor: Rename pnor_partition_table sources to table Makefiles: Centralise some use of VIRTUAL_PNOR_ENABLED mboxd: Tidy up failure paths on daemon startup Documentation: Remove mboxctl.md (From meta-phosphor rev: ab2d10a602a66b7243f99da8734dfb925bd7f286) Change-Id: Ie9c5f3a62a8fb881c2b6e48f47184a7ec6c7185a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-03-21mboxbridge: srcrev bump 8e1d5dda93..a042978b03Andrew Geissler1-1/+1
Andrew Jeffery (8): vpnor: Shuffle and rework includes for sanity test/mbox: Use assertions for error handling test/mbox: Assert that the flash fd is sane test/flash_copy: Configure MTD device to avoid undefined behaviour vpnor: Test if HBB placement exceeds reserved memory bounds protocol: Introduce protocol_reset() flash: Introduce flash_validate() mboxd: Remove flash API compatibility shim Evan Lojewski (2): mboxd: Add a backend abstraction layer to mboxd. mboxd: Add support for file-backed flash devices. (From meta-phosphor rev: f2712cdceb34947aad63b8c57ed9baadff5ef437) Change-Id: I39d9866d81df5a4a0c14c55e6587dd88474aeab6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-02-19mboxbridge: srcrev bump 9ed627ca50..8e1d5dda93Andrew Geissler1-1/+1
Patrick Venture (2): build: pkg anti-pattern: use defaults build: use pkg_check_modules instead of ax_pkg_check_modules (From meta-phosphor rev: 0b019f94f3e07db176ac7741d23a2ca19a093fab) Change-Id: I1564c10dae5923455c45c887a8a6c097d044e636 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-08mboxbridge: srcrev bump 4c15bb1768..9ed627ca50Andrew Geissler1-1/+1
Andrew Jeffery (4): vpnor: Add write-to-writable-ToC test vpnor: test: Add force_readonly_toc vpnor: Enforce a read-only FFS ToC regardless of flags transport: dbus: Remove ProtocolReset and WindowReset signals (From meta-phosphor rev: 3e16dfc8f960b2054c4b1c8047f02bdb1460f37b) Change-Id: I70eda247a6fd9de2fb772c7457ef4eccd49e46df Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-12-18mboxbridge: srcrev bump fd4fa34d56..4c15bb1768Andrew Geissler1-1/+1
Andrew Jeffery (1): mboxd: Set BMC_EVENT_PROTOCOL_RESET on startup (From meta-phosphor rev: eadc53372636949d1a67470e6a3af1463d8fafb4) Change-Id: I7d79c8184a33243784cd68a80d8c4e239730aef3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-28recipes-phosphor: Fix systemd unit dependences of ipmid, mboxdAndrew Jeffery1-1/+2
With the implementation of DBus and IPMI transports for the HIOMAP protocol, mboxd now depends on ipmid being alive in its shutdown sequence in order to propagate BMC status events to the host firmware. Mark phosphor-ipmi-host.service as depending on org.openbmc.HostIpmi.service and mboxd as depending on phosphor-ipmi-host.service to ensure the mboxd state update event on SIGTERM is propagated to the host before the services are torn down. (From meta-phosphor rev: e66105318af187ba5d4bdbf53668f309785df4f3) Change-Id: Ia9ff24d0d3376d239b56840d666275d20821c7e6 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-28mboxbridge: srcrev bump 5a124ea012..fd4fa34d56Andrew Geissler1-1/+1
Andrew Jeffery (1): protocol: Rework publication of events over DBus transport (From meta-phosphor rev: 1a30f7c798e765d472d2ab5da997c822505e93ea) Change-Id: Ib9e13108105e275177caad9540815cf6abfc0f11 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-08mboxbridge: srcrev bump fab672bde6..5a124ea012Andrew Geissler1-1/+1
Joel Stanley (1): configure: put c++ cruft behind virtual pnor check (From meta-phosphor rev: 6304a66b2ea7a2ce4c2037fbc3bddc6e3b5edde2) Change-Id: Id6d695b2ecf4d45d446ae65be27a4e3610b7748b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-07mboxbridge: srcrev bump 5f86227e16..fab672bde6Andrew Geissler1-1/+1
Andrew Jeffery (4): mboxctl: Fix Control.Resume argument type transport: Fix event handling mboxd: Broadcast the daemon is ready on all transports mboxd: Mark the protocol as reset on shutdown (From meta-phosphor rev: 8214b32c54d43b72cacdefc4f12ce3abfabfcb4f) Change-Id: I2f5475afb4c06c9870ffddc9cf76ccb50a7f5f47 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-22meta-phosphor: mboxd: drop symlinkPatrick Venture2-52/+52
Drop symlink and rename bb for mboxd. (From meta-phosphor rev: 281a99e15a4903a883b2a127701a30b0f337cbdb) Change-Id: I7350cf0c28cdd1ff6a2807d9310c0e0293972e60 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-21meta-phosphor: temp remove PV for git recipesBrad Bishop1-1/+0
In the five step sequence of transitioning an unversioned recipe to a versioned one, PV cannot be explicitly set to 1.0+git${SRCPV} set until the last step. With PV set, _both_ the unversioned recipe and the versioned recipe end up with PV = 1.0 and bitbake will continue to use the unversioned file. This means that when the unversioned bbappends are removed in step 4, the bbappend does not occur. This commit can be reverted once the five step process is complete. For reference, the five step process is: 1. Create a temporary recipe symlink: foo.bb -> foo_git.bb This results in two available PVs for foo: "1.0" (the bitbake default for unversioned recipes) and "git". Further, set the preferred version for foo to "1.0" in the distro configuration otherwise bitbake will choose PV = "git" and existing (unversioned) bbappends will not apply and the build will break. 2. Create a temporary bbappend symlink: foo.bbappend -> foo_%.bbappend This allows the manual override of the preferred version introduced in step 1 to be removed from the distro configuration. 3. Remove the preferred version override introduced in step 1 from the distro configuration. At this point the versioned recipe is now being used. 4. Remove the unversioned bbappends. 5. Remove the unversioned recipe. (From meta-phosphor rev: 883e0238adc8543b28cce8a5d283d2092026da54) Change-Id: I3c5248a41b064462d5a34a7bc6e5438acc107a32 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-19meta-phosphor: mboxd: change versionPatrick Venture1-0/+1
Change version in mboxd.bb (From meta-phosphor rev: 810ac7c7a978b40a755a9736e9e75297f44d3e51) Change-Id: I911d908f01b1a2ecace697030ae1970ab2fc4a9a Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-16meta-phosphor: mboxd: add symlink as gitPatrick Venture1-0/+1
Add a symbolic link to mboxd.bb named _git.bb and sets the preferred version for the recipe. (From meta-phosphor rev: 998e1fdfe23d8a8512282f31d6c55ddd8327d72f) Change-Id: I999f3510ca45a0f7d3351dda17b3d5a1bcc222f5 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-15mboxbridge: srcrev bump 93c8edc9a0..5f86227e16Andrew Geissler1-1/+1
William A. Kennington III (3): format-code: Use the provided clang format clang-format: Pull the format rules from the openbmc/docs repo configure: Update from c++14 to c++17 (From meta-phosphor rev: e1f8b0a8ae8f6d475eac8096d44f8e8b82e4fa60) Change-Id: I4684c41bce7697105caf747d34dd35eb327635d5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-17mboxbridge: srcrev bump 41c337e88b..93c8edc9a0Andrew Geissler1-1/+1
Andrew Jeffery (20): transport: dbus: Add get_info transport: Switch transports as required on GET_MBOX_INFO daemon: Remove the concept of triggering or suppressing events transport: Retain knowledge of setting and clearing of events transport: dbus: Handle events transport: Rework BMC event handling transport: dbus: Implement reset transport: dbus: Implement ack transport: dbus: Implement get_flash_info transport: dbus: Implement create_read_window transport: dbus: Implement create_write_window transport: dbus: Implement close transport: dbus: Implement mark_dirty transport: dbus: Implement flush transport: dbus: Implement erase windows: Include stdbool.h test: Add windows_equally_evictable control: Add FIXME in reset handling vpnor: pnor_partition: Debugging for Request.fulfil() Documentation: Rewrite protocol specification (From meta-phosphor rev: 9bf99183ff4eb33081e86188d5179bfb579f18d9) Change-Id: I8007e879bfa294861369b2ec9201c9517a602107 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-13mboxbridge: srcrev bump acdbdd141e..41c337e88bAndrew Geissler1-1/+1
Andrew Jeffery (66): format-code: Look for clang-format-6.0 as well make: Improve cscope database quality mboxd_lpc_reset: Use SPDX licence header common: Include what we use in the header mboxctl: Remove redundant includes test: bmc_event_ack_v2 must negotiate v2 dbus: Use consistent prefix for dbus function symbols dbus: Mark current command set as legacy dbus: Use new bus name, object and interface mboxctl: Switch to new DBus interface mboxd: Clean up dbus objects windows: Make set_window_bytemap return standard errno mboxd: Rename flash files flash: Rename header guard flash: Drop __cplusplus guard flash: Rename init_flash_dev to flash_dev_init flash: Rename free_flash_dev to flash_dev_free flash: Rename copy_flash to flash_copy flash: Rename set_flash_bytemap to flash_set_bytemap flash: Rename erase_flash to flash_erase flash: Rename write_flash to flash_write mboxd: Rename lpc source files lpc: Rename header-guard lpc: Drop __cplusplus guard lpc: Rename init_lpc_dev to lpc_dev_init lpc: Rename free_lpc_dev to lpc_dev_free lpc: Rename point_to_flash lpc_map_flash lpc: Rename point_to_memory to lpc_map_memory lpc: Rename reset_lpc to lpc_reset mboxd: Rename windows files windows: Rename header guard windows: Add WINDOWS prefix to FLUSH macros windows: Rename init_windows to windows_init windows: Rename free_windows to windows_free windows: Rename write_from_window* to window_flush* windows: Rename alloc_window_dirty_bytemap to windows_alloc_dirty_bytemap windows: Rename set_window_bytemap to window_set_bytemap windows: Rename close_current_window to windows_close_current windows: Rename reset_window to window_reset windows: Rename reset_all_windows to windows_reset_all windows: Rename find_oldest_window to windows_find_oldest windows: Rename find_largest_window to windows_find_largest windows: Rename search_windows to windows_search windows: Rename create_map_window to windows_create_map mboxd: Rename mboxd_msg to transport_mbox protocol: Add get_info protocol: Add reset protocol: Add get_flash_info protocol: Add create_read_window protocol: Add create_write_window protocol: Add mark_dirty protocol: Add erase protocol: Add flush protocol: Add close protocol: Add ack vpnor: Hijack protocol rather than transport transport: mbox: Centralise errno translation mboxd: Cleanup errnos not captured by tests transport: mbox: Drop handler functions from header flash: Move access rate estimate from transport header protocol: Provide abstraction over event notification transport: mbox: Rename dispatch_mbox to transport_mbox_dispatch transport: mbox: Rename *init_mbox_dev to *transport_mbox_init transport: mbox: Rename free_mbox_dev to transport_mbox_free mboxd: Refactor and rename mbox.h to mboxd.h windows: Always allocate a default-size dirty byte map (From meta-phosphor rev: 1ac9bcd0abed292774aba7a78f309a3bc969485d) Change-Id: I0884d707ad679d82a48db540a8881c8f955e83c5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-13mboxd.bb: Replace phosphor-mboxd with mboxbridgeAdriana Kobylak1-1/+1
The phosphor-mboxd repo was a fork of mboxbridge and has been archived. Update the mboxd recipe to point to the mboxbridge which is now the currently maintained repo. (From meta-phosphor rev: a38f5d9c687e8c9988efa8842506dc47587a3495) Change-Id: Ibf0df490b7553de0b22a35262843de2f6e5b0ae4 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop6-0/+123
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>