OK thanks. The existing syslog plugin also doesn't seem ideal for this situation as you'd need to specifically invoke that (and I recall reading other issues about it not working from all contexts).
I'll continue with my original plan to add my own logging functionality for our platform (logging to the coreboot console since we already have access to that data in the REE). Thanks for the feedback.
On Tue, Feb 7, 2023 at 8:33 AM Jérôme Forissier jerome@forissier.org wrote:
Hi Jeffrey,
On Mon, Feb 6, 2023 at 9:46 PM Jeffrey Kardatzke via OP-TEE < op-tee@lists.trustedfirmware.org> wrote:
What's the current state of being able to log to the REE using components that already exist in OP-TEE today? I've seen various issues relating to it in GitHub: https://github.com/OP-TEE/optee_os/issues/4230 and https://github.com/OP-TEE/optee_os/pull/810, but both ended up being closed before I can see anything relating to logging to integrated. Did something like this end up getting implemented yet?
Unfortunately, no. The tee-supplicant plugin mechanism was introduced with that use case in mind (see https://github.com/OP-TEE/optee_client/issues/219) but no logging-specific code was further upstreamed.
Thanks,
Jerome
Cheers,
-- Jeffrey Kardatzke jkardatzke@google.com Google, Inc.