Re: NVMe support on RPi CM4 board

2023-09-11 Thread Luis Alfredo da Silva
Hi Simon, no problem, apologies for the quoting issue, and thank you for all your prompt answers and some guidance to try to understand what is happening. Although I'm still having the same issue, I'll share more insights just in case they might be useful for anyone having the same problem. 1. Af

Re: NVMe support on RPi CM4 board

2023-09-10 Thread Simon Glass
Hi Luis, On Tue, 5 Sept 2023 at 17:17, Luis Alfredo da Silva wrote: > > Thanks for your answer Simon, > >> Can you check if the device has PCI bus master enabled? > > > I think this one will take me a bit more time, should this be in raspberry > pi’s eeprom firmware? > > Will the disabled PCI bu

Re: NVMe support on RPi CM4 board

2023-09-05 Thread Luis Alfredo da Silva
Thanks for your answer Simon, Can you check if the device has PCI bus master enabled? > I think this one will take me a bit more time, should this be in raspberry pi’s eeprom firmware? Will the disabled PCI bus master also be a problem for the Linux kernel? As this is working as expected Regard

Re: NVMe support on RPi CM4 board

2023-09-05 Thread Luis Alfredo da Silva
Hi Simon, it took me some time to come back to this issue, but I was able to enable the debug messages on drivers/nvme/nvme.c. This is what I got when running the nvme scan command U-Boot> pci BusDevFun VendorId DeviceId Device Class Sub-Class __

Re: NVMe support on RPi CM4 board

2023-09-05 Thread Simon Glass
Hi Luis, L On Tue, Sep 5, 2023, 12:00 Luis Alfredo da Silva wrote: > Hi Simon, it took me some time to come back to this issue, but I was able > to enable the debug messages on drivers/nvme/nvme.c. > > This is what I got when running the nvme scan command > > U-Boot> pci > BusDevFun VendorId

Re: NVMe support on RPi CM4 board

2023-08-10 Thread Luis Alfredo da Silva
Hi Simon, I enabled the next four variables CONFIG_NVME_PCI=y CONFIG_NVME=y CONFIG_CMD_NVME=y CONFIG_PCI=y how different is CONFIG_NVME_PCI from NVME_PCI, I took the latter value from several configs files in u-boot repo and from [1] [1] https://github.com/u-boot/u-boot/blob/ef8336e2705fce25023

Re: NVMe support on RPi CM4 board

2023-08-09 Thread Simon Glass
Hi Luis, On Wed, 9 Aug 2023 at 10:43, Luis Alfredo da Silva wrote: > > Hi Simon, I enabled the next four variables > > CONFIG_NVME_PCI=y > CONFIG_NVME=y > CONFIG_CMD_NVME=y > CONFIG_PCI=y > > how different is CONFIG_NVME_PCI from NVME_PCI, I took the latter value from > several configs files in

Re: NVMe support on RPi CM4 board

2023-08-08 Thread Simon Glass
Hi Luis, On Tue, 8 Aug 2023 at 17:09, Luis Alfredo da Silva wrote: > > I compiled u-boot version 2023-07 and boot it on a RPi CM4 using a PCIe M.2 > NVMe drive, but it doesn't appear to be working. > > Once u-boot has started and boot successfully it recognizes the PCIe device > giving me the nex

NVMe support on RPi CM4 board

2023-08-08 Thread Luis Alfredo da Silva
I compiled u-boot version 2023-07 and boot it on a RPi CM4 using a PCIe M.2 NVMe drive, but it doesn't appear to be working. Once u-boot has started and boot successfully it recognizes the PCIe device giving me the next output U-Boot> pci BusDevFun VendorId DeviceId Device Class Sub-Cl