Jump to content

OmniVision Monochrome OV24A1B Linux driver for Jetson: Difference between revisions

Line 378: Line 378:
</syntaxhighlight>
</syntaxhighlight>


==== Enable driver ====
==== Enable and compile the driver ====


Select in the menu (if not selected yet):
'''1.''' Select in the menu (if not selected yet):
<syntaxhighlight>
<syntaxhighlight>
Device Drivers  --->
Device Drivers  --->
Line 387: Line 387:
             <*> OV24A1B camera sensor support
             <*> OV24A1B camera sensor support
</syntaxhighlight><br>
</syntaxhighlight><br>
Go back by hitting the double ''Esc'' key until you get the message: ''"Do you want to save your new configuration?"'', select ''Yes'' and press Enter.
Go back by hitting the double ''Esc'' key until you get the message: ''"Do you want to save your new configuration?"'', select ''Yes'' and press Enter.<br>
It allows you to enable the OV24A1B driver as built-in.<br>
It allows you to enable the OV24A1B driver as built-in.<br><br>


Compile kernel, device tree and modules:
'''2.'''Compile kernel, device tree and modules:
<syntaxhighlight>
<syntaxhighlight>
make -C kernel/kernel-4.9/ ARCH=arm64 O=$KERNEL_OUT CROSS_COMPILE=${CROSS_COMPILE} -j4 Image
make -C kernel/kernel-4.9/ ARCH=arm64 O=$KERNEL_OUT CROSS_COMPILE=${CROSS_COMPILE} -j4 Image
Line 396: Line 396:
make -C kernel/kernel-4.9/ ARCH=arm64 O=$KERNEL_OUT CROSS_COMPILE=${CROSS_COMPILE} -j4 modules
make -C kernel/kernel-4.9/ ARCH=arm64 O=$KERNEL_OUT CROSS_COMPILE=${CROSS_COMPILE} -j4 modules
make -C kernel/kernel-4.9/ ARCH=arm64 O=$KERNEL_OUT modules_install INSTALL_MOD_PATH=$KERNEL_MODULES_OUT
make -C kernel/kernel-4.9/ ARCH=arm64 O=$KERNEL_OUT modules_install INSTALL_MOD_PATH=$KERNEL_MODULES_OUT
</syntaxhighlight>
</syntaxhighlight><br>


Copy the generated kernel and dtb:
'''3.''' Copy the generated kernel and dtb:
<syntaxhighlight>
<syntaxhighlight>
cd $JETSON_KERNEL_SOURCE/../
cd $JETSON_KERNEL_SOURCE/../
932

edits

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