R-Car/Boards/V3HSK

Introduction
This is the official Wiki for V3H Starter Kit Board. Refer to the R-Car page for information about Renesas' R-Car SoC family.

Hardware
This section contains information about Starter Kit Board hardware.

Hardware Features
TBD

Where to buy
Contact [mailto:renesas-autonomy@renesas.com Renesas representatives]

V3H Starter Kit Board Documentation
Official Renesas documentation

Quick Start
This board is supported only in Yocto v2.23.1.

Build BSP images
Please follow these instruction to build BSP http://elinux.org/R-Car/Boards/Yocto-Gen3-ADAS#Building_the_BSP_for_Renesas_ADAS_boards:

Skip steps 6 and 7 (These steps are for GPU and multimedia libraries-only) Replace step 9 with the following: cp $WORK/meta-rcar/meta-rcar-gen3-adas/docs/sample/conf/v3hsk/linaro-gcc/bsp/*.conf ./conf/ Skip steps 10,11 and 12 (specific for multimedia packages only) As step 14 use (weston window manager is not supported for V3M/V3H): bitbake core-image-minimal

At step 17 use images depending on board:  for V3H Starter Kit board: Image-r8a7798-v3hsk.dtb for V3H Starter Kit expansion board VideoBox Mini: Image-r8a7798-v3hsk-vbm.dtb Image-r8a7798-v3hsk-vbm-v2.dtb for ULCB expansion board Kingfisher: Image-r8a7798-v3hsk-kf.dtb  NOTE: you can refer to http://elinux.org/R-Car/Boards/Yocto-Gen3-ADAS#Build_scripts_examples section and use scripts after adding replacement accordingly to steps 9,14

Build SDK
Please follow these instruction to build SDK http://elinux.org/R-Car/Boards/Yocto-Gen3-ADAS#Build_SDK

Flashing firmware
The firmware files are generated during BSP build procedure and are located in the deploy directory. You can verify its content: $ ls -1 ./tmp/deploy/images/v3hsk/*.srec ./tmp/deploy/images/v3hsk/bl2-v3hsk.srec ./tmp/deploy/images/v3hsk/bl31-v3hsk.srec ./tmp/deploy/images/v3hsk/bootparam_sa0.srec ./tmp/deploy/images/v3hsk/cr7-v3hsk.srec ./tmp/deploy/images/v3hsk/cert_header_sa3.srec ./tmp/deploy/images/v3hsk/cert_header_sa6.srec ./tmp/deploy/images/v3hsk/u-boot-elf-v3hsk.srec



 Power off the board  Use SW1  Set SW as follows:  SW4[1]=OFF, SW4[2]=OFF, SW4[3]=OFF, SW4[4]=OFF, SW4[5]=OFF, SW4[6]=OFF, SW4[7]=OFF, SW4[8]=OFF  Power on the board  Use SW1 Boot ROM start and provides input 

 Load ( for V3H 1.1). In console provide the following inputs:  type "ctrl+A S" and select upload method "ascii", then choose file for uploading "AArch32_Gen3_H3_M3_V3H_Scif_MiniMon_develop_V3H_V0.05.mot", after upload finished press any key. Minimonitor starts and provides prompts on console

 Change SW as follows:  SW4[1]=ON, SW4[2]=ON, SW4[3]=OFF, SW4[4]=ON, SW4[5]=OFF, SW4[6]=OFF, SW4[7]=OFF, SW4[8]=OFF

 Erase flash. In console execute xcs command and provide the following inputs:  3 y y

 Flash bootparam_sa0.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: </li> 3 y eb220000 0 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bootparam_sa0.srec", after upload finished press any key y

 Flash cr7-v3hsk.srec (Please use for V3H 1.1 instead of one available in the build). In console execute xls2 command (load program to qspi flash) and provide the following inputs: </li> 3 y eb204000 40000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cr7-v3hsk.srec", after upload finished press any key y

 Flash cert_header_sa3.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: </li> 3 y eb220000 c0000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cert_header_sa3.srec", after upload finished press any key y

 Flash bl2-v3hsk.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: </li> 3 y eb244000 140000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl2-v3hsk.srec", after upload finished press any key y

 Flash cert_header_sa6.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: </li> 3 y eb220000 180000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cert_header_sa6.srec", after upload finished press any key y

 Flash bl31-v3hsk.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: </li> 3 y 44000000 1C0000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl31-v3hsk.srec", after upload finished press any key y

 Flash u-boot-elf-v3hsk.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: </li> 3 y 50000000 640000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "u-boot-elf-v3hsk.srec", after upload finished press any key y

 Reset the board </li> Press SW3

</ol>

U-Boot Environment
Please follow these instruction to boot from network http://elinux.org/R-Car/Boards/Yocto-Gen3-ADAS#Loading_kernel_via_TFTP_and_rootfs_via_NFS For V3H Starter Kit board you must use the following dtb file: Image-r8a7798-v3hsk.dtb Image-r8a7798-v3hsk-vbm.dtb Image-r8a7798-v3hsk-vbm-v2.dtb Image-r8a7798-v3hsk-kf.dtb

ADAS test applications
TBD

Installing V3H Starter Kit Expansion Board
Use the following procedure to install Expansion Board to the V3HSK Board: https://elinux.org/R-Car/Boards/V3MSK#Installing_V3M_Starter_Kit_Expansion_Board

Update VI and DU power domains to 3.3V using CPLD Configuration tool. Please contact Renesas to obtain this tool.