Hi!
Try with compatible = "brcm,bcm2711";
at the root of the overlay.
Our tooling may be needlessly strict about the compatible
strings when applying overlays. This is something that needs to be investigated properly.
I also have to assume ads1113-overlay
didn’t work.
{ name ="i2c1-overlay";
dtsText =''
/dts-v1/;
/plugin/;
/ {
- compatible = "brcm,bcm2835";
+ compatible = "brcm,bcm2711";
fragment@0 {
target
You can check if the overlay applied (assuming you nixos-rebuild switch
’d) by using:
$ dtc /run/current-system/dtbs/broadcom/bcm2711-rpi-4-b.dtb
dtc
automatically decompiles a dtb
input. And our overlays are pre-applied on the dtb file.
You can also use dtc
on the full path to the .dtb
file for the system build if you nixos-rebuild build
with a path like result/dtbs/...
.