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

Cant Compile #1

Open
shaddow501 opened this issue Feb 7, 2017 · 4 comments
Open

Cant Compile #1

shaddow501 opened this issue Feb 7, 2017 · 4 comments

Comments

@shaddow501
Copy link

Dear Sir
When I try to compile on the GETCHIP board (I didnt try anywhere else) I get this error:

What overlay do you want to compile:
mmc.dts
Compiling mmc.dts
mmc.dts:31:43: fatal error: dt-bindings/pinctrl/sun4i-a10.h: No such file or directory
#include <dt-bindings/pinctrl/sun4i-a10.h>
^
compilation terminated.
Error: mmc.dts:29.9-10 syntax error
FATAL ERROR: Unable to parse input tree
There was an error during compilation

What am I missing, I didnt find anywhere what else should I install in order to compile it successfully.
Can you post some instructions?

@cmnybo
Copy link
Owner

cmnybo commented Feb 7, 2017

You are getting the error because your are missing the sun4i-a10.h file.
You need to download the source for your Linux kernel and copy the arch/arm/boot/dts/include/dt-bindings directory to /usr/include.

@shaddow501
Copy link
Author

@cmnybo
Copy link
Owner

cmnybo commented Feb 7, 2017

It looks like the files are available in include/dt-bindings on that kernel.

@shaddow501
Copy link
Author

shaddow501 commented Feb 7, 2017

Yes that is correct just copied them and managed to compile without any issues
Thanks.
Also it is better to put the Devtree.sh in the device_trees folder or else it cant find them..

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

2 participants