I have a custom carrier board on which I am trying to port my changes to Jetpack 5.0.2 from Jetpack 4.6. I am getting troubles regarding the bootup and pcie controllers bringup. Using a forum topic, I am at a stage where I am using debug uefi binary, disabled both pcie controllers in uefi dtb file and enabled both pcie controllers in the kernel dtb. You can see attached logs for more information.
pcie@14160000 which is x1 configuration, that is connected to NVMe drive of 64GB (nvme0n1) whereas pcie@141a0000 which is x4 configuration, that is connected to a Gen3 PCIe switch as a root complex.
Firstly when I started work on this, it was stuck in UEFI stage, then the forum told to use Debug UEFI binary and make a seperate dtb for bootloader where I need to disable both the pcie controllers, and in kernel dtb I need to enable both pcie controllers. So I confirm that now it stucks in kernel stage.
I disabled pcie@141a0000 and flashed the device and it didn’t stuck at this point. But I need to enable both PCIe controllers and that is the final requirement.
If I disable the pcie@14160000 and enable pcie@141a0000 and flash the device, it stuck at the iommu grouping stage. Please see the logs attached. pcie.1416000-disable.log (31.6 KB)