Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|