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

From: Colin Percival <cperciva_at_tarsnap.com>
Date: Thu, 25 Apr 2024 19:43:39 UTC
On 4/25/24 12:24, Warner Losh wrote:
> On Thu, Apr 25, 2024, 12:57 PM Colin Percival <cperciva@tarsnap.com 
> <mailto: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
>     <mailto:maciphone2@googlemail.com>>
>      >      Reviewed by: imp
>      >      Pull Request: https://github.com/freebsd/freebsd-src/pull/1182
>     <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.

Entirely possible.  The release-building code is trying to copy it from
/usr/local/share/rpi-firmware/bcm2711-rpi-cm4s.dtb
so if it's somewhere else we need to adjust that code.

-- 
Colin Percival
FreeBSD Release Engineering Lead & EC2 platform maintainer
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid