Skip to content

Where to add support for persist partition for Hamoa and Talos? #87

@harshaldev27

Description

@harshaldev27

Hello,

We have request for supporting QTEE use-cases with Hamoa and Talos. This as per discussions in other threads, requires support for the persist partition again so that QTEE can store one-time provisioned keys and encrypted security assets similar to OPTEE.

I can see that contrary to qcs6490 and qcs9100 where we added support for persist partition in LUN 5 for the UFS storage:
https://github.com/qualcomm-linux/qcom-ptool/blob/main/platforms/qcs9100-ride-sx/ufs/partitions.conf#L109
https://github.com/qualcomm-linux/qcom-ptool/blob/main/platforms/qcs6490-rb3gen2/ufs/partitions.conf#L113

The UFS storage on Hamoa is not used for firmware image partitions, where we can add support for a separate persist partition as well. It seems to be using UFS only for Linux efi and rootfs images.
https://github.com/qualcomm-linux/qcom-ptool/blob/main/platforms/iq-x7181-evk/ufs/partitions.conf

For firmware images, we have the SPINOR: https://github.com/qualcomm-linux/qcom-ptool/blob/main/platforms/iq-x7181-evk/spinor/partitions.conf
I need inputs on whether it is okay to support persist through SPINOR storage for Hamoa.

For Talos on the other hand, I can see that both boards with EMMC already support persist:
https://github.com/qualcomm-linux/qcom-ptool/blob/main/platforms/iq-615-evk/emmc/partitions.conf#L77
https://github.com/qualcomm-linux/qcom-ptool/blob/main/platforms/qcs615-ride/emmc/partitions.conf#L77

But UFS is missing support for persist. Perhaps, it can be added as the last partition just before:
https://github.com/qualcomm-linux/qcom-ptool/blob/main/platforms/qcs615-ride/ufs/partitions.conf#L98

Do let me know concerns on this as well.

Regards,
Harshal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions