Difference between revisions of "R-Car/Boards/Salvator-X-view"

From eLinux.org
Jump to: navigation, search
(update)
m (Reduce section levels)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{TOC right}}
 
{{TOC right}}
  
= Renesas Salvator-X with MAXIM-RCAR-H3 camera board =
+
= Introduction =
 
 
== Introduction ==
 
  
 
This is the Wiki for the Renesas R-Car H3 Salvator-X board (RTP0RC7795SIPB0010S) with mounted MAXIM-RCAR-H3 camera board.
 
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.
 
Refer to the [[R-Car/Boards/Salvator-X]] page for information about Renesas Salvator-X board.
  
== Build instructions ==
+
= Build instructions =
  
 
Refer to the [[R-Car/Boards/Yocto-Gen3]] page for information about buid procedure for Salvator-X-view board:
 
Refer to the [[R-Car/Boards/Yocto-Gen3]] page for information about buid procedure for Salvator-X-view board:
Line 19: Line 17:
 
</pre>
 
</pre>
  
== Serial Console ==
+
= Serial Console =
  
 
Use a micro-USB cable to connect to "Debug Serial 0".
 
Use a micro-USB cable to connect to "Debug Serial 0".
 
Serial settings are 115200 8N1.
 
Serial settings are 115200 8N1.
  
== Booting Linux ==
+
= Booting Linux =
  
 
   * Kernel config: defconfig
 
   * Kernel config: defconfig
Line 37: Line 35:
 
</pre>
 
</pre>
  
== Test procedures ==
+
= 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 only 4 cameras to any set.
+
<pre>
 +
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 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 test application name 'capture', the source code location is "meta-renesas/meta-rcar-gen3/recipes-bsp/capture/files/capture.tar.gz"
- to run 'capture' test example:
+
 
 +
The 'capture' test example:
 
$ /usr/share/tests/test_lvds_camera_0-3.sh
 
$ /usr/share/tests/test_lvds_camera_0-3.sh
- to update ov10640-ov490 camera firmware with specific resolution
+
</pre>
  
 +
= Camera firmware update procedures =
  
* [[Tests:SCIF-FIFO]]: Test SCIF FIFO behavior, using SCIF3 and HSCIF3 on expansion I/O connectors
+
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:
* [[Tests:SDIO-KS7010]]: Test SDIO with a Spectec SDW823 microSD card (using an SD size adapter) on connectors CN13 or CN14
+
<pre>
* [[Tests:SDIO-H3-Voltage-Switching]]: Test if voltages change properly when inserting UHS capable SD cards into connectors CN13 or CN14
+
/usr/share/factory/OV10640_OV490_combine_general_v491_20160105_common_withSPIHeader_1280x1080@30_96Mhz.bin
* [[Tests:Watchdog-Pretimeout]]: Test watchdog pretimeouts. Because the hardware watchdog (RWDT) doesn't support this feature, a software watchdog must be used in addition
+
/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
 +
</pre>

Latest revision as of 08:24, 10 November 2017

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