R-Car/Boards/Eagle

Introduction
This is the Wiki for the Renesas R-Car V3M Eagle board (RTP0RC77970SEB0010S). Refer to the R-Car page for information about Renesas' R-Car SoC family.

Hardware
This section contains information about Eagle Board hardware.

Hardware Features
TBD

Where to buy
TBD

Eagle Board Documentation
TBD

System with LVDS cameras
TBD

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:

At step 5,6 - skip these steps At step 8 - replace this step with following: cp $WORK/meta-rcar/meta-rcar-gen3-adas/docs/sample/conf/eagle/linaro-gcc/bsp/*.conf ./conf/ At step 9,10,11 - skip these steps At step 13 - replace this step with following: bitbake core-image-minimal At step 16 use following dtb image: Image-r8a7797-es1-eagle.dtb Image-r8a7797-eagle.dtb

NOTE: prefix -es1- is a blob to be used with ws1.0 silicon. The blob without prefix is for ws2.0 silicon. NOTE: you can refer to http://elinux.org/R-Car/Boards/Yocto-Gen3-ADAS#Build_scripts_examples section and use scripts after adding append from steps 8,13

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/eagle/*.srec ./tmp/deploy/images/eagle/bl2-eagle.srec ./tmp/deploy/images/eagle/bl31-eagle.srec ./tmp/deploy/images/eagle/bootparam_sa0.srec ./tmp/deploy/images/eagle/cert_header_sa3.srec ./tmp/deploy/images/eagle/cert_header_sa6.srec ./tmp/deploy/images/eagle/cr7-eagle.srec ./tmp/deploy/images/eagle/u-boot-elf-eagle.srec



 Power off the board  Use SW22  Set SW as follows:  SW7[all]=OFF SW5=ON SW3[1]=OFF, SW3[2]=ON, SW3[3]=OFF, SW3[4]=OFF, SW3[5]=OFF, SW3[6]=OFF  Power on the board  Use SW22 Boot ROM start and provides input 

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

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

 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:  3 y e6320000 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-eagle.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: </li> 3 y e6304000 40000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cr7-eagle.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 e6320000 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-eagle.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: </li> 3 y e6344000 140000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl2-eagle.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 e6320000 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-eagle.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-eagle.srec", after upload finished press any key y

 Flash u-boot-elf-eagle.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-eagle.srec", after upload finished press any key y

 Reset the board </li> Press SW36

</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 Eagle board you must use the following dtb file: Image-r8a7797-es1-eagle.dtb Image-r8a7797-es1-eagle-function.dtb Image-r8a7797-eagle.dtb Image-r8a7797-eagle-function.dtb

ADAS test applications
TBD