Re: Raspberry Pi 4 support on 32 bit earmv7hf GENERIC kernel

Nick Hudson <[email protected]> Sat, 4 Apr 2026 07:31:14 +0100
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
On 03/04/2026 22:58, Izumi Tsutsui wrote:
>> [email protected] (Izumi Tsutsui) writes:
>>=20
>>>>> I'm not familiar FDT or Raspberry Pi firmware, but ofctl says:
>>>>=20
>>>> Yes. It has been deleted in "our" dtb file.
>>=20
>>> Sorry, I don't see your point.  What's your actual suggestion?
>>> To revert some NetBSD's change in dts files??
>>=20
>>=20
>> My point is that with a suitable fdt, you already have support
>> for the framebuffer. That's the easiest way and works since
>> many years.
>>=20
>> % ofctl -p /soc/fb
>> [Caching 235 nodes and 1235 properties]
>> compatible              6272636d 2c62636d 32383335 2d666200   =
"brcm,bcm2835-fb"
>> name                    666200.. ........ ........ ........   "fb"
>> phandle                 0000008f ........ ........ ........   ....
>> status                  6f6b00.. ........ ........ ........   ok.
>>=20
>> genfb0 at simplebus1: switching to framebuffer console
> I think there may still be two different framebuffer paths mixed
> together here.
> I understand the point about /soc/fb and brcm,bcm2835-fb, but
> when I look at the current DTS files in src/sys/external/gpl2/dts,
> "brcm,bcm2835-fb" comes only from bcm2835-common.dtsi:

This will fix your problem I think (and do the cleanup I promised a =
while back)

https://www.netbsd.org/~skrll/rpi.fb.diff