Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2022 06:54:45 +0300
From:      Nick Kostyria <nick@i11.co>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: path for overlays
Message-ID:  <20220713035445.3a22da0d@thinkbook>
In-Reply-To: <B7117A0D-68E8-4300-ADCD-9F8CA4F613C0@yahoo.com>
References:  <B7117A0D-68E8-4300-ADCD-9F8CA4F613C0.ref@yahoo.com> <B7117A0D-68E8-4300-ADCD-9F8CA4F613C0@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220713035445.3a22da0d>