Skip to content
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

arm64: dt: OP-TEE for FVP Base RevC #103

Merged
merged 1 commit into from
Jul 4, 2022

Conversation

jenswi-linaro
Copy link

Configures FVP Base RevC with OP-TEE.

Signed-off-by: Jens Wiklander jens.wiklander@linaro.org

Copy link

@jforissier jforissier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain why in the commit description? Thanks.

@@ -28,7 +28,6 @@

aliases {
serial0 = &v2m_serial0;
serial1 = &v2m_serial1;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intended?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was, but I'll restore that for now.

compatible = "linaro,optee-tz";
method = "smc";
};
};

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How was the node added to the DT prior to this PR?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wasn't. We were only using the Foundation model, which needs a different DTB.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I thought we were using this file with our fvp.xml manifest.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are, if compiling with FVP_USE_BASE_PLAT=y. It was introduced with commit 1bf41f5d9b0d ("fvp: add Trusted Services support") in https://github.com/OP-TEE/build

Configures FVP Base RevC with OP-TEE.

With commit 1bf41f5d9b0d ("fvp: add Trusted Services support") in
https://github.com/OP-TEE/build there is support for building running
with the FVP Base RevC model. However, some updates to the DTB passed
to the kernel is missing for the OP-TEE driver to be probed. So fix that
by adding an OP-TEE node in the DTS.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
@jenswi-linaro
Copy link
Author

Update

@jforissier
Copy link

Thanks for the details, all clear now. LGTM.

@jforissier jforissier merged commit b9a1699 into linaro-swg:optee Jul 4, 2022
@jenswi-linaro jenswi-linaro deleted the fvp-base branch July 4, 2022 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants