Re: RPI 4/5 u-boot new port, is there any interest?

Klaus Küchemann <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
Thanks a lot , Evgenii !!!…

In addition a link for you all to the u-boot-hacks for RPi5 ( including RP1-driver/ethernet(netboot)) :

patch sources : https://github.com/xen-troops/u-boot/tree/rpi5-2024.04-xt

Regards

K.

> Am 04.06.2025 um 23:27 schrieb Evgenii Ivanov <[email protected]>:
> 
> Hi,
> 
> If anyone is interested in working on this, I've gathered up some notes/links which could be helpful:
> 
>     • Work by dfr enabling pcie/sd interface: https://github.com/dfr/freebsd-src/tree/rpi-5-pcie (requires a few more if statements to work with 15.0)
>     • OpenBSD commit enabling rp1 child enumeration over device tree: https://github.com/openbsd/src/commit/2ee472d028ecbaf1d25a179e46dc4a0f63034131 (there is also a gpio driver for the rp1)
>     • rp1 interrupt handling (GPL code): https://github.com/rsta2/circle/blob/master/lib/southbridge.cpp (there is also code for eth/usb/spi...)
>     • Zephyr also appears to have some primitive support for the rpi5: https://docs.zephyrproject.org/latest/boards/raspberrypi/rpi_5/doc/index.html
>     • pinctrl for rp1 gpio control via userspace in Linux (BSD license): https://github.com/raspberrypi/utils/blob/master/pinctrl/gpiochip_rp1.c
>     • rpi4 baremetal gpu (MIT?): https://github.com/Random06457/rpi4-gpu-bare-metal-examples
> 
> 
> So far I've only managed to get the rp1 stub driver to enumerate over the child devices and attach them (causing a kernel panic...). I just grabbed mainline u-boot and compiled for rpi arm64, using the device tree blob from rpi-firmware repo.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.