parent
9cd9012bd4
commit
28737fa0ff
31
Testing.md
31
Testing.md
|
@ -1 +1,30 @@
|
||||||
Welcome to the Wiki.
|
|
||||||
|
#### Driver MT9M021
|
||||||
|
|
||||||
|
By default the Driver gets installed, as the tegra_defconfig has it. 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 has the Driver in it, inspecting on it with rgrep:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rgrep mt9m021 build/arch/arm64/boot/Image
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Cameras
|
||||||
|
|
||||||
|
##### Framerate test
|
||||||
|
|
||||||
|
* Set the framerate to 60fps and the driver will configure the sensor:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
gst-launch-1.0 nvarguscamerasrc sensor-id=0 aelock=true awblock=true ! 'video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12,framerate=(fraction)60/1' ! fakesink
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue