Hi NXP Team,
We need your support regarding a secure partition/file system issue observed on i.MX8QXP C0 MEK.
We are using the below software baseline:
| Platform | i.MX8QXP C0 MEK |
| BSP | Yocto Linux |
| Yocto Release | Scarthgap |
| Kernel Version | 6.6.5 |
Issue Description:
We are able to generate the secure partition key successfully. However, when we try to use/access the secure partition from the Linux file system, the access fails. In some cases, the file also gets corrupted after access/write operations.
Observation:
| Secure partition key generation | Successful |
| File system access using the generated key | Failing |
| File read/write operation | Not stable |
| File integrity | File corruption observed |
Could you please help us understand the recommended and correct way to handle secure partition access in Yocto Linux for i.MX8QXP?
We need your guidance on the below points:
Request you to please review and suggest the correct implementation approach.
Hello,
You may refer to our BSP documentation, I cannot find this specific Linux release in our releases, so I may recommend to refer to the closest one available.
i.e kernel 6.6.23 i.MX Linux User's Guide chapter 10.5 Disk encryption acceleration
For the file system we use ext4 for our testing so I would recommend using this one, please have a look to the documentation for the kernel configuration needed and the actual steps to follow.
Best regards/Saludos,
Aldo.