parent
7c9c3d1f79
commit
203ddd644d
|
@ -37,13 +37,12 @@ sudo ./install.sh
|
|||
```
|
||||
|
||||
4. Install the Jetpack+CTI 4.4.1 and Driver MT9M021 to source/ directory
|
||||
```
|
||||
```bash
|
||||
cd $LINUX_FOR_TEGRA
|
||||
mkdir source/ && cd source/
|
||||
cp -r ../spiri-project/Jetpack/* .
|
||||
cp -r ../spiri-project/li-mt9m021/ .
|
||||
```bash
|
||||
|
||||
```
|
||||
|
||||
```bash
|
||||
cd $LINUX_FOR_TEGRA
|
||||
|
@ -52,6 +51,28 @@ mkdir -p builds/build_<this build name> && cd builds/build_<this build name>
|
|||
mkdir build modules
|
||||
make -C ../../source/kernel/kernel-4.9/ ARCH=arm64 O=$PWD/build/ tegra_defconfig
|
||||
make -C ../../source/kernel/kernel-4.9/ ARCH=arm64 O=$PWD/build/ menuconfig
|
||||
|
||||
`#### Driver MT9M021`
|
||||
By default the Driver is installed, the tegra_defconfig, include it via ```CONFIG_VIDEO_I2C_SPIRI_CAM=y```. You can review it on the Kernel's menuconfig:
|
||||
|
||||
```bash
|
||||
make -C ../../source/kernel/kernel-4.9/ ARCH=arm64 O=$PWD/build/ menuconfig
|
||||
```
|
||||
|
||||
And find it in the following path:
|
||||
```bash
|
||||
Device Drivers ---> Multimedia support --> NVIDIA overlay Encoders, decoders, sensors and other helper chips ---> Spiri MT9M021 camera sensor support
|
||||
```
|
||||
|
||||
The deployed Kernel binaries after compilation could check if it has the Driver in it, inspecting on it with rgrep:
|
||||
|
||||
```bash
|
||||
rgrep mt9m021 build/arch/arm64/boot/Image
|
||||
```
|
||||
|
||||
/////
|
||||
|
||||
|
||||
make -C ../../source/kernel/kernel-4.9/ ARCH=arm64 O=$PWD/build/ CROSS_COMPILE=${CROSS_COMPILE} -j8 --output-sync=target zImage dtbs modules
|
||||
make -C ../../source/kernel/kernel-4.9/ ARCH=arm64 O=$PWD/build/ modules_install INSTALL_MOD_PATH=$PWD/modules
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue