raspberrypi / userland

Source code for ARM side libraries for interfacing to Raspberry Pi GPU.
BSD 3-Clause "New" or "Revised" License
2.05k stars 1.09k forks source link

dtoverlay: Failed to find overlays directory #685

Open lokeb opened 3 years ago

lokeb commented 3 years ago

I am trying to run dtoverlay on Debian-arm64 after compiling userland from source. buildme installed the compiled binaries into /opt/vc. I added lib and bin to proper paths.

On running, dtoverlay reports Failed to find overlays directory.

System

Additionally, are there any Raspios repositories that I could use directly with Debian, because all rpi- commands are absent in my system?

pelwell commented 3 years ago

Does /boot/overlays exist? If not, where are the overlays in Debian?

HinTak commented 3 years ago

FWIW, ubuntu uses /boot/firmware/overlays. No idea about debian-arm64 .

pelwell commented 3 years ago

The app looks in /boot/overlays and /flash/overlays. You can override that with the -d option. It is also possible to build the app specifying CPP macro values FORCE_BOOT_DIR and OTHER_BOOT_DIR.

tmm1 commented 3 years ago

It is also possible to build the app specifying CPP macro values FORCE_BOOT_DIR and OTHER_BOOT_DIR.

How do I ask cmake to set a value for OTHER_BOOT_DIR?