I can update and generate a dtb with working ranges in /boot/dtb/kernel_tegra234-p3701-0000-p3737-0000.dtb
However, this only helps with the kernel recognizing things correctly. The first few layers of booting still dislikes the larger BARs.
If I power on the endpoint device after the first levels of boot, then the system boots up correctly and the kernel recognizes the PCIe device and its BARs just fine.
So my question is about the dtb used in the bootloader (BL2/3/31/32, etc)
I did update $PATH/hw_image/JetPack_5.0.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/kernel_tegra234-p3701-0000-p3737-0000.dtb
and ran flash.sh, but that didnt seem to fix the issue.
Is that the correct file to modify, or is there a different one I should be targeting?