Re: path for overlays
- In reply to: Mark Millard : "Re: path for overlays"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Jul 2022 03:54:45 UTC
On Mon, 11 Jul 2022 22:16:44 -0700 Mark Millard <marklmi@yahoo.com> wrote: > Nick Kostyria <nick_at_i11.co> wrote on > Date: Tue, 12 Jul 2022 03:27:25 UTC : > > > On Mon, 11 Jul 2022 00:18:59 -0300 > > "Dr. Rolf Jansen" <freebsd-rj@cyclaero.com> 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). > > [I've written these notes to presume a RPi* context based on > U-Boot, not EDK2 UEFI/ACPI or the like, and not for other > platforms.] 's Thank you very much for the clarification.