Recover a driver kernel module: pci-tegra.ko

Hi,

I accidentally deleted a mountable kernel module for the for the PCIe driver in the Jetson TX2 (L4T 28.1) normally found in /lib/modules/4.4.38-tegra/kernel/drivers/pci/host. Now my system does not recognize PCIe endpoints on boot. Is there anyway to download it from JetPack downloaded files without reflashing?

Thanks!

You may find it on host in the rootfs that JetPack had prepared for making the image and flash:

ls <where_you_installed_JetPack3.1>/64_TX2/Linux_for_Tegra_tx2/rootfs/lib/modules/4.4.38-tegra/kernel/drivers/pci/host

You can find your module there, so just copy it back to the proper location in TX2, and if it was the only damaged file it may work again after reboot.