Re: git: 1bd4f769caf8 - main - add dtb support for RPI CM4, CM4s, CM4_ioBoard

From: Mark Millard <marklmi_at_yahoo.com>
Date: Thu, 25 Apr 2024 21:19:23 UTC
Warner Losh <imp_at_bsdimp.com> wrote on
Date: Thu, 25 Apr 2024 19:24:07 UTC :

> On Thu, Apr 25, 2024, 12:57 PM Colin Percival <cperciva@tarsnap.com> wrote:
> 
> > On 4/19/24 16:11, Warner Losh wrote:
> > > add dtb support for RPI CM4, CM4s, CM4_ioBoard
> > >
> > > Signed-off-by: Klaus Küchemann <maciphone2@googlemail.com>
> > > Reviewed by: imp
> > > Pull Request: https://github.com/freebsd/freebsd-src/pull/1182
> > > ---
> > > --- a/release/arm64/RPI.conf
> > > +++ b/release/arm64/RPI.conf
> > > -DTB="bcm2710-rpi-2-b.dtb bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb
> > bcm2710-rpi-cm3.dtb bcm2711-rpi-4-b.dtb"
> > > +DTB="bcm2710-rpi-2-b.dtb bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb
> > bcm2710-rpi-cm3.dtb \
> > > + bcm2711-rpi-4-b.dtb bcm2711-rpi-cm4-io.dtb bcm2711-rpi-cm4.dtb
> > bcm2711-rpi-cm4s.dtb"
> >
> > This broke the RPI release build, since bcm2711-rpi-cm4s.dtb doesn't exist.
> > Is it provided by a port which we should add to the RPI build?
> >
> 
> I thought it was in tree. I'll look into this and report back.

The upstream RPi* distributions do not use the linux mainstream *.dts*
files but build their own *.dts* files and distribute the resultant
*.dtb's directly.

For RPi*'s, FreeBSD uses the *.dtb files from some RPI* distribution
(via the rpi-firmware port). FreeBSD does not use the linux mainstream
*.dts* files for RPi*'s: RPi*'s have a a different compatibility
criteria applied compared to most of the Small Arm Boards.

So: not in tree.

===
Mark Millard
marklmi at yahoo.com