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