Jump to content

Raspberry Pi HQ camera IMX477 Linux driver for Jetson: Difference between revisions

mNo edit summary
Line 492: Line 492:
===Copy the kernel modules===
===Copy the kernel modules===


* You can just access your SD card in your PC and copy the '''KERNEL_MODULES=$JETPACK_DIR/JetPack_[JETPACK_VERSION]_Linux_JETSON_[PLATFORM]_DEVKIT/Linux_for_Tegra/modules/lib/modules/4.9.140/*''' directory content into '''/lib/modules/4.9.140/''' in your SD card to update the modules. Where <code>[PLATFORM]</code> must be replaced by <code>XAVIER_NX</code> or <code>NANO</code>, and <code>[JETPACK_VERSION]</code> must be replaced by <code>4.4</code>, <code>4.4.1</code> or <code>4.5</code>.
* You can just access your SD card in your PC and copy the '''KERNEL_MODULES=$JETPACK_DIR/JetPack_[JETPACK_VERSION]_Linux_JETSON_[PLATFORM]_DEVKIT/Linux_for_Tegra/modules/lib/modules/4.9.201/*''' directory content into '''/lib/modules/4.9.201/''' in your SD card to update the modules. Where <code>[PLATFORM]</code> must be replaced by <code>XAVIER_NX</code> or <code>NANO</code>, and <code>[JETPACK_VERSION]</code> must be replaced by <code>4.4</code>, <code>4.4.1</code> or <code>4.5</code>.


* Or you can update with your compiled modules  If your board is up you can update the kernel modules as follows:
* Or you can update with your compiled modules  If your board is up you can update the kernel modules as follows:
Line 500: Line 500:
cd $KERNEL_MODULES
cd $KERNEL_MODULES
# use rsync instead of scp to avoid symlink recursion problems
# use rsync instead of scp to avoid symlink recursion problems
rsync --progress -avhe ssh ../4.9.140 <nvidia-nx-user>@<nvidia-nx-ip>:/tmp/
rsync --progress -avhe ssh ../4.9.201 <nvidia-nx-user>@<nvidia-nx-ip>:/tmp/
</pre>
</pre>


Where <code>[PLATFORM]</code> must be replaced by <code>XAVIER_NX</code> or <code>NANO</code>, and <code>[JETPACK_VERSION]</code> must be replaced by <code>4.4</code>, <code>4.4.1</code> or <code>4.5</code>.
Where <code>[PLATFORM]</code> must be replaced by <code>XAVIER_NX</code> or <code>NANO</code>, and <code>[JETPACK_VERSION]</code> must be replaced by <code>4.4</code>, <code>4.4.1</code> or <code>4.5</code>.


* Move the modules from <code>/tmp</code> to the <code>/lib/modules/</code> folder inside the Jetson's filesystem and reboot:
* Move the modules from <code>/tmp</code> to the <code>/lib/modules/</code> folder inside the Jetson's filesystem and reboot:


<pre>
<pre>
sudo mv /tmp/4.9.140/ /lib/modules/
sudo mv /tmp/4.9.201/ /lib/modules/
sudo reboot
sudo reboot
</pre>
</pre>
267

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.