Can't compile DTS overlay from source

Open
#6,489 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
linux

Research direction

Start in arch/arm/boot/dts/overlays/imx290-overlay.dts, especially line 6, and reproduce the reported command with DTC 1.6.1. Compare the direct compilation command with the kernel overlay build instructions or surrounding build files. Done means the overlay compiles successfully from the documented source checkout.

Written by the indexing model from the issue text.

Description

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
Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.