#
9c2e8362 |
| 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: I4cc78e59d8341dd5ea54ee2793afdab179b259e8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
#
55d960bf |
| 23-Aug-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: I9c373a66b0345991726a6
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: I9c373a66b0345991726a6be778d7457b8483b075 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
f1c89eff |
| 29-Mar-2024 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
meson: Update meson version to 0.59.0
Since project uses features which were added in meson 0.59.0 ('feature_option.allowed()'), update meson requirement to that version.
Change-Id: If7e9540a9871ac
meson: Update meson version to 0.59.0
Since project uses features which were added in meson 0.59.0 ('feature_option.allowed()'), update meson requirement to that version.
Change-Id: If7e9540a9871ac2b824ad702303df892456d9331 Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
show more ...
|
#
0ff7100b |
| 12-Apr-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: remove deprecated get_pkgconfig_variable
Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In meson 0.58 the `get_variable` was enhanced to no longer require the `pkgconfig
meson: remove deprecated get_pkgconfig_variable
Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In meson 0.58 the `get_variable` was enhanced to no longer require the `pkgconfig` keyword argument. Ensure meson 0.58 is required and update the usage of all `get_pkgconfig_variable` and `get_variable` to be the modern variant.
Change-Id: I27f71195ffb92a3e3224022edca33d8cc249bacd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
2f187348 |
| 20-Apr-2022 |
John Wedig <johnwedig@google.com> |
Add systemd service file
Add a systemd service file for eStoraged, so that it starts up automatically. Now that eStoraged can dynamically look for config objects and doesn't need a hard-coded device
Add systemd service file
Add a systemd service file for eStoraged, so that it starts up automatically. Now that eStoraged can dynamically look for config objects and doesn't need a hard-coded device filename, it makes sense to have a service file in this repo now.
Tested: Made some corresponding changes to the eStoraged recipe, then verified that eStoraged automatically starts up on a BMC when included in the image.
Signed-off-by: John Wedig <johnwedig@google.com> Change-Id: Id701bde62c2ca4206b980660340eec678e062ede
show more ...
|
#
59dffa63 |
| 13-Jan-2022 |
John Edward Broadbent <jebr@google.com> |
Add crypto Erase to eStorageD.
The goal is to erase the keys that are used to decrypt the drive. After the keys are erased it will not be possible to decrypt the drive, even if the password can be r
Add crypto Erase to eStorageD.
The goal is to erase the keys that are used to decrypt the drive. After the keys are erased it will not be possible to decrypt the drive, even if the password can be recalled. The data is forever inaccessible.
Testing:
$ systemctl stop emmc.service
$ /eStoraged -b /dev/mmcblk0 &
$ busctl call xyz.openbmc_project.eStoraged.mmcblk0 /xyz/openbmc_project/storage/mmcblk0 xyz.openbmc_project.Inventory.Item.Volume FormatLuks ays 3 1 2 3 xyz.openbmc_project.Inventory.Item.Volume.FilesystemType.ext4
$ busctl call xyz.openbmc_project.eStoraged.mmcblk0 /xyz/openbmc_project/storage/mmcblk0 xyz.openbmc_project.Inventory.Item.Volume Lock
$ busctl call xyz.openbmc_project.eStoraged.mmcblk0 /xyz/openbmc_project/storage/mmcblk0 xyz.openbmc_project.Inventory.Item.Volume Erase s xyz.openbmc_project.Inventory.Item.Volume.EraseMethod.CryptoErase
$ busctl call xyz.openbmc_project.eStoraged.mmcblk0 /xyz/openbmc_project/storage/mmcblk0 xyz.openbmc_project.Inventory.Item.Volume Unlock ay 3 1 2 3 Call failed: The operation failed internally.
Signed-off-by: John Edward Broadbent <jebr@google.com> Change-Id: I3221e82a92c1b555e2379b19c9e1d5b6e4b02f9b
show more ...
|
#
972c3faa |
| 29-Dec-2021 |
John Wedig <johnwedig@google.com> |
Switch to new D-Bus interface
Now that the eStoraged interface is in phosphor-dbus-interfaces, we can remove the yaml files from this repo and switch to the new interface in phosphor-dbus-interfaces
Switch to new D-Bus interface
Now that the eStoraged interface is in phosphor-dbus-interfaces, we can remove the yaml files from this repo and switch to the new interface in phosphor-dbus-interfaces. Note that the new interface is slightly different. Some functions have different arguments, and the eStoraged-specific errors were removed.
Also, the new interface allows for the caller to specify the filesystem type, but for now, only ext4 is supported.
Tested: $ /usr/bin/eStoraged -b /dev/mmcblk0 & $ busctl call xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Volume FormatLuks ays 3 1 2 3 \ xyz.openbmc_project.Inventory.Item.Volume.FilesystemType.ext4 $ busctl call xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Volume Lock $ busctl call xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Volume Unlock ay 3 1 2 3 $ busctl call xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Volume Erase s \ xyz.openbmc_project.Inventory.Item.Volume.EraseMethod.VerifyGeometry
Signed-off-by: John Wedig <johnwedig@google.com> Change-Id: I5477b313ac5342409e2cf53ca70259c17da6269c
show more ...
|
#
e6ffe704 |
| 14-Oct-2021 |
John Edward Broadbent <jebr@google.com> |
Add Erase verifyGeometry
This confirms specified amount of the drive is accessible. The min and max expected drive size are set as a build configuration, and compared against the drive size (found b
Add Erase verifyGeometry
This confirms specified amount of the drive is accessible. The min and max expected drive size are set as a build configuration, and compared against the drive size (found by using the linux ioctl). Also adds testing build files, testing options, and verifyGeometry test.
Tested: Ran eStoraged on a machine with an eMMC, using the following $ ./eStoraged -b /dev/mmcblk0 & $ busctl call xyz.openbmc_project.eStoraged.mmcblk0 \ /xyz/openbmc_project/storage/mmcblk0 \ xyz.openbmc_project.eStoraged Erase ays 1 1 \ xyz.openbmc_project.eStoraged.EraseMethod.VerifyGeometry
Signed-off-by: John Edward Broadbent <jebr@google.com> Change-Id: Ie47f8666996a6085a115d1b86f2643bc278638c5
show more ...
|
#
2098dabe |
| 14-Sep-2021 |
John Wedig <johnwedig@google.com> |
Initial D-Bus interface
This sets up an initial D-Bus interface without any real functionality. It doesn't interact with any storage hardware yet.
The yaml files are included temporarily until the
Initial D-Bus interface
This sets up an initial D-Bus interface without any real functionality. It doesn't interact with any storage hardware yet.
The yaml files are included temporarily until the phosphor-dbus-interfaces review is complete: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/48636
The .clang-tidy file has been removed because clang-tidy can't filter out the generated files. It should be re-enabled when we no longer need to generate the D-Bus sources in this repo.
Signed-off-by: John Edward Broadbent <jebr@google.com> Change-Id: If704e69ef7225257efc7c865424df4421999f62d Signed-off-by: John Wedig <johnwedig@google.com>
show more ...
|