diff --git a/Testing.md b/Testing.md index 5d08b7b..ec66c92 100644 --- a/Testing.md +++ b/Testing.md @@ -1 +1,30 @@ -Welcome to the Wiki. \ No newline at end of file + +#### 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 +``` +