You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] CMake can pass FW micro version to rimage #5693
Purpose
Lower the risk of releasing FW binaries which are built and signed before SOF release tag is applied.
CMake can pass FW micro version to rimage as well so that rimage can store major.minor.micro version in ADSP manifest. Today it only pass major and minor version to rimage.
changed the title [-][FEATURE] CMake can pass all SOF_MAJOR, SOF_MINOR and SOF_MICRO to rimage[/-][+][FEATURE] CMake can pass FW version major, micro and minor to rimage[/+]on Apr 17, 2022
changed the title [-][FEATURE] CMake can pass FW version major, micro and minor to rimage[/-][+][FEATURE] CMake can pass FW micro version to rimage[/+]on Apr 18, 2022
Activity
[-][FEATURE] CMake can pass all SOF_MAJOR, SOF_MINOR and SOF_MICRO to rimage[/-][+][FEATURE] CMake can pass FW version major, micro and minor to rimage[/+][-][FEATURE] CMake can pass FW version major, micro and minor to rimage[/-][+][FEATURE] CMake can pass FW micro version to rimage[/+]lgirdwood commentedon Apr 20, 2022
@marc-hb any comments ?
aiChaoSONG commentedon Apr 29, 2022
@mengdonglin Here's the detailed steps for the feature
We have already passed SOF_MAJOR and SOF_MINOR to rimage through cmake
sof/src/arch/xtensa/CMakeLists.txt
Line 501 in 5cfc370
On rimage side:
fw_ver_microtostruct image, https://github.com/thesofproject/rimage/blob/05be213d46d4755ff039fe8703a16293738e226f/src/include/rimage/rimage.h#L111micro_version(I prefer the micro_version to hotfix_version). https://github.com/thesofproject/rimage/blob/05be213d46d4755ff039fe8703a16293738e226f/src/include/rimage/sof/user/manifest.h#L127mengdonglin commentedon Apr 30, 2022
@aiChaoSONG Thanks, you will find my PR is almost same as your comments :)