-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Instructions for compiling device trees never worked #3844
Comments
ping @pelwell |
The OP has missed the point - the comments are about the simple example presented in the docs (https://www.raspberrypi.com/documentation/computers/configuration.html#part2.1 - it's referred to as The problem with trying to build For an example of the steps needed, take a look at |
If I've missed the point, it's because the point is not covered in the documentation. |
Perhaps a note such as:
|
https://www.raspberrypi.com/documentation/computers/configuration.html#device-trees-overlays-and-parameters
To reproduce:
sudo apt install git bc bison flex libssl-dev make device-tree-compiler
git clone --depth 1 https://github.com/raspberrypi/linux
cd linux/arch/arm/boot/dts/overlays
dtc -@ -Hepapr -I dts -O dtb -o vc4-kms-v3d-pi5.dtbo vc4-kms-v3d-pi5-overlay.dts
Result:
Now try the version of dtc built by the kernel itself:
cd ~/linux
KERNEL=kernel_2712
make bcm2712_defconfig
make dtbs
scripts/dtc/dtc -@ -Hepapr -I dts -O dtbo -o vc4-kms-v3d-pi5.dtbo arch/arm/boot/dts/overlays/vc4-kms-v3d-pi5-overlay.dts
Result:
The specific part of the documentation that I find problematic:
It does appear to be complaining about the third line. But the version built by the kernel does exactly the same thing. It would be useful to have the actual error message in the docs here, so that I know if that's the problem I am facing.
PS running
make dtbs
did buildvc4-kms-v3d-pi5.dtbo
so it must be possible somehow.PPS I'm trying to build that specific overlay because I need composite and HDMI to work at the same time, and I know that is possible because when you enable composite and boot with HDMI connected, the HDMI output is left switched on and displaying the last framebuffer it was sent. It just doesn't appear as an output in kms.
The text was updated successfully, but these errors were encountered: