Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



On 03/04/2026 22:58, Izumi Tsutsui wrote:
>> tsutsui%ceres.dti.ne.jp@localhost (Izumi Tsutsui) writes:
>> 
>>>>> I'm not familiar FDT or Raspberry Pi firmware, but ofctl says:
>>>> 
>>>> Yes. It has been deleted in "our" dtb file.
>> 
>>> Sorry, I don't see your point.  What's your actual suggestion?
>>> To revert some NetBSD's change in dts files??
>> 
>> 
>> 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.
>> 
>> % 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.
>> 
>> 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




Home | Main Index | Thread Index | Old Index