Hi Simon. Please see below.
-- Oleski On 06/02/2025 14:31, Simon Glass wrote: > Hi Oleksii, > > On Wed, 5 Feb 2025 at 03:15, Oleksii Moisieiev > <oleksii_moisie...@epam.com> wrote: >> This patch series provides generic support for Raspberry PI 5 in >> U-Boot with additional hardware drivers. >> The following features were implemented: >> 1) add generic board config for Raspberry PI5 including device-tree >> files; >> 2) add support for RP1 chip with additional hardware; >> 3) add support for rp1-clock driver with dt-bindings update; >> 4) PCIE BRCMSTB driver support for Raspberry PI 5; >> 5) add clock/reset/gpio drivers; >> 6) add ethernet support in u-boot. >> >> This patch-series introducing the basic set of supported drivers in >> U-Boot which allows using such features as tftp and\or NFS. >> I've posted this patch series as RFC because of the following commit: >> e51ca0d221 (HACK: drivers: mfd: set bar configuration for RP1 driver, >> 2024-05-21) > Where is that commit? This commit is part of the patch series. Here is direct link: https://lore.kernel.org/u-boot/cover.1738749764.git.oleksii_moisie...@epam.com/T/#m21cf23989fb08cb655e25b1a2d082632b6f865c9 >> It includes HACK for rp1 driver in u-boot. This HACK is setting bar >> address in the correct order because RP1 driver in Linux Kernel rely on >> the pci BAR configuration which initializes BARs based on BAR size. >> This results the Linux set BARs in the same order on each boot. >> U-boot does initialization without any sorting so the configuration >> may be different from the Linux kernel. >> BAR address configuration is set to match the Linux Kernel order >> to avoid fails on address translation. >> >> This should be changed after upstreaming RP1 driver to the Linux kernel >> mainline. >> >> Probably somebody from Raspberry will post an advise about how this >> can be properly done. > +1 > >> U-Boot support for Raspberry PI 5 was added in terms of the following >> project: https://github.com/xen-troops/meta-xt-prod-devel-rpi5 >> This is xen-based dom0less system on the Raspberry PI 5 with Zephyr as >> Control Domain and Linux is Driver Domain. >> >> It is Yocto-based so it will be easy to build it on your side. Please >> visit link for the details. > I tried to apply this but I get a lot of conflicts. Can you please > advise what tree it is based on? Yocto build using the following repo: https://github.com/xen-troops/u-boot/tree/rpi5-2024.04-xt It is based on the 7-8 month old master. I didn't do any rebase on the top because it's unclear if these changes will go to upstream. So I've posted RFC before making significant changes. > > Regards, > Simon