On Fri, 17 Jun 2022 at 15:17, Takahiro Akashi <takahiro.aka...@linaro.org> wrote: > > Hi Marcin, > > On Fri, 17 Jun 2022 at 14:47, Marcin Juszkiewicz > <marcin.juszkiew...@linaro.org> wrote: > > > > W dniu 16.06.2022 o 05:25, AKASHI Takahiro pisze: > > > The same code, the same kernel, does work without any errors > > > if a given NIC card (Intel i225) is not inserted in a slot. > > > > > > My current environment is: > > > TF-A: mainline v2.7 > > > SCP_BL2: HEAD > > > ofhttps://github.com/MarvellEmbeddedProcessors/binaries-marvell.git > > > mv-ddr: HEAD > > > ofhttps://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git > > > U-Boot: u-boot-2020.10-release > > > ofhttps://github.com/MarvellEmbeddedProcessors/u-boot-marvell.git > > > > I asked on #solidrun channel at discord: > > > > jnettlet > > — > > well if it is hanging reading the dbi registers, then that means a clock > > isn't running. I thought I saw a patch posted to fix that recently. Or > > maybe that patch caused the issue. > > Good hint. I will look for the patch. > > > mwojtas > > — > > I haven’t used u-boot on it for years… In EDK2 + DT I switched to > > pcie-host-generic. > > Clock is most likely root cause. > > > > > OS: Debian 11 with the kernel v5.17 (from unstable release) > > > (but the problem exists even with v5.10 of bullseye.) > > > > > > So I would like to ask you, > > > 1) Have you ever seen this sort of error in your experience? > > > 2) If possible, please try to use a PCIe card on your board. > > > 3) Then, please let me know your result along with your environment > > > (software that you are using) > > > > So I would consider switching to UEFI firmware and then check. > > Yeah, it is the last resort as I hesitate to do so because OS must be > reinstalled > from the scratch.
Update: Since I found, in linux-pci ML, that some guy had argued that U-Boot initialized pci bus in inconsistent way as the linux kernel did. So I tried U-Boot with pci driver disabled to boot the system, then the kernel started up without any error and the network interface has got working as expected. -Takahiro Akashi > Anyhow, thank you for your help, > -Takahiro Akashi > > > > > _______________________________________________ > > linaro-dev mailing list -- linaro-dev@lists.linaro.org > > To unsubscribe send an email to linaro-dev-le...@lists.linaro.org > > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s _______________________________________________ linaro-dev mailing list -- linaro-dev@lists.linaro.org To unsubscribe send an email to linaro-dev-le...@lists.linaro.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s