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

Can't compile DTS overlay from source #6489

Open
DangerD1024 opened this issue Nov 23, 2024 · 3 comments
Open

Can't compile DTS overlay from source #6489

DangerD1024 opened this issue Nov 23, 2024 · 3 comments

Comments

@DangerD1024
Copy link

Describe the bug

Can't compile dts overlay

Steps to reproduce the behaviour

git clone --depth=1 https://github.com/raspberrypi/linux
cd linux/arch/arm/boot/dts/overlays
dtc -I dts -O dtb -o imx290-overlay.dtbo imx290-overlay.dts
Error: imx290-overlay.dts:6.1-9 syntax error
FATAL ERROR: Unable to parse input tree

Device (s)

Raspberry Pi CM4

System

Ubuntu 6.6

Logs

No response

Additional context

dtc --version
Version: DTC 1.6.1
@pelwell
Copy link
Contributor

pelwell commented Nov 23, 2024

That's not a bug - the overlays use header files from the kernel tree, and you are supposed to use the kernel make system to build them. However, there is an alternative: https://forums.raspberrypi.com/viewtopic.php?t=377084

@macmpi
Copy link

macmpi commented Nov 23, 2024

@pelwell that write-up would be nice hint within repo readme too.

@pelwell
Copy link
Contributor

pelwell commented Nov 23, 2024

See raspberrypi/utils#104.

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

3 participants