i get the following error dmesg:
[ 9.143387] tegra-pcie-dw 14160000.pcie: Setting init speed to max speed
[ 9.143395] tegra-pcie-dw 14160000.pcie: unable to find phy entries
[ 9.143542] tegra-pcie-dw 14160000.pcie: DT parsing failed: -22
[ 9.143681] tegra-pcie-dw: probe of 14160000.pcie failed with error -22
[ 9.143928] tegra-pcie-dw 141a0000.pcie: Setting init speed to max speed
[ 9.249833] OF: PCI: host bridge /pcie@141a0000 ranges:
[ 9.249851] OF: PCI: IO 0x3a100000…0x3a1fffff → 0x3a100000
I modified this file: tegra194-p2888-0000-a00.dtsi
as explained in that post:
I tried to change the ODMDATA value to different values that I found in forum posts:
ODMDATA=0x4B191000;
or ODMDATA=0x9290000;
or ODMDATA=0x9191000
With no effect so far I still get this error.
Does anyone has a hint on how to make PCIe C4 work at all?
And one very basic question… I really don’t understand how to make the changes in the dtsi file being effective…
What do I have to do after changing tegra194-p2888-0000-a00.dtsi???
I rerun a kernel compile with:
make ARCH=arm64 O=$TEGRA_KERNEL_OUT tegra_defconfig
make ARCH=arm64 O=$TEGRA_KERNEL_OUT -j4
cp $TEGRA_KERNEL_OUT/arch/arm64/boot/Image kernel/
cp -r $TEGRA_KERNEL_OUT/arch/arm64/boot/dts kernel/
Is that needed to use the modified dtsi??? Or do I need to do something else? I really can’t fine documentation on that. Can someone point to the right document?
uname -a
Linux tegra-ubuntu 4.9.253-tegra #1 SMP PREEMPT Mon Jul 4 15:34:39 CEST 2022 aarch64 aarch64 aarch64 GNU/Linux
I managed to make the changed to the device tree. It now shows the PCI C4.
I am just not sure if the procedure I use is correct… it seems to be like hacking until it works.
So this works to see the pci interface (lspci works) but it doesn’t seems correct as a production method.
Can anyone point me to a different method ???
Then my problem is that I cannot compile/install my PCIe driver.
[ 5815.931976] xillybus_core: disagrees about version of symbol module_layout
[ 5833.404819] xillybus_core: disagrees about version of symbol module_layout
I think I need to do an apt update/upgrade.
But the apt update/upgrade destroys my device tree changes. I tried upgrading with
apt-mark hold nvidia-l4t-kernel-dtbs
But not more success to compile/install the driver.
Is there a good documentation on the right procedure?
Am I missing something?