commit | d9825681c72ef99f98371123f705fc3fdc86c913 | [log] [tgz] |
---|---|---|
author | Ken Chen <Ken.Chen@quantatw.com> | Wed Jul 09 13:49:48 2025 +0800 |
committer | Jagpal S Gill <paligill@gmail.com> | Tue Jul 29 07:13:10 2025 +0000 |
tree | 6adbaf474a466bdebf077fe9bf6e9aad9d199595 | |
parent | d73d5642d9e0ea2a678a01602cd5a1e3b5a8411b [diff] |
phosphor-bmc-code-mgmt: revise JedFileParser to support LCMXO3 series checking UFM and ensure checksum calculated correctly. sync code from: [1] https://github.com/facebook/openbmc/commit/7c656105a7e36b76adb1a1b5a3eed98b0ada43a2 Tested on YV5 POC: ''' ken@ken-All-Series:~$ 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/6116e97d" }, { "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/YV5_SCM_CPLD_9224" } ], "Members@odata.count": 2, "Name": "Software Inventory Collection" } ken@ken-All-Series:~$curl -k ${creds} -H "Content-Type:multipart/form-data" -X POST -F UpdateParameters="{\"Targets\":[\"/redfish/v1/UpdateService/FirmwareInventory/YV5_SCM_CPLD_9224\"],\"@Redfish.OperationApplyTime\":\"Immediate\"};type=application/json" -F "UpdateFile=@${fwpath};type=application/octet-stream" https://${bmc}/redfish/v1/UpdateService/update-multipart { "@odata.id": "/redfish/v1/TaskService/Tasks/0", "@odata.type": "#Task.v1_4_3.Task", "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." } ], "Name": "Task 0", "Payload": { "HttpHeaders": [], "HttpOperation": "POST", "TargetUri": "/redfish/v1/UpdateService/update-multipart" }, "PercentComplete": 0, "StartTime": "2025-07-09T07:09:41+00:00", "TaskMonitor": "/redfish/v1/TaskService/TaskMonitors/0", "TaskState": "Running", "TaskStatus": "OK" } ''' Change-Id: I4cb953e25e9c09eee2fa511c787b57bfa787e78e Signed-off-by: Ken Chen <Ken.Chen@quantatw.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.