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:
Item Details
| 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:
Area Status
| 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:
- What is the recommended method to create, format, mount, and access a secure partition in Yocto Linux on i.MX8QXP?
- Is there any specific file system type recommended for secure partition usage?
- Are any kernel configuration, device tree, OP-TEE, or Yocto layer changes required?
- Is there any NXP reference implementation or document available for secure partition handling?
- What is the correct flow to use the generated secure key without causing file system access failures or file corruption?
Request you to please review and suggest the correct implementation approach.