Difference between revisions of "R-Car/Boards/Condor"

From eLinux.org
Jump to: navigation, search
(Flashing firmware)
(Build BSP images)
 
(14 intermediate revisions by the same user not shown)
Line 25: Line 25:
  
 
== Quick Start ==
 
== Quick Start ==
 +
This board is supported in both Yocto v2.23.1, v3.9.0 and later.
 +
Yocto v3.21.0 is preferred option.
 +
 
=== Build BSP images ===
 
=== 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:
 
Please follow these instruction to build BSP http://elinux.org/R-Car/Boards/Yocto-Gen3-ADAS#Building_the_BSP_for_Renesas_ADAS_boards:
Line 30: Line 33:
 
Skip steps 5 and 6 (These steps are for GPU and multimedia libraries-only)<br/>
 
Skip steps 5 and 6 (These steps are for GPU and multimedia libraries-only)<br/>
 
Replace step 8 with the following:
 
Replace step 8 with the following:
 +
For Yocto v2.23.1:
 
<pre>
 
<pre>
 
cp $WORK/meta-rcar/meta-rcar-gen3-adas/docs/sample/conf/condor/linaro-gcc/bsp/*.conf ./conf/
 
cp $WORK/meta-rcar/meta-rcar-gen3-adas/docs/sample/conf/condor/linaro-gcc/bsp/*.conf ./conf/
 +
</pre>
 +
For Yocto v3.9.0 and later:
 +
<pre>
 +
cp $WORK/meta-rcar/meta-rcar-gen3-adas/docs/sample/conf/condor/poky-gcc/bsp/*.conf ./conf/
 
</pre>
 
</pre>
 
Skip steps 9,10 and 11 (specific for multimedia packages only)<br/>
 
Skip steps 9,10 and 11 (specific for multimedia packages only)<br/>
Line 38: Line 46:
 
bitbake core-image-minimal
 
bitbake core-image-minimal
 
</pre>
 
</pre>
Use Condor (V3H evaluation board name) dtb image at step 16:
+
Use Condor (V3H evaluation board name) dtb image at step 16: <br/>
 +
For Yocto v2.23.1:
 
<pre>
 
<pre>
 
Image-r8a7798-condor.dtb
 
Image-r8a7798-condor.dtb
 +
</pre>
 +
For Yocto v3.9.0 and later:
 +
<pre>
 +
Image-r8a77980-condor.dtb
 +
Image-r8a77980-es2-condor.dtb
 
</pre>
 
</pre>
  
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 8,13
+
NOTE: prefix -es2- is a blob to be used with ws2.0 silicon. The blob without prefix is for ws1.0 and ws1.1 silicon.
 +
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 ===
 
=== Build SDK ===
Line 91: Line 106:
 
</li>
 
</li>
  
<li> Load [[File:AArch32_Gen3_H3_M3_V3H_Scif_MiniMon_develop_V3H_V0.05.mot.zip]] (obtain this loader from Renesas). In console provide the following inputs:
+
<li> Load [[File:AArch32_Gen3_H3_M3_V3H_Scif_MiniMon_develop_V3H_V0.05.mot.zip]] ('''[[File:AArch32_Gen3_V3H_Scif_MiniMon_V5.04C.MOT.zip]] for V3H 1.1'''). In console provide the following inputs:
 
</li>
 
</li>
 
<pre>
 
<pre>
Line 112: Line 127:
 
</pre>
 
</pre>
  
<li> Flash bootparam_sa0.srec (obtain this image from Renesas). In console execute xls2 command (load program to qspi flash) and provide the following inputs:
+
<li> Flash bootparam_sa0.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
 
</li>
 
</li>
 
<pre>
 
<pre>
Line 123: Line 138:
 
</pre>
 
</pre>
  
<li> Flash cr7-condor.srec (obtain this image from Renesas). In console execute xls2 command (load program to qspi flash) and provide the following inputs:
+
<li> Flash cr7-condor.srec ('''For v2.23.1 only: Please use [[File:cr7-v3h-1.1.srec.zip]] 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>
 
</li>
 
<pre>
 
<pre>
Line 134: Line 149:
 
</pre>
 
</pre>
  
<li> Flash cert_header_sa3.srec (obtain this image from Renesas). In console execute xls2 command (load program to qspi flash) and provide the following inputs:
+
<li> Flash cert_header_sa3.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
 
</li>
 
</li>
 
<pre>
 
<pre>
 
3
 
3
 
y
 
y
eb2200000
+
eb220000
 
c0000
 
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
 
type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cert_header_sa3.srec", after upload finished press any key
Line 145: Line 160:
 
</pre>
 
</pre>
  
<li> Flash bl2-condor.srec (obtain this image from Renesas). In console execute xls2 command (load program to qspi flash) and provide the following inputs:
+
<li> Flash bl2-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
 
</li>
 
</li>
 
<pre>
 
<pre>
Line 156: Line 171:
 
</pre>
 
</pre>
  
<li> Flash cert_header_sa6.srec (obtain this image from Renesas). In console execute xls2 command (load program to qspi flash) and provide the following inputs:
+
<li> Flash cert_header_sa6.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
 
</li>
 
</li>
 
<pre>
 
<pre>
Line 167: Line 182:
 
</pre>
 
</pre>
  
<li> Flash bl31-condor.srec (obtain this image from Renesas). In console execute xls2 command (load program to qspi flash) and provide the following inputs:
+
<li> Flash bl31-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
 
</li>
 
</li>
 
<pre>
 
<pre>
Line 201: Line 216:
  
 
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 <br/>
 
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 <br/>
For Condor board you must use the following dtb file:
+
For Condor board you must use the following dtb file: <br/>
 +
For Yocto v2.23.1:
 
<pre>
 
<pre>
 
Image-r8a7798-condor.dtb
 
Image-r8a7798-condor.dtb
 +
</pre>
 +
For Yocto v3.9.0:
 +
<pre>
 +
Image-r8a77980-condor.dtb
 
</pre>
 
</pre>
  
 
== ADAS test applications ==
 
== ADAS test applications ==
 
TBD
 
TBD

Latest revision as of 15:58, 23 October 2020

Introduction

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

Hardware

This section contains information about Condor Board hardware.

Board Layout

Condor markings top.png

Condor markings bot.png

Hardware Features

TBD

Where to buy

Contact Renesas representatives

Condor Board Documentation

TBD

Quick Start

This board is supported in both Yocto v2.23.1, v3.9.0 and later. Yocto v3.21.0 is preferred option.

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 5 and 6 (These steps are for GPU and multimedia libraries-only)
Replace step 8 with the following: For Yocto v2.23.1:

cp $WORK/meta-rcar/meta-rcar-gen3-adas/docs/sample/conf/condor/linaro-gcc/bsp/*.conf ./conf/

For Yocto v3.9.0 and later:

cp $WORK/meta-rcar/meta-rcar-gen3-adas/docs/sample/conf/condor/poky-gcc/bsp/*.conf ./conf/

Skip steps 9,10 and 11 (specific for multimedia packages only)
As step 13 use (weston window manager is not supported for V3M/V3H):

bitbake core-image-minimal

Use Condor (V3H evaluation board name) dtb image at step 16:
For Yocto v2.23.1:

Image-r8a7798-condor.dtb

For Yocto v3.9.0 and later:

Image-r8a77980-condor.dtb
Image-r8a77980-es2-condor.dtb

NOTE: prefix -es2- is a blob to be used with ws2.0 silicon. The blob without prefix is for ws1.0 and ws1.1 silicon. 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

Writing data (Yocto v2.23.1)
Filename Program Top Address Flash Save Address Description
bootparam_sa0.srec 0xEB220000 0x000000 Loader(Boot parameter)
cr7-condor.srec 0xEB204000 0x040000 CR7 Loader
cert_header_sa3.srec 0xEB220000 0x0C0000 Loader(Certification)
bl2-condor.srec 0xEB244000 0x140000 CA53 Loader
cert_header_sa6.srec 0xEB220000 0x180000 Loader(Certification)
bl31-condor.srec 0x44000000 0x1C0000 ARM Trusted Firmware
u-boot-elf-condor.srec 0x50000000 0x640000 U-Boot
  1. Power off the board
  2. Use SW22
    
  3. Set SW as follows:
  4. SW7[all]=ON
    SW5=OFF
    SW6=ON
    
  5. Power on the board
  6. Use SW22
    Boot ROM start and provides input
    
  7. Load File:AArch32 Gen3 H3 M3 V3H Scif MiniMon develop V3H V0.05.mot.zip (File:AArch32 Gen3 V3H Scif MiniMon V5.04C.MOT.zip for V3H 1.1). In console provide the following inputs:
  8. 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
    
  9. Change SW as follows:
  10. SW5=ON
    
  11. Erase flash. In console execute xcs command and provide the following inputs:
  12. 3
    y
    y
    
  13. Flash bootparam_sa0.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
  14. 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
    
  15. Flash cr7-condor.srec (For v2.23.1 only: Please use File:Cr7-v3h-1.1.srec.zip 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:
  16. 3
    y
    eb204000
    40000
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cr7-condor.srec", after upload finished press any key
    y
    
  17. Flash cert_header_sa3.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
  18. 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
    
  19. Flash bl2-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
  20. 3
    y
    eb244000
    140000
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl2-condor.srec", after upload finished press any key
    y
    
  21. Flash cert_header_sa6.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
  22. 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
    
  23. Flash bl31-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
  24. 3
    y
    44000000
    1C0000
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl31-condor.srec", after upload finished press any key
    y
    
  25. Flash u-boot-elf-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
  26. 3
    y
    50000000
    640000
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "u-boot-elf-condor.srec", after upload finished press any key
    y
    
  27. Reset the board
  28. Press SW36
    


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 Condor board you must use the following dtb file:
For Yocto v2.23.1:

Image-r8a7798-condor.dtb

For Yocto v3.9.0:

Image-r8a77980-condor.dtb

ADAS test applications

TBD