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

From eLinux.org
Jump to: navigation, search
(initial)
 
m (Reduce section levels)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{TOC right}}
 
{{TOC right}}
  
= Renesas Salvator-X =
+
= Introduction =
  
== 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.
  
This is the Wiki for the Renesas R-Car H3 Salvator-X board (RTP0RC7795SIPB0010S).
+
= Build instructions =
Refer to the [[R-Car]] page for information about Renesas' R-Car SoC family.
 
  
== Serial Console ==
+
Refer to the [[R-Car/Boards/Yocto-Gen3]] page for information about buid procedure for Salvator-X-view board:
 +
  * target: salvator-x
 +
  * append: view
 +
 
 +
<pre>
 +
meta-renesas/meta-rcar-gen3/docs/sample/conf/salvator-x/linaro-gcc/bsp/*.conf
 +
MACHINE_FEATURES_append = " salvator-x-view"
 +
</pre>
 +
 
 +
= 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
 
   * Kernel image: arch/arm64/boot/Image
 
   * Kernel image: arch/arm64/boot/Image
   * DTB: arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dtb
+
   * DTB: arch/arm64/boot/dts/renesas/r8a7795-salvator-x-view.dtb
  
 
U-Boot boot command:
 
U-Boot boot command:
 
<pre>
 
<pre>
 
tftpboot 0x48080000 Image
 
tftpboot 0x48080000 Image
tftpboot 0x48f00000 r8a7795-salvator-x.dtb  
+
tftpboot 0x48f00000 r8a7795-salvator-x-view.dtb  
 
booti 0x48080000 - 0x48f00000
 
booti 0x48080000 - 0x48f00000
 
</pre>
 
</pre>
  
== Test procedures ==
+
= Camera test procedures =
 +
 
 +
<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 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
 +
</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