History log of /openbmc/phosphor-bmc-code-mgmt/subprojects/ (Results 1 – 9 of 9)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
f2c95a0826-Nov-2024 Alexander Hansen <alexander.hansen@9elements.com>

SPI device code updater

This code updater is for updating spi flash devices.
It can for example update the host firmware on different server boards
and has following features:

- power down the host

SPI device code updater

This code updater is for updating spi flash devices.
It can for example update the host firmware on different server boards
and has following features:

- power down the host before update
- set mux gpios to access spi flash
- (very limited) communication with ME (Management Engine)
- use flashrom to utilize fw with IFD (Intel Flash Descriptor)
- otherwise directly write to the flash chip.

The behavior of this code updater can be configured via EM.

Tested: on Tyan S8030 and Tyan S5549 Board. Steps below.

1. Display the fw inventory

```
curl --silent $creds https://$bmc/redfish/v1/UpdateService/FirmwareInventory
```

```
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory",
"@odata.type": "#SoftwareInventoryCollection.SoftwareInventoryCollection",
"Members": [
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/717f6f4d"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/HostSPIFlash_4950"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/bios_active"
}
],
"Members@odata.count": 3,
"Name": "Software Inventory Collection"
}
```

2. Query BIOS version.
The version is "unknown" here since currently there is no interface
enabled via which to query it.

```
curl $creds https://$bmc/redfish/v1/UpdateService/FirmwareInventory/HostSPIFlash_4950
```

```
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/HostSPIFlash_4950",
"@odata.type": "#SoftwareInventory.v1_1_0.SoftwareInventory",
"Description": "Unknown image",
"Id": "HostSPIFlash_4950",
"Name": "Software Inventory",
"Status": {
"Health": "Warning",
"HealthRollup": "OK",
"State": "Disabled"
},
"Updateable": true,
"Version": "unknown"
}
```

3. Trigger the fw update via redfish.

```
curl -k ${creds} \
-H "Content-Type:multipart/form-data" \
-X POST \
-F UpdateParameters="{\"Targets\":[\"/redfish/v1/UpdateService/FirmwareInventory/HostSPIFlash_6041\"],\"@Redfish.OperationApplyTime\":\"Immediate\"};type=application/json" \
-F "UpdateFile=@${fwpath};type=application/octet-stream" \
https://${bmc}/redfish/v1/UpdateService/update
```

4. Task is returned

```
{
"@odata.id": "/redfish/v1/TaskService/Tasks/0",
"@odata.type": "#Task.v1_4_3.Task",
"Id": "0",
"TaskState": "Running",
"TaskStatus": "OK"
}
```

5. Query Task status
```
curl --silent $creds https://$bmc/redfish/v1/TaskService/Tasks/0
```

```
{
"@odata.id": "/redfish/v1/TaskService/Tasks/0",
"@odata.type": "#Task.v1_4_3.Task",
"EndTime": "2025-02-18T14:05:46+00:00",
"HidePayload": false,
"Id": "0",
"Messages": [
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The task with Id '0' has started.",
"MessageArgs": [
"0"
],
"MessageId": "TaskEvent.1.0.TaskStarted",
"MessageSeverity": "OK",
"Resolution": "None."
},
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The task with Id '0' has changed to progress 10 percent complete.",
"MessageArgs": [
"0",
"10"
],
"MessageId": "TaskEvent.1.0.TaskProgressChanged",
"MessageSeverity": "OK",
"Resolution": "None."
},
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The task with Id '0' has changed to progress 20 percent complete.",
"MessageArgs": [
"0",
"20"
],
"MessageId": "TaskEvent.1.0.TaskProgressChanged",
"MessageSeverity": "OK",
"Resolution": "None."
},
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The task with Id '0' has changed to progress 70 percent complete.",
"MessageArgs": [
"0",
"70"
],
"MessageId": "TaskEvent.1.0.TaskProgressChanged",
"MessageSeverity": "OK",
"Resolution": "None."
},
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The task with Id '0' has changed to progress 100 percent complete.",
"MessageArgs": [
"0",
"100"
],
"MessageId": "TaskEvent.1.0.TaskProgressChanged",
"MessageSeverity": "OK",
"Resolution": "None."
},
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The task with Id '0' has completed.",
"MessageArgs": [
"0"
],
"MessageId": "TaskEvent.1.0.TaskCompletedOK",
"MessageSeverity": "OK",
"Resolution": "None."
}
],
"Name": "Task 0",
"Payload": {
"HttpHeaders": [],
"HttpOperation": "POST",
"JsonBody": "null",
"TargetUri": "/redfish/v1/UpdateService/update"
},
"PercentComplete": 90,
"StartTime": "2025-02-18T14:04:47+00:00",
"TaskMonitor": "/redfish/v1/TaskService/TaskMonitors/0",
"TaskState": "Completed",
"TaskStatus": "OK"
}
```

6. Display the fw inventory with newly updated fw.
```
curl --silent $creds https://$bmc/redfish/v1/UpdateService/FirmwareInventory
```

```
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory",
"@odata.type": "#SoftwareInventoryCollection.SoftwareInventoryCollection",
"Members": [
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/717f6f4d"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/HostSPIFlash_8728"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/bios_active"
}
],
"Members@odata.count": 3,
"Name": "Software Inventory Collection"
}
```

7. Query the new fw version.

The version is 'mycompversion' since that's what has been set in the
pldm fw update package for testing.

```
curl $creds https://$bmc/redfish/v1/UpdateService/FirmwareInventory/HostSPIFlash_8728
```

```
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/HostSPIFlash_8728",
"@odata.type": "#SoftwareInventory.v1_1_0.SoftwareInventory",
"Description": "Unknown image",
"Id": "HostSPIFlash_8728",
"Name": "Software Inventory",
"Status": {
"Health": "OK",
"HealthRollup": "OK",
"State": "Enabled"
},
"Updateable": false,
"Version": "mycompversion"
}
```

Change-Id: I27803b7fded71af2364c2f55fad841a410603dec
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>

show more ...


/openbmc/phosphor-bmc-code-mgmt/bios/README.md
/openbmc/phosphor-bmc-code-mgmt/bios/bios_software_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/bios/bios_software_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/bios/main.cpp
/openbmc/phosphor-bmc-code-mgmt/bios/meson.build
/openbmc/phosphor-bmc-code-mgmt/bios/spi_device.cpp
/openbmc/phosphor-bmc-code-mgmt/bios/spi_device.hpp
/openbmc/phosphor-bmc-code-mgmt/bios/xyz.openbmc_project.Software.BIOS.service
/openbmc/phosphor-bmc-code-mgmt/bmc/sync-once.sh
/openbmc/phosphor-bmc-code-mgmt/common/README.md
/openbmc/phosphor-bmc-code-mgmt/common/include/NotifyWatch.hpp
/openbmc/phosphor-bmc-code-mgmt/common/include/dbus_helper.hpp
/openbmc/phosphor-bmc-code-mgmt/common/include/device.hpp
/openbmc/phosphor-bmc-code-mgmt/common/include/host_power.hpp
/openbmc/phosphor-bmc-code-mgmt/common/include/software.hpp
/openbmc/phosphor-bmc-code-mgmt/common/include/software_config.hpp
/openbmc/phosphor-bmc-code-mgmt/common/include/software_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/common/include/software_update.hpp
/openbmc/phosphor-bmc-code-mgmt/common/meson.build
/openbmc/phosphor-bmc-code-mgmt/common/pldm/package_parser.cpp
/openbmc/phosphor-bmc-code-mgmt/common/pldm/pldm_package_util.cpp
/openbmc/phosphor-bmc-code-mgmt/common/pldm/pldm_package_util.hpp
/openbmc/phosphor-bmc-code-mgmt/common/src/device.cpp
/openbmc/phosphor-bmc-code-mgmt/common/src/host_power.cpp
/openbmc/phosphor-bmc-code-mgmt/common/src/software.cpp
/openbmc/phosphor-bmc-code-mgmt/common/src/software_config.cpp
/openbmc/phosphor-bmc-code-mgmt/common/src/software_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/common/src/software_update.cpp
/openbmc/phosphor-bmc-code-mgmt/meson.build
/openbmc/phosphor-bmc-code-mgmt/meson.options
libgpiod.wrap
/openbmc/phosphor-bmc-code-mgmt/test/common/exampledevice/example_device.cpp
/openbmc/phosphor-bmc-code-mgmt/test/common/exampledevice/example_device.hpp
/openbmc/phosphor-bmc-code-mgmt/test/common/exampledevice/example_updater_main.cpp
/openbmc/phosphor-bmc-code-mgmt/test/common/exampledevice/meson.build
/openbmc/phosphor-bmc-code-mgmt/test/common/meson.build
/openbmc/phosphor-bmc-code-mgmt/test/create_package/create_pldm_fw_package.cpp
/openbmc/phosphor-bmc-code-mgmt/test/meson.build
ec807fcb03-Feb-2025 Patrick Williams <patrick@stwcx.xyz>

meson: reformat with meson formatter

Apply the `meson format` results.

Change-Id: Ifc60fd8e7091d83202753a57f215667613f1691c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

ac3f93e617-Jan-2025 Christopher Meis <christopher.meis@9elements.com>

Fix broken download link to boost_1.84 and update version to boost_1.86

[1] https://github.com/boostorg/boost/issues/996#issuecomment-2567031602

Change-Id: I0092e7e0a3205bb1ee206af3a65f60de6e6186b4

Fix broken download link to boost_1.84 and update version to boost_1.86

[1] https://github.com/boostorg/boost/issues/996#issuecomment-2567031602

Change-Id: I0092e7e0a3205bb1ee206af3a65f60de6e6186b4
Signed-off-by: Christopher Meis <christopher.meis@9elements.com>

show more ...

5c7c841f29-Jan-2025 Patrick Williams <patrick@stwcx.xyz>

meson: add libpldm wrap file

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib554f7e697641c941a4275f021a8207a5cdb5472


/openbmc/phosphor-bmc-code-mgmt/.clang-format
/openbmc/phosphor-bmc-code-mgmt/.clang-tidy
/openbmc/phosphor-bmc-code-mgmt/OWNERS
/openbmc/phosphor-bmc-code-mgmt/bmc/activation.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/activation.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/detect-slot-aspeed
/openbmc/phosphor-bmc-code-mgmt/bmc/download_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/download_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/download_manager_main.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/flash.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/force-reboot.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/gen-bios-tar
/openbmc/phosphor-bmc-code-mgmt/bmc/image_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/image_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/image_manager_main.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/image_verify.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/image_verify.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/images.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/images.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/item_updater.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/item_updater.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/item_updater_helper.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/item_updater_main.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/meson.build
/openbmc/phosphor-bmc-code-mgmt/bmc/mmc/flash.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/mmc/item_updater_helper.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/mmc/obmc-flash-mmc-mirroruboot.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/mmc/obmc-flash-mmc-mount.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/mmc/obmc-flash-mmc-remove@.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/mmc/obmc-flash-mmc-setprimary@.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/mmc/obmc-flash-mmc-umount.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/mmc/obmc-flash-mmc@.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/msl_verify.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/msl_verify.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/obmc-flash-bmc
/openbmc/phosphor-bmc-code-mgmt/bmc/obmc-flash-bmc-setenv@.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/obmc-flash-host-bios@.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/openssl_alloc.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/openssl_alloc.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/reboot-guard-disable.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/reboot-guard-enable.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/reset-cs0-aspeed
/openbmc/phosphor-bmc-code-mgmt/bmc/serialize.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/serialize.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/side-switch/meson.build
/openbmc/phosphor-bmc-code-mgmt/bmc/side-switch/phosphor-bmc-side-switch.service
/openbmc/phosphor-bmc-code-mgmt/bmc/side-switch/side_switch.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/side-switch/side_switch.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/software.conf
/openbmc/phosphor-bmc-code-mgmt/bmc/software_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/software_utils.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/software_utils.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/static/flash.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/static/item_updater_helper.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/static/obmc-flash-bmc-alt@.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/static/obmc-flash-bmc-prepare-for-sync.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/static/obmc-flash-bmc-static-mount-alt.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/sync-once.sh
/openbmc/phosphor-bmc-code-mgmt/bmc/sync_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/sync_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/sync_manager_main.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/sync_watch.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/sync_watch.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/synclist
/openbmc/phosphor-bmc-code-mgmt/bmc/test/README.md
/openbmc/phosphor-bmc-code-mgmt/bmc/test/utest.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/flash.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/item_updater_helper.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/obmc-flash-bmc-cleanup.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/obmc-flash-bmc-mirroruboot.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/obmc-flash-bmc-ubiremount.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/obmc-flash-bmc-ubiro-remove@.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/obmc-flash-bmc-ubiro@.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/obmc-flash-bmc-ubirw-remove.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/obmc-flash-bmc-ubirw.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/obmc-flash-bmc-updateubootvars@.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/update_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/update_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/usb/70-bmc-usb.rules
/openbmc/phosphor-bmc-code-mgmt/bmc/usb/meson.build
/openbmc/phosphor-bmc-code-mgmt/bmc/usb/services/usb-code-update@.service
/openbmc/phosphor-bmc-code-mgmt/bmc/usb/usb_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/usb/usb_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/usb/usb_manager_main.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/usr-local.mount.in
/openbmc/phosphor-bmc-code-mgmt/bmc/utils.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/utils.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/version.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/version.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/watch.cpp
/openbmc/phosphor-bmc-code-mgmt/bmc/watch.hpp
/openbmc/phosphor-bmc-code-mgmt/bmc/xyz.openbmc_project.Software.BMC.Updater.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/xyz.openbmc_project.Software.Download.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/xyz.openbmc_project.Software.Manager.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/xyz.openbmc_project.Software.Sync.service.in
/openbmc/phosphor-bmc-code-mgmt/bmc/xyz.openbmc_project.Software.Version.service.in
/openbmc/phosphor-bmc-code-mgmt/meson.build
/openbmc/phosphor-bmc-code-mgmt/meson.options
libpldm.wrap
/openbmc/phosphor-bmc-code-mgmt/test/create_package/component_image_info_area.cpp
/openbmc/phosphor-bmc-code-mgmt/test/create_package/component_image_info_area.hpp
/openbmc/phosphor-bmc-code-mgmt/test/create_package/create_pldm_fw_package.cpp
/openbmc/phosphor-bmc-code-mgmt/test/create_package/create_pldm_fw_package.hpp
/openbmc/phosphor-bmc-code-mgmt/test/create_package/firmware_device_id_area.cpp
/openbmc/phosphor-bmc-code-mgmt/test/create_package/firmware_device_id_area.hpp
/openbmc/phosphor-bmc-code-mgmt/test/create_package/meson.build
/openbmc/phosphor-bmc-code-mgmt/test/meson.build
ee3ba93c02-Apr-2024 Konstantin Aladyshev <aladyshev22@gmail.com>

meson: Provide wrap file for boost

Currently local build on the system without boost can fail with
the following message:
"""
meson.build: ERROR: Dependency "boost" not found, tried system
"""
Provi

meson: Provide wrap file for boost

Currently local build on the system without boost can fail with
the following message:
"""
meson.build: ERROR: Dependency "boost" not found, tried system
"""
Provide "boost.wrap" file to fix the issue.

Change-Id: Ia0344626f844c8f2da4cb3322819730549ad8d4f
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>

show more ...


/openbmc/phosphor-bmc-code-mgmt/.clang-format
/openbmc/phosphor-bmc-code-mgmt/.gitignore
/openbmc/phosphor-bmc-code-mgmt/.shellcheck
/openbmc/phosphor-bmc-code-mgmt/OWNERS
/openbmc/phosphor-bmc-code-mgmt/README.md
/openbmc/phosphor-bmc-code-mgmt/activation.cpp
/openbmc/phosphor-bmc-code-mgmt/activation.hpp
/openbmc/phosphor-bmc-code-mgmt/download_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/download_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/download_manager_main.cpp
/openbmc/phosphor-bmc-code-mgmt/flash.hpp
/openbmc/phosphor-bmc-code-mgmt/gen-bios-tar
/openbmc/phosphor-bmc-code-mgmt/image_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/image_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/image_manager_main.cpp
/openbmc/phosphor-bmc-code-mgmt/image_verify.cpp
/openbmc/phosphor-bmc-code-mgmt/image_verify.hpp
/openbmc/phosphor-bmc-code-mgmt/item_updater.cpp
/openbmc/phosphor-bmc-code-mgmt/item_updater.hpp
/openbmc/phosphor-bmc-code-mgmt/item_updater_helper.hpp
/openbmc/phosphor-bmc-code-mgmt/item_updater_main.cpp
/openbmc/phosphor-bmc-code-mgmt/meson.build
/openbmc/phosphor-bmc-code-mgmt/meson.options
/openbmc/phosphor-bmc-code-mgmt/mmc/flash.cpp
/openbmc/phosphor-bmc-code-mgmt/mmc/item_updater_helper.cpp
/openbmc/phosphor-bmc-code-mgmt/mmc/obmc-flash-mmc-mirroruboot.service.in
/openbmc/phosphor-bmc-code-mgmt/mmc/obmc-flash-mmc-mount.service.in
/openbmc/phosphor-bmc-code-mgmt/msl_verify.cpp
/openbmc/phosphor-bmc-code-mgmt/msl_verify.hpp
/openbmc/phosphor-bmc-code-mgmt/obmc-flash-bmc
/openbmc/phosphor-bmc-code-mgmt/openssl_alloc.hpp
/openbmc/phosphor-bmc-code-mgmt/reboot-guard-disable.service.in
/openbmc/phosphor-bmc-code-mgmt/reboot-guard-enable.service.in
/openbmc/phosphor-bmc-code-mgmt/serialize.cpp
/openbmc/phosphor-bmc-code-mgmt/serialize.hpp
/openbmc/phosphor-bmc-code-mgmt/side-switch/meson.build
/openbmc/phosphor-bmc-code-mgmt/side-switch/phosphor-bmc-side-switch.service
/openbmc/phosphor-bmc-code-mgmt/side-switch/side_switch.cpp
/openbmc/phosphor-bmc-code-mgmt/side-switch/side_switch.hpp
/openbmc/phosphor-bmc-code-mgmt/static/flash.cpp
boost.wrap
packagefiles/boost/meson.build
/openbmc/phosphor-bmc-code-mgmt/sync-once.sh
/openbmc/phosphor-bmc-code-mgmt/sync_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/sync_manager_main.cpp
/openbmc/phosphor-bmc-code-mgmt/sync_watch.cpp
/openbmc/phosphor-bmc-code-mgmt/test/README.md
/openbmc/phosphor-bmc-code-mgmt/test/utest.cpp
/openbmc/phosphor-bmc-code-mgmt/ubi/flash.cpp
/openbmc/phosphor-bmc-code-mgmt/ubi/item_updater_helper.cpp
/openbmc/phosphor-bmc-code-mgmt/usb/meson.build
/openbmc/phosphor-bmc-code-mgmt/usb/usb_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/usb/usb_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/utils.cpp
/openbmc/phosphor-bmc-code-mgmt/utils.hpp
/openbmc/phosphor-bmc-code-mgmt/version.cpp
/openbmc/phosphor-bmc-code-mgmt/version.hpp
/openbmc/phosphor-bmc-code-mgmt/watch.cpp
/openbmc/phosphor-bmc-code-mgmt/xyz.openbmc_project.Software.BMC.Updater.service.in
c026f6cd21-Mar-2022 Patrick Williams <patrick@stwcx.xyz>

meson: simplify dependencies

Leverage wrapfile `[provide]` directives to simplify the dependency
searching in the meson.build.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia27d54

meson: simplify dependencies

Leverage wrapfile `[provide]` directives to simplify the dependency
searching in the meson.build.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia27d543a9c13b2c6973ab394ed88cd12d93e88a8

show more ...


/openbmc/phosphor-bmc-code-mgmt/MAINTAINERS
/openbmc/phosphor-bmc-code-mgmt/OWNERS
/openbmc/phosphor-bmc-code-mgmt/activation.cpp
/openbmc/phosphor-bmc-code-mgmt/detect-slot-aspeed
/openbmc/phosphor-bmc-code-mgmt/image_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/image_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/image_verify.cpp
/openbmc/phosphor-bmc-code-mgmt/image_verify.hpp
/openbmc/phosphor-bmc-code-mgmt/item_updater.cpp
/openbmc/phosphor-bmc-code-mgmt/item_updater.hpp
/openbmc/phosphor-bmc-code-mgmt/item_updater_helper.hpp
/openbmc/phosphor-bmc-code-mgmt/meson.build
/openbmc/phosphor-bmc-code-mgmt/meson_options.txt
/openbmc/phosphor-bmc-code-mgmt/mmc/flash.cpp
/openbmc/phosphor-bmc-code-mgmt/mmc/item_updater_helper.cpp
/openbmc/phosphor-bmc-code-mgmt/mmc/obmc-flash-mmc-mount.service.in
/openbmc/phosphor-bmc-code-mgmt/mmc/obmc-flash-mmc-setprimary@.service.in
/openbmc/phosphor-bmc-code-mgmt/mmc/obmc-flash-mmc-umount.service.in
/openbmc/phosphor-bmc-code-mgmt/mmc/obmc-flash-mmc@.service.in
/openbmc/phosphor-bmc-code-mgmt/obmc-flash-bmc
/openbmc/phosphor-bmc-code-mgmt/reset-cs0-aspeed
/openbmc/phosphor-bmc-code-mgmt/serialize.cpp
/openbmc/phosphor-bmc-code-mgmt/serialize.hpp
/openbmc/phosphor-bmc-code-mgmt/static/flash.cpp
/openbmc/phosphor-bmc-code-mgmt/static/item_updater_helper.cpp
/openbmc/phosphor-bmc-code-mgmt/static/obmc-flash-bmc-alt@.service.in
/openbmc/phosphor-bmc-code-mgmt/static/obmc-flash-bmc-prepare-for-sync.service.in
/openbmc/phosphor-bmc-code-mgmt/static/obmc-flash-bmc-static-mount-alt.service.in
CLI11.wrap
phosphor-dbus-interfaces.wrap
phosphor-logging.wrap
sdbusplus.wrap
sdeventplus.wrap
/openbmc/phosphor-bmc-code-mgmt/sync-once.sh
/openbmc/phosphor-bmc-code-mgmt/ubi/flash.cpp
/openbmc/phosphor-bmc-code-mgmt/ubi/item_updater_helper.cpp
/openbmc/phosphor-bmc-code-mgmt/ubi/obmc-flash-bmc-updateubootvars@.service.in
/openbmc/phosphor-bmc-code-mgmt/usb/70-bmc-usb.rules
/openbmc/phosphor-bmc-code-mgmt/usb/meson.build
/openbmc/phosphor-bmc-code-mgmt/usb/services/usb-code-update@.service
/openbmc/phosphor-bmc-code-mgmt/usb/usb_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/usb/usb_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/usb/usb_manager_main.cpp
/openbmc/phosphor-bmc-code-mgmt/utils.cpp
/openbmc/phosphor-bmc-code-mgmt/utils.hpp
/openbmc/phosphor-bmc-code-mgmt/version.cpp
/openbmc/phosphor-bmc-code-mgmt/version.hpp
/openbmc/phosphor-bmc-code-mgmt/xyz/openbmc_project/Software/Image/meson.build
5107c45f09-Nov-2021 George Liu <liuxiwei@inspur.com>

usb: Update the RequestedActivation property

Subscribe to the add software interface, when an update is detected,
call back the updateActivation method and verify whether it needs
to be updated. If

usb: Update the RequestedActivation property

Subscribe to the add software interface, when an update is detected,
call back the updateActivation method and verify whether it needs
to be updated. If necessary:
1. Set ApplyTime to OnReset to prevent the bmc from restarting
immediately after the update.
2. Change the RequestedActivation attribute value and start to update
the image bmc.

Tested: Manually start the phopshor-usb-manager daemon, and saw that
the bmc upgrade file(*.tar) has been copied to /tmp/images and
the update has been triggered, and bmc has not been restarted
immediately.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ic650e34f8ec61d3c826332d28275db90f9ef348e

show more ...

cc74233c20-Oct-2021 George Liu <liuxiwei@inspur.com>

usb: Initialize USB Code Update

Compile the USB Code Update function after enabling `usb-code-update`,
and expect to pass in the name of the USB mount folder when calling
the process.

Also, the dep

usb: Initialize USB Code Update

Compile the USB Code Update function after enabling `usb-code-update`,
and expect to pass in the name of the USB mount folder when calling
the process.

Also, the dependency of CLI11 has been added.

Tested: enabled `usb-code-update` and built `phosphor-bmc-code-mgmt`
successfully and check that there is a `phosphor-usb-code-update`
process in image-bmc.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Iedfb63c3866cc8542afef9b54bfeaaf5f7b40c6b

show more ...

4026702d26-Aug-2021 Patrick Williams <patrick@stwcx.xyz>

build: support building with subprojects

Enable everything to build outside of an OE-SDK by leveraging
subproject wrap files. Needed to update C++ to C++20 as well
in order to allow phosphor-loggin

build: support building with subprojects

Enable everything to build outside of an OE-SDK by leveraging
subproject wrap files. Needed to update C++ to C++20 as well
in order to allow phosphor-logging to compile.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I43f5fcd53ef3ac024d7b5ce50fd035903d08bab0

show more ...


/openbmc/phosphor-bmc-code-mgmt/.clang-format
/openbmc/phosphor-bmc-code-mgmt/.gitignore
/openbmc/phosphor-bmc-code-mgmt/LICENSE
/openbmc/phosphor-bmc-code-mgmt/MAINTAINERS
/openbmc/phosphor-bmc-code-mgmt/README.md
/openbmc/phosphor-bmc-code-mgmt/activation.cpp
/openbmc/phosphor-bmc-code-mgmt/activation.hpp
/openbmc/phosphor-bmc-code-mgmt/download_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/download_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/download_manager_main.cpp
/openbmc/phosphor-bmc-code-mgmt/elog-errors.hpp
/openbmc/phosphor-bmc-code-mgmt/flash.hpp
/openbmc/phosphor-bmc-code-mgmt/force-reboot.service.in
/openbmc/phosphor-bmc-code-mgmt/gen-bios-tar
/openbmc/phosphor-bmc-code-mgmt/image_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/image_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/image_manager_main.cpp
/openbmc/phosphor-bmc-code-mgmt/image_verify.cpp
/openbmc/phosphor-bmc-code-mgmt/image_verify.hpp
/openbmc/phosphor-bmc-code-mgmt/images.cpp
/openbmc/phosphor-bmc-code-mgmt/images.hpp
/openbmc/phosphor-bmc-code-mgmt/item_updater.cpp
/openbmc/phosphor-bmc-code-mgmt/item_updater.hpp
/openbmc/phosphor-bmc-code-mgmt/item_updater_helper.hpp
/openbmc/phosphor-bmc-code-mgmt/item_updater_main.cpp
/openbmc/phosphor-bmc-code-mgmt/meson.build
/openbmc/phosphor-bmc-code-mgmt/meson_options.txt
/openbmc/phosphor-bmc-code-mgmt/mmc/flash.cpp
/openbmc/phosphor-bmc-code-mgmt/mmc/item_updater_helper.cpp
/openbmc/phosphor-bmc-code-mgmt/mmc/obmc-flash-mmc-mount.service.in
/openbmc/phosphor-bmc-code-mgmt/mmc/obmc-flash-mmc-remove@.service.in
/openbmc/phosphor-bmc-code-mgmt/mmc/obmc-flash-mmc-setprimary@.service.in
/openbmc/phosphor-bmc-code-mgmt/mmc/obmc-flash-mmc-umount.service.in
/openbmc/phosphor-bmc-code-mgmt/mmc/obmc-flash-mmc@.service.in
/openbmc/phosphor-bmc-code-mgmt/msl_verify.cpp
/openbmc/phosphor-bmc-code-mgmt/msl_verify.hpp
/openbmc/phosphor-bmc-code-mgmt/obmc-flash-bmc
/openbmc/phosphor-bmc-code-mgmt/obmc-flash-bmc-setenv@.service.in
/openbmc/phosphor-bmc-code-mgmt/obmc-flash-host-bios@.service.in
/openbmc/phosphor-bmc-code-mgmt/openssl_alloc.cpp
/openbmc/phosphor-bmc-code-mgmt/openssl_alloc.hpp
/openbmc/phosphor-bmc-code-mgmt/reboot-guard-disable.service.in
/openbmc/phosphor-bmc-code-mgmt/reboot-guard-enable.service.in
/openbmc/phosphor-bmc-code-mgmt/serialize.cpp
/openbmc/phosphor-bmc-code-mgmt/serialize.hpp
/openbmc/phosphor-bmc-code-mgmt/software.conf
/openbmc/phosphor-bmc-code-mgmt/static/flash.cpp
/openbmc/phosphor-bmc-code-mgmt/static/item_updater_helper.cpp
cereal.wrap
phosphor-dbus-interfaces.wrap
phosphor-logging.wrap
sdbusplus.wrap
/openbmc/phosphor-bmc-code-mgmt/sync_manager.cpp
/openbmc/phosphor-bmc-code-mgmt/sync_manager.hpp
/openbmc/phosphor-bmc-code-mgmt/sync_manager_main.cpp
/openbmc/phosphor-bmc-code-mgmt/sync_watch.cpp
/openbmc/phosphor-bmc-code-mgmt/sync_watch.hpp
/openbmc/phosphor-bmc-code-mgmt/synclist
/openbmc/phosphor-bmc-code-mgmt/test/README.md
/openbmc/phosphor-bmc-code-mgmt/test/utest.cpp
/openbmc/phosphor-bmc-code-mgmt/ubi/flash.cpp
/openbmc/phosphor-bmc-code-mgmt/ubi/item_updater_helper.cpp
/openbmc/phosphor-bmc-code-mgmt/ubi/obmc-flash-bmc-cleanup.service.in
/openbmc/phosphor-bmc-code-mgmt/ubi/obmc-flash-bmc-mirroruboot.service.in
/openbmc/phosphor-bmc-code-mgmt/ubi/obmc-flash-bmc-ubiremount.service.in
/openbmc/phosphor-bmc-code-mgmt/ubi/obmc-flash-bmc-ubiro-remove@.service.in
/openbmc/phosphor-bmc-code-mgmt/ubi/obmc-flash-bmc-ubiro@.service.in
/openbmc/phosphor-bmc-code-mgmt/ubi/obmc-flash-bmc-ubirw-remove.service.in
/openbmc/phosphor-bmc-code-mgmt/ubi/obmc-flash-bmc-ubirw.service.in
/openbmc/phosphor-bmc-code-mgmt/ubi/obmc-flash-bmc-updateubootvars@.service.in
/openbmc/phosphor-bmc-code-mgmt/usr-local.mount.in
/openbmc/phosphor-bmc-code-mgmt/utils.cpp
/openbmc/phosphor-bmc-code-mgmt/utils.hpp
/openbmc/phosphor-bmc-code-mgmt/version.cpp
/openbmc/phosphor-bmc-code-mgmt/version.hpp
/openbmc/phosphor-bmc-code-mgmt/watch.cpp
/openbmc/phosphor-bmc-code-mgmt/watch.hpp
/openbmc/phosphor-bmc-code-mgmt/xyz.openbmc_project.Software.BMC.Updater.service.in
/openbmc/phosphor-bmc-code-mgmt/xyz.openbmc_project.Software.Download.service.in
/openbmc/phosphor-bmc-code-mgmt/xyz.openbmc_project.Software.Sync.service.in
/openbmc/phosphor-bmc-code-mgmt/xyz.openbmc_project.Software.Version.service.in
/openbmc/phosphor-bmc-code-mgmt/xyz/openbmc_project/Software/Image.errors.yaml
/openbmc/phosphor-bmc-code-mgmt/xyz/openbmc_project/Software/Image.metadata.yaml
/openbmc/phosphor-bmc-code-mgmt/xyz/openbmc_project/Software/Image/meson.build