R-Car/Boards/Salvator-X-view

From eLinux.org
< R-Car
Revision as of 02:08, 27 July 2016 by Cogente (talk | contribs) (fix)
Jump to: navigation, search

Renesas Salvator-X with MAXIM-RCAR-H3 camera board

Introduction

This is the Wiki for the Renesas R-Car H3 Salvator-X board (RTP0RC7795SIPB0010S) with mounted MAXIM-RCAR-H3 camera board. Refer to the R-Car/Boards/Salvator-X page for information about Renesas Salvator-X board.

Build instructions

Refer to the R-Car/Boards/Yocto-Gen3 page for information about buid procedure for Salvator-X-view board:

 * target: salvator-x
 * append: view
meta-renesas/meta-rcar-gen3/docs/sample/conf/salvator-x/linaro-gcc/bsp/*.conf
MACHINE_FEATURES_append = " salvator-x-view"

Serial Console

Use a micro-USB cable to connect to "Debug Serial 0". Serial settings are 115200 8N1.

Booting Linux

 * Kernel config: defconfig
 * Kernel image: arch/arm64/boot/Image
 * DTB: arch/arm64/boot/dts/renesas/r8a7795-salvator-x-view.dtb

U-Boot boot command:

tftpboot 0x48080000 Image
tftpboot 0x48f00000 r8a7795-salvator-x-view.dtb 
booti 0x48080000 - 0x48f00000

Camera test procedures

There are 2 sets (J1-J4 and J5-J10-J12-J13) with 4 cameras each (totally 8). Each set is independent, hence it is possible to connect totally 4 cameras to any set.

The yocto build rootfs includes the test application that validates the cameras functionality:
- the test application name 'capture', the source code location is "meta-renesas/meta-rcar-gen3/recipes-bsp/capture/files/capture.tar.gz"

The 'capture' test example:
$ /usr/share/tests/test_lvds_camera_0-3.sh

Camera firmware update procedures

To update ov10640-ov490 camera firmware with specific resolution use the /usr/share/factory/ov10640_ov490_flash_0-3.sh script with one of the images:

/usr/share/factory/OV10640_OV490_combine_general_v491_20160105_common_withSPIHeader_1280x1080@30_96Mhz.bin
/usr/share/factory/OV10640_OV490_combine_general_v491_20160105_common_withSPIHeader_1280x800@30_96Mhz.bin
/usr/share/factory/OV10640_OV490_combine_general_v491_20160105_common_withSPIHeader_1280x966@30_96Mhz.bin
/usr/share/factory/OV10640_OV490_combine_general_v491_20160105_common_withSPIHeader_640x480@30_96Mhz.bin
/usr/share/factory/OV10640_OV490_combine_general_v491_20160105_common_withSPIHeader_640x480@60_96MHz.bin