2023-12-05 07:11 AM
Hi,
i'm implementing our field-update using the A/B mechanism for FIP image.
Would like to use the Update Client described on the page as a template:
https://wiki.st.com/stm32mpu/wiki/Secure_Firmware_Update#Update_Client
But no idea where to find it. I didn't find anything promising in the meta- repos from st?
Where to get it? I think i will be able to do the metadata things. But it would be interesting how to read the backup registers from Linux:
register TAMP_BKP10R ? How to read it?
I'm on a STM32MP13x
thanks + br,
Simon Kretschmer
DSA Datasystems / comlet GmbH
Solved! Go to Solution.
2023-12-08 09:09 AM - edited 2023-12-08 09:11 AM
Hello @SimK,
ST Microlectronics provides the A/B mechanism, but the update client is a software component on top of linux which is provided by a third part as for example Rauc, Mender, SWUpdate...
Today, here is a tool to read/write into metadata : https://github.com/CGUSTM/fwu_gen_metadata.
To read a tamper register value from linux, I would use devregs or devmem2.
BR,
Christophe
2023-12-08 09:09 AM - edited 2023-12-08 09:11 AM
Hello @SimK,
ST Microlectronics provides the A/B mechanism, but the update client is a software component on top of linux which is provided by a third part as for example Rauc, Mender, SWUpdate...
Today, here is a tool to read/write into metadata : https://github.com/CGUSTM/fwu_gen_metadata.
To read a tamper register value from linux, I would use devregs or devmem2.
BR,
Christophe
2023-12-19 06:13 AM
Hi Christophe, thank you for your answer...
the documentation speaks so naturally of the update tool that I assumed you just had to find it somewhere.
I have implemented it in the meantime, as suggested with devmem2, if anyone is wondering where to find the register, here is my test script:
2023-12-19 06:43 AM
Hi SimK,
Thanks for your feedback !
BR,
Christophe