Skip to content

Remove special cases from enabling se05x #836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,30 +45,5 @@ Be aware that an image created with SE05X enabled does not boot on boards withou

support SE05X integration without extra changes in LmP.

Special Cases
-------------

1. For Factories created **before v85**, it is also necessary to add ``se05x`` to the ``lmp-factory-image`` build:

``recipes-samples/images/lmp-factory-image.bb``:

.. prompt:: text

# Support for SE05X
require ${@bb.utils.contains('MACHINE_FEATURES', 'se05x', 'recipes-samples/images/lmp-feature-se05x.inc', '', d)}

2. If working with a different i.MX machine without default SE05X LmP support (``imx6ullevk`` and ``imx8mm-lpddr4-evk``),
also provide which SoC I2C bus connects to the SE05X device:

``recipes-security/optee/optee-os-fio_%.bbappend``:

.. prompt:: text

EXTRA_OEMAKE:append:<machine> = " \
${@bb.utils.contains('MACHINE_FEATURES', 'se05x', 'CFG_IMX_I2C=y CFG_CORE_SE05X_I2C_BUS=<i2c_bus>', '', d)} \
"

Make sure to push the changes to the ``meta-subscriber-overrides`` repo, triggering a build with the new configurations.

.. _SE050 configurations:
https://www.nxp.com/docs/en/application-note/AN12436.pdf