Hi Team,
Request you to add support for am67a beagleY-AI board.
Let me know if i can help in any way for the same.
Thanks & Regards,
Anand Mohan Tiwari
(M) +91 82 99106839
(M) +91 87 65696940
On Mon, 7 Jul 2025 at 12:45 PM, ANAND MOHAN Tiwari <
anandmohantiwari94(a)gmail.com> wrote:
> Hi Jens,
>
> Thanks for the confirmation. I’ll report this to optee. How we can make
> sure to get its support added ??
>
>
> Thanks & Regards,
> Anand Mohan Tiwari
> (M) +91 82 99106839
> (M) +91 87 65696940
>
>
> On Mon, 7 Jul 2025 at 12:19 PM, Jens Wiklander <jens.wiklander(a)linaro.org>
> wrote:
>
>> Hi Anand,
>>
>> https://github.com/OP-TEE/optee_os/issues/ is the best place to report
>> issues like this, or possibly op-tee(a)lists.trustedfirmware.org.
>>
>> Anyway, from the source code, it looks like k3-am67a isn't supported.
>>
>> Cheers,
>> Jens
>>
>> On Mon, Jul 7, 2025 at 8:34 AM ANAND MOHAN Tiwari
>> <anandmohantiwari94(a)gmail.com> wrote:
>> >
>> > Dear All,
>> >
>> > This is to bring your attention towards compilation issue faced by me
>> for k3-am67a board. I can see compilation works till PLATFORM=k3-65x for
>> optee_os but when i tried compiling the same am67x it throws
>> core/arch/arm/plat-k3/drivers/sa2ul.c:36 error: ‘SA2UL_BASE’ undeclared
>> here same error is thrown for SA2UL_TI_SCI_FW_ID,
>> > SA2UL_TI_SCI_FW_RGN_ID,
>> > SA2UL_TI_SCI_DEV_ID,
>> >
>> > core/arch/arm/plat-k3/./platform_configs.h:91
>> > ‘SA2UL_BASE’ undeclared
>> >
>> > Not sure whom to contact to report this but i found these mails in
>> commit messages. Request you to check on this or let me know if I’m missing
>> something
>> > Tried below steps.
>> >
>> > git clone -b 11.01.03
>> https://github.com/beagleboard/ti-linux-firmware.git --depth=1
>> >
>> > git clone -b lts-v2.12.4
>> https://github.com/TrustedFirmware-A/trusted-firmware-a.git --depth=1
>> >
>> > make -C ./trusted-firmware-a/ -j4 CROSS_COMPILE=${CC64} PLAT=k3
>> ARCH=aarch64 SPD=opteed TARGET_BOARD=lite all
>> >
>> >
>> > git clone -b 4.6.0 https://github.com/OP-TEE/optee_os.git --depth=1
>> >
>> >
>> > make -C ./optee_os/ -j4 CROSS_COMPILE=${CC32} CROSS_COMPILE64=${CC64}
>> CFG_ARM64_core=y PLATFORM=k3-am62x all ————-> working
>> >
>> > make -C ./optee_os/ -j4 CROSS_COMPILE=${CC32} CROSS_COMPILE64=${CC64}
>> CFG_ARM64_core=y PLATFORM=k3-am65x all ————-> working till this but tried
>> for compiling below
>> >
>> > make -C ./optee_os/ -j4 CROSS_COMPILE=${CC32} CROSS_COMPILE64=${CC64}
>> CFG_ARM64_core=y PLATFORM=k3-am67x all ————-> not working also tried by
>> putting k3-am67a —this my board beagleY-AI
>> >
>> > Let me know if I’m missing something or we need to follow different
>> procedures apart from above
>> >
>> > Thanks in advance. You can reach out me via below numbers or reply on
>> same email.
>> >
>> > Thanks & Regards,
>> > Anand Mohan Tiwari
>> > (M) +91 82 99106839
>> > (M) +91 87 65696940
>>
>
[BCC all OP-TEE maintainers]
Hi OP-TEE maintainers & contributors,
OP-TEE version 4.7.0 is scheduled to be released on 2025-07-11. So,
now is a good time to start testing the master branch on the various
platforms and report/fix any bugs.
The GitHub pull request for collecting Tested-by tags or any other
comments is https://github.com/OP-TEE/optee_os/pull/7439.
We will create the release candidate tag 4.7.0-rc1 next Friday,
allowing for a two week testing period before the planned release.
You can find more information related to releases here:
https://optee.readthedocs.io/en/latest/general/releases.html
Thanks,
--
Jerome
Main updates from version V17[1]:
- Fix: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h>
is missing
More details are available in each patch commit message.
[1] https://lore.kernel.org/linux-remoteproc/20250613091650.2337411-1-arnaud.po…
Tested-on: commit 19272b37aa4f ("Linux 6.16-rc1")
Description of the feature:
--------------------------
This series proposes the implementation of a remoteproc tee driver to
communicate with a TEE trusted application responsible for authenticating
and loading the remoteproc firmware image in an Arm secure context.
1) Principle:
The remoteproc tee driver provides services to communicate with the OP-TEE
trusted application running on the Trusted Execution Context (TEE).
The trusted application in TEE manages the remote processor lifecycle:
- authenticating and loading firmware images,
- isolating and securing the remote processor memories,
- supporting multi-firmware (e.g., TF-M + Zephyr on a Cortex-M33),
- managing the start and stop of the firmware by the TEE.
2) Format of the signed image:
Refer to:
https://github.com/OP-TEE/optee_os/blob/master/ta/remoteproc/src/remoteproc…
3) OP-TEE trusted application API:
Refer to:
https://github.com/OP-TEE/optee_os/blob/master/ta/remoteproc/include/ta_rem…
4) OP-TEE signature script
Refer to:
https://github.com/OP-TEE/optee_os/blob/master/scripts/sign_rproc_fw.py
Example of usage:
sign_rproc_fw.py --in <fw1.elf> --in <fw2.elf> --out <signed_fw.sign> --key ${OP-TEE_PATH}/keys/default.pem
5) Impact on User space Application
No sysfs impact. The user only needs to provide the signed firmware image
instead of the ELF image.
For more information about the implementation, a presentation is available here
(note that the format of the signed image has evolved between the presentation
and the integration in OP-TEE).
https://resources.linaro.org/en/resource/6c5bGvZwUAjX56fvxthxds
Arnaud Pouliquen (6):
remoteproc: core: Introduce rproc_pa_to_va helper
remoteproc: Add TEE support
remoteproc: Introduce release_fw optional operation
dt-bindings: remoteproc: Add compatibility for TEE support
remoteproc: stm32: Create sub-functions to request shutdown and
release
remoteproc: stm32: Add support of an OP-TEE TA to load the firmware
.../bindings/remoteproc/st,stm32-rproc.yaml | 58 +-
drivers/remoteproc/Kconfig | 10 +
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/remoteproc_core.c | 52 ++
drivers/remoteproc/remoteproc_internal.h | 6 +
drivers/remoteproc/remoteproc_tee.c | 620 ++++++++++++++++++
drivers/remoteproc/stm32_rproc.c | 139 +++-
include/linux/remoteproc.h | 4 +
include/linux/remoteproc_tee.h | 90 +++
9 files changed, 936 insertions(+), 44 deletions(-)
create mode 100644 drivers/remoteproc/remoteproc_tee.c
create mode 100644 include/linux/remoteproc_tee.h
base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
--
2.25.1
Hello arm-soc maintainers,
Please pull this patch for the optee driver. It relates to the FF-A driver
PR https://lore.kernel.org/all/20250609105207.1185570-1-sudeep.holla@arm.com
but it makes sense on its own and can be applied independently.
Thanks,
Jens
The following changes since commit 0ff41df1cb268fc69e703a08a57ee14ae967d0ca:
Linux 6.15 (2025-05-25 16:09:23 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/optee-fix-for-v6.16
for you to fetch changes up to 312d02adb959ea199372f375ada06e0186f651e4:
optee: ffa: fix sleep in atomic context (2025-06-12 12:04:57 +0200)
----------------------------------------------------------------
A fix in the OP-TEE driver for v6.16
Fixing a sleep in atomic context in the FF-A notification callback by
adding a work queue to process in a non-atomic context.
----------------------------------------------------------------
Jens Wiklander (1):
optee: ffa: fix sleep in atomic context
drivers/tee/optee/ffa_abi.c | 41 ++++++++++++++++++++++++++++++---------
drivers/tee/optee/optee_private.h | 2 ++
2 files changed, 34 insertions(+), 9 deletions(-)
Main updates from version V16[1]:
- rebase on Linux Kernel v6.16-rc1,
- fix double space typos.
More details are available in each patch commit message.
[1] https://lore.kernel.org/linux-remoteproc/CANLsYky=AAnQ3P6J9E9R1=ufVKpGniiVT…
Tested-on: commit 19272b37aa4f ("Linux 6.16-rc1")
Description of the feature:
--------------------------
This series proposes the implementation of a remoteproc tee driver to
communicate with a TEE trusted application responsible for authenticating
and loading the remoteproc firmware image in an Arm secure context.
1) Principle:
The remoteproc tee driver provides services to communicate with the OP-TEE
trusted application running on the Trusted Execution Context (TEE).
The trusted application in TEE manages the remote processor lifecycle:
- authenticating and loading firmware images,
- isolating and securing the remote processor memories,
- supporting multi-firmware (e.g., TF-M + Zephyr on a Cortex-M33),
- managing the start and stop of the firmware by the TEE.
2) Format of the signed image:
Refer to:
https://github.com/OP-TEE/optee_os/blob/master/ta/remoteproc/src/remoteproc…
3) OP-TEE trusted application API:
Refer to:
https://github.com/OP-TEE/optee_os/blob/master/ta/remoteproc/include/ta_rem…
4) OP-TEE signature script
Refer to:
https://github.com/OP-TEE/optee_os/blob/master/scripts/sign_rproc_fw.py
Example of usage:
sign_rproc_fw.py --in <fw1.elf> --in <fw2.elf> --out <signed_fw.sign> --key ${OP-TEE_PATH}/keys/default.pem
5) Impact on User space Application
No sysfs impact. The user only needs to provide the signed firmware image
instead of the ELF image.
For more information about the implementation, a presentation is available here
(note that the format of the signed image has evolved between the presentation
and the integration in OP-TEE).
https://resources.linaro.org/en/resource/6c5bGvZwUAjX56fvxthxds
Arnaud Pouliquen (6):
remoteproc: core: Introduce rproc_pa_to_va helper
remoteproc: Add TEE support
remoteproc: Introduce release_fw optional operation
dt-bindings: remoteproc: Add compatibility for TEE support
remoteproc: stm32: Create sub-functions to request shutdown and
release
remoteproc: stm32: Add support of an OP-TEE TA to load the firmware
.../bindings/remoteproc/st,stm32-rproc.yaml | 58 +-
drivers/remoteproc/Kconfig | 10 +
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/remoteproc_core.c | 52 ++
drivers/remoteproc/remoteproc_internal.h | 6 +
drivers/remoteproc/remoteproc_tee.c | 619 ++++++++++++++++++
drivers/remoteproc/stm32_rproc.c | 139 +++-
include/linux/remoteproc.h | 4 +
include/linux/remoteproc_tee.h | 90 +++
9 files changed, 935 insertions(+), 44 deletions(-)
create mode 100644 drivers/remoteproc/remoteproc_tee.c
create mode 100644 include/linux/remoteproc_tee.h
base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
--
2.25.1
Hello Manish,
In your recent talk[1] at LinaroConnect about the Firmware Handoff
specification, you were asking about what other use cases it could
address for OP-TEE.
We ran into a possible use case that we would like to share:
BL2 can pass a DT to OP-TEE, which it would use to discover memory and
to fix up with memory reservations covering the memory it carves out for
itself.
OP-TEE also supports passing along the reservations as a device tree
overlay. AFAICS, there is no way currently to have both: A DT for OP-TEE
to probe hardware from and a way to pass the normal world a device tree
overlay in return.
I think this could be neatly addressed with Firmware Handoff and would
be a motivation for us to implement support in barebox BL2/BL33 to take
advantage of this. The current way is suboptimal as we would prefer the
DT passed to OP-TEE to be read-only. This avoids either having to copy
it or to pad it sufficiently in anticipation of it growing with the
addition of the new nodes.
[1]: https://www.youtube.com/watch?v=RxU798h8aiE
Cheers,
Ahmad
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Hello Bjorn and Mathieu,
I am resending this series after waiting for over two months for Bjorn's
feedback, despite a prior reminder.
Please could you coordinate between yourselves to determine who will continue
reviewing this series? It would be greatly appreciated if the review could
proceed within a more reasonable timeframe.
Thanks in advance and best regards,
Arnaud
Main updates from version V15[1]:
- Removed the rproc_ops:load_fw() operation introduced in the previous version.
- Returned to managing the remoteproc firmware loading in rproc_tee_parse_fw to
load and authenticate the firmware before getting the resource table.
- Added spinlock and dev_link mechanisms in remoteproc TEE to better manage
bind/unbind.
More details are available in each patch commit message.
[1] https://lore.kernel.org/linux-remoteproc/20241128084219.2159197-7-arnaud.po…
Tested-on: commit 0ff41df1cb26 ("Linux 6.15")
Description of the feature:
--------------------------
This series proposes the implementation of a remoteproc tee driver to
communicate with a TEE trusted application responsible for authenticating
and loading the remoteproc firmware image in an Arm secure context.
1) Principle:
The remoteproc tee driver provides services to communicate with the OP-TEE
trusted application running on the Trusted Execution Context (TEE).
The trusted application in TEE manages the remote processor lifecycle:
- authenticating and loading firmware images,
- isolating and securing the remote processor memories,
- supporting multi-firmware (e.g., TF-M + Zephyr on a Cortex-M33),
- managing the start and stop of the firmware by the TEE.
2) Format of the signed image:
Refer to:
https://github.com/OP-TEE/optee_os/blob/master/ta/remoteproc/src/remoteproc…
3) OP-TEE trusted application API:
Refer to:
https://github.com/OP-TEE/optee_os/blob/master/ta/remoteproc/include/ta_rem…
4) OP-TEE signature script
Refer to:
https://github.com/OP-TEE/optee_os/blob/master/scripts/sign_rproc_fw.py
Example of usage:
sign_rproc_fw.py --in <fw1.elf> --in <fw2.elf> --out <signed_fw.sign> --key ${OP-TEE_PATH}/keys/default.pem
5) Impact on User space Application
No sysfs impact. The user only needs to provide the signed firmware image
instead of the ELF image.
For more information about the implementation, a presentation is available here
(note that the format of the signed image has evolved between the presentation
and the integration in OP-TEE).
https://resources.linaro.org/en/resource/6c5bGvZwUAjX56fvxthxds
Arnaud Pouliquen (6):
remoteproc: core: Introduce rproc_pa_to_va helper
remoteproc: Add TEE support
remoteproc: Introduce release_fw optional operation
dt-bindings: remoteproc: Add compatibility for TEE support
remoteproc: stm32: Create sub-functions to request shutdown and
release
remoteproc: stm32: Add support of an OP-TEE TA to load the firmware
.../bindings/remoteproc/st,stm32-rproc.yaml | 58 +-
drivers/remoteproc/Kconfig | 10 +
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/remoteproc_core.c | 52 ++
drivers/remoteproc/remoteproc_internal.h | 6 +
drivers/remoteproc/remoteproc_tee.c | 619 ++++++++++++++++++
drivers/remoteproc/stm32_rproc.c | 139 +++-
include/linux/remoteproc.h | 4 +
include/linux/remoteproc_tee.h | 90 +++
9 files changed, 935 insertions(+), 44 deletions(-)
create mode 100644 drivers/remoteproc/remoteproc_tee.c
create mode 100644 include/linux/remoteproc_tee.h
base-commit: 0ff41df1cb268fc69e703a08a57ee14ae967d0ca
--
2.25.1