**********************************************************
The following informations are for the PHYTEC BSP PD21.2.0
phyCORE-i.MX6UL/UUL
**********************************************************

The following phytec cameras are currently supported:
- VM-010-BW (@24MHz)
- VM-010-COL (@24MHz)
- VM-011-BW (@50MHz)
- VM-011-COL (@50MHz)
- VM-009-COL (@50MHz)
- VM-016-BW (@50MHz)
- VM-016-COL (@50MHz)


Additional phytec camera support is in progress.

Please pay attention to the maximum allowable frequencies.
Please read the the Manual L-740 "phyCAM-P / phyCAM-S".


********************************************************************
camera configuration
********************************************************************

The i.MX6UL moduls comes with one parallel interface for one phyCAM-P cameras.
- phyCORE-i.MX6UL with CSI as parallel (up to 10-Bit)
  * phyCORE-i.MX6UL on Development Kit with CSI as phyCAM-P

The BSP includes drivers to support connected phytec-cameras.

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

camera typ (defaults)
=====================
phyCORE-i.MX6UL (KIT):
VM-010-BW at i2c adress 0x48


set new camera i2c adress or new camera typ
===========================================
To use cameras with other i2c addresses or add a new camera, you have to recompile the image.
See instruction manual for YOCTO-BSPs.


***************************
First Steps
***************************
1) Depending on the camera there has to be set a corresponding entry in the bootloader Barebox.

To change the camera, use the Barebox environment: Use a terminal program e.g. "Putty".
- Press space button during the barebox count. "Hit m for menu or any to stop autoboot:    x"


Example: VM-010-BW-LVDS with i2C-address 0x48 on CSI0 (Camera_0) port
- type 'nv overlays.select="imx6-vm010-bw-0.dtbo"' <enter>
After changing the settings with the editor:
- type 'saveenv' <enter> to save 
- type 'reset' <enter> to restart

Following devicetrees are possible:
> nv overlays.select="imx6ul-vm009.dtbo"
> nv overlays.select="imx6ul-vm010-bw.dtbo"
> nv overlays.select="imx6ul-vm010-col.dtbo"
> nv overlays.select="imx6ul-vm011-bw.dtbo"
> nv overlays.select="imx6ul-vm011-col.dtbo"
> nv overlays.select="imx6ul-vm016.dtbo"



2) Start gstreamer Demos
   - after login
   - change in the directory  /gstreamer_examples/.. -> cd gstreamer_examples <ENTER>
   - start "bwcam-fbdev_640x480.sh" or "colcam-fbdev_640x480.sh" (depend on your camera type)
   - for more camera type examples, go in camera sensor type subdirectories
     (VM-009 -> mt9m131, VM-010 -> mt9v024, VM-011 -> mt9p031/mt9p006,)

For more informations see link "ftp://ftp.phytec.de/pub/ImageProcessing/"
