On Wed, 4 Mar 2026 20:24:35 +0000 Peter Robinson <[email protected]> wrote:
> On Wed, 4 Mar 2026 at 19:43, Pedro Falcato <[email protected]> wrote: > > > > Hi Torsten, > > > > On Mon, Mar 02, 2026 at 04:42:56PM +0100, Torsten Duwe wrote: > > > On Mon, 2 Mar 2026 13:59:40 +0100 > > > Torsten Duwe <[email protected]> wrote: > > > > > > > This proposed patch uses the already existent dev_phys_to_bus(), > > > > which can dig up the correct offset from associated DT nodes and > > > > subtract it. > > > > > > Just to make it clear, that patch is a necessary but not a sufficient > > > condition to boot the RPi5 from NVMe. The PCIe bus node above > > > the NVMe is generated dynamically has no DT node with dma-ranges and so > > > dev_phys_to_bus() still returns zero. In order to test NVMe on the > > > RPi5 you can either: > > > > > > > Say I wanted to test NVMe booting on the pi5 (which I actually do). > > I would need: > > 1) this patch > > 2) one of the two BUS_ADDR() related diffs > > 3) the fixes posted in > > https://lore.kernel.org/u-boot/[email protected]/ > > I believe that series has been replaced with: > https://lore.kernel.org/u-boot/[email protected]/T/#t Yes. Or on patchwork: https://patchwork.ozlabs.org/project/uboot/list/?series=493779 > > 4) anything else? > > Enable NVME support in the defconfig NVME commands and NVME_PCI. CONFIG_NVME_PCI requires CONFIG_NVME. Torsten

