Re: path for overlays

Nick Kostyria <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <20220712032725.49684889@thinkbook>
On Mon, 11 Jul 2022 00:18:59 -0300
"Dr. Rolf Jansen" <[email protected]> wrote:


> 
> Anyway, for enabling I2C5 (we may choose from I2C3, I2C4, I2C5 and I2C6) on a Raspberry Pi 4, we do:
> 
> # fetch https://github.com/raspberrypi/linux/blob/rpi-5.15.y/arch/arm/boot/dts/overlays/i2c5-overlay.dts
> # dtc -I dts -O dtb -b0 -@ -o /boot/msdos/overlays/i2c5.dtbo i2c5-overlay.dts
> 
> Then we add the following 2 lines to /boot/msdos/config.txt:
> 
>   gpio=12,13=a5
>   dtoverlay=i2c5,pins_12_13
> 

Hello.

I see you use /boot/msdos/overlays/ for overlays.
I have a question for a long time and I can't find an answer.

What is the difference between /boot/msdos/overlays/ and /boot/dtb/overlays/ (fdt_overlays in /boot/loader.conf).

What is more correct?
What should be used?

/boot/msdos/overlays/ or /boot/dtb/overlays/
/boot/msdos/config.txt or /boot/loader.conf

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.