#
99e8b983 |
| 04-Jun-2023 |
Jeremy Kerr <jk@codeconstruct.com.au> |
tools: fw-update: allow ISO 8610 date formats
Currently, the ReleaseDateTime data is expected to be in a "%d/%m/%Y %H:%M:%S" format.
However, this is ambiguous (ie., is locale-specific).
This chan
tools: fw-update: allow ISO 8610 date formats
Currently, the ReleaseDateTime data is expected to be in a "%d/%m/%Y %H:%M:%S" format.
However, this is ambiguous (ie., is locale-specific).
This change adds supoort to allow an ISO 8601 format of:
"%Y-%m-%dT%H:%M:%S"
and a relaxed version with the 'T' separator replaced with a space:
"%Y-%m-%d %H:%M:%S"
Update the readme and example json to switch to the preferred format.
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Change-Id: Ica3ae824979df6b666b8abb619ceaedffd90b374
show more ...
|
#
ade5f9b1 |
| 19-Dec-2022 |
Chinmay Shripad Hegde <hosmanechinmay@gmail.com> |
fwupdate-tools: Support for multiple components
At present ComponentIdentifier is used in ApplicableComponents field to select images that apply for a firmware device. Which restricts to have same C
fwupdate-tools: Support for multiple components
At present ComponentIdentifier is used in ApplicableComponents field to select images that apply for a firmware device. Which restricts to have same ComponentIdentifier for multiple components. This patch will enable to use ComponentImageInformationArea index in ApplicableComponents field.
Unit Tests: 1. Modify ApplicableComponents with index and verify the package with previous package. There should not be any difference 2. Verify multiple components with same component identifier 3. Test out of index for ApplicableComponents
Signed-off-by: Chinmay Shripad Hegde <hosmanechinmay@gmail.com> Change-Id: Ibf5069d568f0a922d52db261219c2557d2d2f715
show more ...
|
#
0d8224a6 |
| 12-Dec-2022 |
Chinmay Shripad Hegde <hosmanechinmay@gmail.com> |
fwupdate-tools: Add support for user specified ComponentComparisonStamp from metadata file.
Currently, ComponentComparisonStamp is not supported in metadata file and the value is hardcoded in the sc
fwupdate-tools: Add support for user specified ComponentComparisonStamp from metadata file.
Currently, ComponentComparisonStamp is not supported in metadata file and the value is hardcoded in the script. This change will enable to specify ComponentComparisonStamp in metadata file when ComponentOptions is set to 1.
Unit Tests: 1. ComponentOptions values other than 1. verify Default ComponentComparisonStamp used 2. ComponentOptions is 1 and component comparison stamp is missing, verify error message 3. ComponentOptions is 1, ComponentComparisonStamp provided in the metadata file. Verify the package with hexdump 4. Verify error messages for invalid value for ComponentComparisonStamp
Signed-off-by: Chinmay Shripad Hegde <hosmanechinmay@gmail.com> Change-Id: I772d30ebe5d80e2cdca365ad4025cca774db218d
show more ...
|
#
3618064e |
| 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
Change-Id: I0d25f27a5e449578967915d9f570cc29246927d7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
da2aaab7 |
| 01-Aug-2021 |
Tom Joseph <rushtotom@gmail.com> |
tools: Extend pldm_fwup_pkg_creator Extend the pldm_fwup_pkg_creator script to handle multiple record descriptors in the firmware device ID record. The metadata json also handles ven
tools: Extend pldm_fwup_pkg_creator Extend the pldm_fwup_pkg_creator script to handle multiple record descriptors in the firmware device ID record. The metadata json also handles vendor defined descriptors. Tested: Verified this change by using the updated json in the patch and sample images to create a package. The fields of the package header were verified for accuracy. Signed-off-by: Tom Joseph <rushtotom@gmail.com> Change-Id: I9efde5689e551170b46a4e6ee4ea1e5624173420
show more ...
|
#
4ac93443 |
| 20-Apr-2021 |
Deepak Kodihalli <deepak.kodihalli.83@gmail.com> |
Initial version of pldm_fwup_pkg_creator.py pldm_fwup_pkg_creator.py is a python script that can generate a PLDM firmware update package out of one or more image files, given a corre
Initial version of pldm_fwup_pkg_creator.py pldm_fwup_pkg_creator.py is a python script that can generate a PLDM firmware update package out of one or more image files, given a corresponding metadata JSON file. Signed-off-by: Deepak Kodihalli <deepak.kodihalli.83@gmail.com> Change-Id: I7655ab2be72731332afc686b1c55b1312455ba1a Signed-off-by: Tom Joseph <rushtotom@gmail.com>
show more ...
|