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

Support for HiKey 970 #2562

Closed
xumengwei opened this issue Sep 28, 2018 · 13 comments
Closed

Support for HiKey 970 #2562

xumengwei opened this issue Sep 28, 2018 · 13 comments
Labels

Comments

@xumengwei
Copy link

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

@jbech-linaro
Copy link
Contributor

Hi @xumengwei ,

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

@xumengwei
Copy link
Author

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

@jbech-linaro
Copy link
Contributor

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
Copy link
Author

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

@jbech-linaro
Copy link
Contributor

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
Copy link

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

@jbech-linaro
Copy link
Contributor

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
Copy link

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
Copy link

Can it be supported now?

@ya0guang
Copy link

ya0guang commented Jul 8, 2020

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
Copy link
Contributor

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
Copy link

Myriad-Dreamin commented Aug 27, 2020

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 works well if I remove BL32* (optee_os_header_v2_bin, optee_os_pager_v2_bin, optee_os_pageable_v2_bin) arm-trusted-firmware flags.
  • If I add BL32* flags and flash the compiled binaries into hikey board, the serial console does not output anything.

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
Copy link

kriskwiatkowski commented Dec 28, 2020

@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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants