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

opteearmtz00 device tries to ioremap RAM and Linux doesn't like it #51

Open
dsblue opened this issue May 26, 2016 · 0 comments
Open

opteearmtz00 device tries to ioremap RAM and Linux doesn't like it #51

dsblue opened this issue May 26, 2016 · 0 comments

Comments

@dsblue
Copy link

dsblue commented May 26, 2016

Hi!

I am having trouble using the opteearmtz device in linux 4.4.0. When I try to access the device, I get the following error:

root@zynq7:~# cat /dev/opteearmtz00
Entry fast...
armv7sec armv7sec.0: shm ioremap failed
misc opteearmtz00: tee_get: opteearmtz00::start() failed, err=-12
cat: can't open '/dev/opteearmtz00': Cannot allocate memory

The address of the shared memory that it is trying to remap is properly read from OPTEE, and so is the size. I.e. they match the values specified in the OPTEE_OS build. So the interface to OPTEE and secure world is working. However, I suspect that the Linux ioremap command is failing because the shared memory is RAM and the ioremap method doesn't like that.

Is there a workaround for this issue?

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

No branches or pull requests

1 participant