932
edits
Line 312: | Line 312: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
'''2.''' Download and install JetPack 4.4 following the instructions from [https://developer.ridgerun.com/wiki/index.php?title=Raspberry_Pi_HQ_camera_IMX477_Linux_driver_for_Jetson#Download_the_JetPack_4.4 JetPack 4.4 Installation Instructions] | '''2.''' Download and install JetPack 4.4 following the instructions from [https://developer.ridgerun.com/wiki/index.php?title=Raspberry_Pi_HQ_camera_IMX477_Linux_driver_for_Jetson#Download_the_JetPack_4.4 JetPack 4.4 Installation Instructions]<br> | ||
'''3.''' Download the L4T sources according to your platform from the [https://developer.nvidia.com/embedded/downloads Jetson Download Center].<br> | '''3.''' Download the L4T sources according to your platform from the [https://developer.nvidia.com/embedded/downloads Jetson Download Center].<br> | ||
The Xavier AGX sources for JetPack 4.4 can be downloaded from [https://developer.nvidia.com/embedded/L4T/r32_Release_v4.3/sources/T186/public_sources.tbz2 here].<br> | |||
'''4.''' Create a folder named ''sources/'' in the ''Linux_for_Tegra/'' directory. | '''4.''' Create a folder named ''sources/'' in the ''Linux_for_Tegra/'' directory. | ||
Line 340: | Line 340: | ||
<syntaxhighlight> | <syntaxhighlight> | ||
tar -xvf ov24a1b_driver.tar | tar -xvf ov24a1b_driver.tar | ||
</syntaxhighlight | </syntaxhighlight> | ||
Move the uncompressed ''patches/'' folder into your ''JetPack_4.4_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/source/'' directory. | Move the uncompressed ''patches/'' folder into your ''JetPack_4.4_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/source/'' directory. | ||
<syntaxhighlight> | <syntaxhighlight> | ||
mv patches/ JetPack_4.4_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/source/ | mv patches/ JetPack_4.4_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/source/ | ||
</syntaxhighlight | </syntaxhighlight> | ||
Apply the patch as follows: | Apply the patch as follows: | ||
Line 362: | Line 362: | ||
mkdir -p packages/ | mkdir -p packages/ | ||
mkdir -p dtb/ | mkdir -p dtb/ | ||
</syntaxhighlight | </syntaxhighlight> | ||
Set up some variables: | Set up some variables: | ||
Line 369: | Line 369: | ||
KERNEL_OUT=$JETSON_KERNEL_SOURCE/../build | KERNEL_OUT=$JETSON_KERNEL_SOURCE/../build | ||
KERNEL_MODULES_OUT=$JETSON_KERNEL_SOURCE/../modules | KERNEL_MODULES_OUT=$JETSON_KERNEL_SOURCE/../modules | ||
</syntaxhighlight | </syntaxhighlight> | ||
Configure and build the kernel: | Configure and build the kernel: | ||
Line 376: | Line 376: | ||
make -C kernel/kernel-4.9/ ARCH=arm64 O=$KERNEL_OUT tegra_defconfig | make -C kernel/kernel-4.9/ ARCH=arm64 O=$KERNEL_OUT tegra_defconfig | ||
make -C kernel/kernel-4.9/ ARCH=arm64 O=$KERNEL_OUT menuconfig | make -C kernel/kernel-4.9/ ARCH=arm64 O=$KERNEL_OUT menuconfig | ||
</syntaxhighlight | </syntaxhighlight> | ||
==== Enable driver ==== | ==== Enable driver ==== |
edits