Difference between revisions of "R-Car/Boards/Condor"
(→Build BSP images) |
(→Build BSP images) |
||
(26 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
===Board Layout=== | ===Board Layout=== | ||
− | [[File:Condor markings top.png| | + | [[File:Condor markings top.png|802px]] |
<br> <br> | <br> <br> | ||
− | [[File:Condor markings bot.png| | + | [[File:Condor markings bot.png|802px]] |
=== Hardware Features === | === Hardware Features === | ||
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: | ||
− | Skip steps 5 and 6<br/> | + | Skip steps 5 and 6 (These steps are for GPU and multimedia libraries-only)<br/> |
− | + | 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> | </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> | ||
+ | Skip steps 9,10 and 11 (specific for multimedia packages only)<br/> | ||
+ | As step 13 use (weston window manager is not supported for V3M/V3H): | ||
<pre> | <pre> | ||
bitbake core-image-minimal | bitbake core-image-minimal | ||
</pre> | </pre> | ||
− | + | 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 | + | 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 54: | Line 69: | ||
! Filename !! Program Top Address !! Flash Save Address !! Description | ! Filename !! Program Top Address !! Flash Save Address !! Description | ||
|- | |- | ||
− | | bootparam_sa0.srec || | + | | bootparam_sa0.srec || 0xEB220000 || 0x000000 || Loader(Boot parameter) |
|- | |- | ||
− | | cr7-condor.srec || 0xEB204000 || 0x040000 || Loader | + | | cr7-condor.srec || 0xEB204000 || 0x040000 || CR7 Loader |
|- | |- | ||
− | | cert_header_sa3.srec || | + | | cert_header_sa3.srec || 0xEB220000 || 0x0C0000 || Loader(Certification) |
|- | |- | ||
− | | bl2-condor.srec || | + | | bl2-condor.srec || 0xEB244000 || 0x140000 || CA53 Loader |
|- | |- | ||
− | | cert_header_sa6.srec || | + | | cert_header_sa6.srec || 0xEB220000 || 0x180000 || Loader(Certification) |
|- | |- | ||
| bl31-condor.srec || 0x44000000 || 0x1C0000 || ARM Trusted Firmware | | bl31-condor.srec || 0x44000000 || 0x1C0000 || ARM Trusted Firmware | ||
Line 91: | Line 106: | ||
</li> | </li> | ||
− | <li> Load AArch32_Gen3_H3_M3_V3H_Scif_MiniMon_develop_V3H_V0.05.mot ( | + | <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 | + | <li> Flash bootparam_sa0.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: |
</li> | </li> | ||
<pre> | <pre> | ||
3 | 3 | ||
y | y | ||
− | + | eb220000 | |
0 | 0 | ||
type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bootparam_sa0.srec", after upload finished press any key | type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bootparam_sa0.srec", after upload finished press any key | ||
Line 123: | Line 138: | ||
</pre> | </pre> | ||
− | <li> Flash cr7-condor.srec ( | + | <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> | ||
3 | 3 | ||
y | y | ||
− | + | eb204000 | |
40000 | 40000 | ||
type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cr7-condor.srec", after upload finished press any key | type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cr7-condor.srec", after upload finished press any key | ||
Line 134: | Line 149: | ||
</pre> | </pre> | ||
− | <li> Flash cert_header_sa3.srec | + | <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 | ||
− | + | 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 | + | <li> Flash bl2-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: |
</li> | </li> | ||
<pre> | <pre> | ||
3 | 3 | ||
y | y | ||
− | + | eb244000 | |
140000 | 140000 | ||
type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl2-condor.srec", after upload finished press any key | type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl2-condor.srec", after upload finished press any key | ||
Line 156: | Line 171: | ||
</pre> | </pre> | ||
− | <li> Flash cert_header_sa6.srec | + | <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> | ||
3 | 3 | ||
y | y | ||
− | + | eb220000 | |
180000 | 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 | type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cert_header_sa6.srec", after upload finished press any key | ||
Line 167: | Line 182: | ||
</pre> | </pre> | ||
− | <li> Flash bl31-condor.srec | + | <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
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
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 |
- Power off the board
- Set SW as follows:
- Power on the board
- 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:
- Change SW as follows:
- Erase flash. In console execute xcs command and provide the following inputs:
- Flash bootparam_sa0.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
- 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:
- Flash cert_header_sa3.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
- Flash bl2-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
- Flash cert_header_sa6.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
- Flash bl31-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
- Flash u-boot-elf-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
- Reset the board
Use SW22
SW7[all]=ON SW5=OFF SW6=ON
Use SW22 Boot ROM start and provides input
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
SW5=ON
3 y y
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
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
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
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
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
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
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
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