
The i.MX6 moduls comes with one ore two port for phyCAM-S+ or phyCAM-P cameras on i.MX6 CSIx interface.

- phyFLEX-i.MX6 with CSO0 and CSI1 as parallel or LVDS
  * phyFLEX-i.MX6 on Development Kit with CSO0 and CSI1 as phyCAM-P or phyCAM-S+
  * phyFLEX-i.MX6 on SUBRA Kit with CSO0 and CSI1 as phyCAM-S+
- phyCORE-i.MX6 with CSO0 and CSI1 as parallel
  * phyCORE-i.MX6 on MIRA Kit with CSO0 as phyCAM-S+
- phyCARD-i.MX6 with CSO0 as LVDS
  * phyCARD-i.MX6 on Development Kit with CSO0 as phyCAM-S+

The BSP includes drivers to support connected cameras.

The drivers are compatible with v4l2 and the gstreamer scripts give examples of
the usage and functionality.

First steps:
============
1) Setup config-expansions, for the connected camera (only at first start necessary).
2) Disable QT-Demo (only at first start necessary).
3) Check the jumper settings, read "hardware manual"  (only at first start necessary).

1)Setup config-expansions:
==========================
Depending on the camera interface there has to be set a corresponding entry in the
/env/config-expansions file of the bootloader Barebox.
To change the device-tree use the Barebox environment:
- 'cd env' <enter>
- 'edit config-expansions' <enter>
For changes between camera_interface-typ and camera-parameter, the correct parameters must be set 
to CSIx.

of_camera_selection  -p <csi_port> -b <csiX_cam_bus_type> -a <csiX_cam_i2c_address> <cam_type>
- csi_port = [0,1]
- csix_cam_bus_type = [phyCAM-P, phyCAM-S+]
- csix_cam_i2c_address = [0x41-0x5D] depend of camera typ/setings
- csix_cam_type = [VM-006, VM-008, VM-009, VM-010-BW, VM-010-COL, VM-011-BW, VM-011-COL]

Example: VM-010-BW-LVD with i2C-address 0x48 on CSI0 (Camera_0) port
[of_camera_selection -p 0 -b phyCAM-S+ -a 0x48 VM-010-BW]

Note: See "phyCAM_with_phy<TYP>-iMX6_Getting_Started.pdf" for more details.
      On link "ftp://ftp.phytec.de/pub/ImageProcessing/".

After changing the settings with the editor
===========================================
- close the editor (CTRL D) 
- type 'saveenv' <enter> to save
- restart PHYTEC modul


2) Disable QT-Demo:
===================
after login
change in the directory  /gstreamer_examples/.. -> cd gstreamer_examples <ENTER>
start remove_qt_demo -> ./remove_qt_demo <ENTER>
start reboot -> reboot <ENTER>