OP-TEE / optee_os

Trusted side of the TEE
Other
1.56k stars 1.05k forks source link

Support for HiKey 970 #2562

Closed xumengwei closed 4 years ago

xumengwei commented 5 years ago

Does optee support HiKey 970? If so, which target shall I use, HiKey or HiKey 960?

jbech-linaro commented 5 years ago

Hi @xumengwei ,

HiKey 970 is not supported. You find all officially supported devices in the list here.

xumengwei commented 5 years ago

Thanks for your reply @jbech-linaro . Any plan to support 970 since I found this chip is becoming quite popular nowadays?

jbech-linaro commented 5 years ago

As soon as someone in our team get hold of such a device, then I'm pretty sure we will add it. But if and when that will happen I cannot say for the moment. Having that said, we wouldn't mind if someone outside the core team submitted board support for this (faq, porting guidelines).

xumengwei commented 5 years ago

@jbech-linaro got it. Can I find the announcement about someone inside the group starts to porting it afterwards?

jbech-linaro commented 5 years ago

There is no easy way to do it, but if we do we will send pull request and then we can try to remember this particular issue and refer to that when submitting the PR.

hugovincent commented 5 years ago

Is there any update on this, now that the 970 boards are widely available?

jbech-linaro commented 5 years ago

Nope, unfortunately the situation is the same. But for people out there having one at hands, we'd be more than happy to get a patch adding support for the 970 also.

github-actions[bot] commented 4 years ago

This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.

R-kismeti commented 4 years ago

Can it be supported now?

ya0guang commented 4 years ago

Can it be supported now?

I also want to know if it can be supported, since hikey 960 is very hard to purchase now.

jforissier commented 4 years ago

I have not heard of anyone running OP-TEE on a HiKey970, but perhaps you should ask on a HiKey970 forum (if that exists)? It doesn't look like TF-A supports that board yet, which would be a prerequisite for OP-TEE.

Myriad-Dreamin commented 4 years ago

I have not heard of anyone running OP-TEE on a HiKey970, but perhaps you should ask on a HiKey970 forum (if that exists)? It doesn't look like TF-A supports that board yet, which would be a prerequisite for OP-TEE.

@jforissier there already exists a version of arm-trusted-firmware that can run on hikey-970

I have modified the OP-TEE/build/hikey960.mk to run aosp/linux over optee. And I found that:

It told me something went wrong when compiling optee. To compile optee, I only slightly modified core/arch/arm/plat-hikey/platform_config.h according to this blog to continue. the blog says that:

The Kirin970(Hi3670) SoC is just a superset of Hi3660 SoC with an added AI processing element.

So what else can I do (e.g. how to debug optee binaries) to let optee support hikey-970?

kriskwiatkowski commented 3 years ago

@Myriad-Dreamin did you progress any further? Are yours modification available on some public repo? I've broken my last hikey 620 and 970 is the only hardware that I have now...