Running the NvMedia Samples

Prerequisites

  • The shared libraries, executables, and configuration files or scripts required to configure the cameras. For details, refer to the specific sample application.
  • The video files in case of decode/encode samples.

Deserializer Clock Control

Deserializer part on P3898 platform does not have dedicated oscillator. Clock input is received from the display serializer. Before launching the camera application, turn on RCLKOUT from the display serializer using the following commands,

echo 386 > /sys/class/gpio/export
echo out > /sys/class/gpio/PG.03/direction
cat /sys/class/gpio/PG.03/direction
echo 1 >/sys/class/gpio/PG.03/value
 i2ccmd -d /dev/i2c-8 -a 0x40 -l 2 -o 0x03 -w 0x30