R-Car/Boards/Stout:View

From eLinux.org
< R-Car
Revision as of 23:42, 7 October 2015 by Cogente (talk | contribs) (Created page with "{{TOC right}} == Introduction == This is the official Wiki for Renesas R-Car View Now package. This package includes Renesas R-Car Stout board and extension board. <br> Refer...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

This is the official Wiki for Renesas R-Car View Now package. This package includes Renesas R-Car Stout board and extension board.
Refer to Stout page
Refer to R-Car page for Renesas R-Car SoC family and boards.

Hardware

Top view
Bottom view

Hardware Features

  • Extension board is connected via 440-pin connector.
  • Extension board takes power from mother board
  • Four camera connectors routed thru max9272
  • Ethernet (1000 Mbps) KZ9031RNXCA phy
  • CAN interface connector

Where to buy

TBD

Official Extension board documentation

TBD

Tested peripherals

This extension board has been tested with I2C and avb cameras

System with LVDS cameras

Cameras:
renesas Renesas gen4 minicube automotive camera
maxim Maxim OV10635 camera
Fakra Wires

Quick Start

Buld image

First please visit [1] and do all preparing steps like cloning repositories and copy binaries and config files.
Then:

  1. Clone demo layer and meta-qt5
    git clone ''TBD''
    git clone https://github.com/meta-qt5/meta-qt5.git
    cd $WORK/meta-qt5
    git checkout -b tmp 6d9e2a6dfc21f7d9a3a11b4bcb426b5dfe6feaeb
    
  2. Edit $WORK/meta-qt5/recipes-qt/qt5/qtmultimedia_git.bb for compatibility with current bitbake version
    -EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains_any('PACKAGECONFIG', 'gstreamer gstreamer010', '', 'CONFIG+=done_config_gstreamer', d)}"
    +EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'gstreamer', '', 'CONFIG+=done_config_gstreamer', d)}" 
    
  3. Add necessary layers to $WORK/build/conf/bblayers.conf
      ${TOPDIR}/../meta-renesas-quick-start \
      ${TOPDIR}/../meta-qt5 \
      ${TOPDIR}/../meta-openembedded/meta-ruby \
    
  4. Please download and prepare necessary binaries form TBD
  5. Build and install image as it's described in [2]
  6. Copy application surroundview into rootfs image

After all this steps you can start working with boards and apps.

Start Surroundview

As mentioned in R-Car/Boards/Stout:CPLD VIN and AVB Ethernet pins are routed thru configurable cpld. Thus before starting surround view application you should configure either VINs 0-3 either Ethernet AVB
Warning! Using 4 VINs blocks sd card.
You should not SD card for foot fs. You can use nfs instead.

  1. Set new state of muxes four VINs configuration
    echo -n vin0_bt656_state > /sys/devices/mux.7/state
    echo -n vin1_bt656_state > /sys/devices/mux.8/state
    echo -n vin2_bt656_state > /sys/devices/mux.9/state
    echo -n vin3_bt656_state > /sys/devices/mux.10/state
    

    Set new state of muxes four AVB configuration

    echo -n  avb_state > /sys/devices/mux.9/state
    
  2. Start surroundview
    ./surroundView_renesas_lvds.sh