Difference between revisions of "R-Car/Boards/Condor"
(Initial edit) |
|||
Line 24: | Line 24: | ||
TBD | TBD | ||
− | == | + | == Quick Start == |
+ | === 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 <br/> | ||
+ | At step 8 - replace this step with following: | ||
+ | <pre> | ||
+ | cp $WORK/meta-rcar/meta-rcar-gen3-adas/docs/sample/conf/condor/linaro-gcc/bsp/*.conf ./conf/ | ||
+ | </pre> | ||
+ | At step 9,10,11 - skip these steps <br/> | ||
+ | At step 13 - replace this step with following: | ||
+ | <pre> | ||
+ | bitbake core-image-minimal | ||
+ | </pre> | ||
+ | At step 16 use following dtb image: | ||
+ | <pre> | ||
+ | Image-r8a7798-condor.dtb | ||
+ | </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 | ||
+ | |||
+ | === Build SDK === | ||
+ | Please follow these instruction to build SDK http://elinux.org/R-Car/Boards/Yocto-Gen3-ADAS#Build_SDK | ||
+ | |||
+ | == Flashing firmware == | ||
+ | {| class="wikitable" | ||
+ | |+ Writing data (Yocto v2.23.1) | ||
+ | |- | ||
+ | ! Filename !! Program Top Address !! Flash Save Address !! Description | ||
+ | |- | ||
+ | | bootparam_sa0.srec || 0xEB200000 || 0x000000 || Loader(Boot parameter) | ||
+ | |- | ||
+ | | cr7-condor.srec || 0xEB2040000 || 0x040000 || Loader | ||
+ | |- | ||
+ | | cert_header_sa3.srec || 0xEB200000 || 0x0C0000 || Loader(Certification) | ||
+ | |- | ||
+ | | bl2-condor.srec || 0x40008000 || 0x140000 || Loader | ||
+ | |- | ||
+ | | cert_header_sa6.srec || 0xEB200000 || 0x180000 || Loader(Certification) | ||
+ | |- | ||
+ | | bl31-condor.srec || 0x44000000 || 0x1C0000 || ARM Trusted Firmware | ||
+ | |- | ||
+ | | u-boot-elf-condor.srec || 0x50000000 || 0x640000 || U-Boot | ||
+ | |} | ||
+ | |||
+ | <ol> | ||
+ | |||
+ | <li> Power off the board | ||
+ | </li> | ||
+ | <pre> | ||
+ | Use SW22 | ||
+ | </pre> | ||
+ | <li> Set SW as follows: | ||
+ | </li> | ||
+ | <pre> | ||
+ | SW7[all]=ON | ||
+ | SW5=OFF | ||
+ | SW6=ON | ||
+ | </pre> | ||
+ | <li> Power on the board | ||
+ | </li> | ||
+ | <pre> | ||
+ | Use SW22 | ||
+ | Boot ROM start and provides input | ||
+ | </pre> | ||
+ | </li> | ||
+ | |||
+ | <li> Load AArch32_Gen3_H3_M3_V3H_Scif_MiniMon_develop_V3H_V0.05.mot (obtain this loader from Renesas). In console provide the following inputs: | ||
+ | </li> | ||
+ | <pre> | ||
+ | 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 | ||
+ | </pre> | ||
+ | |||
+ | <li> Change SW as follows: | ||
+ | </li> | ||
+ | <pre> | ||
+ | SW5=ON | ||
+ | </pre> | ||
+ | |||
+ | <li> Erase flash. In console execute xcs command and provide the following inputs: | ||
+ | </li> | ||
+ | <pre> | ||
+ | 3 | ||
+ | y | ||
+ | y | ||
+ | </pre> | ||
+ | |||
+ | <li> Flash bootparam_sa0.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: | ||
+ | </li> | ||
+ | <pre> | ||
+ | 3 | ||
+ | y | ||
+ | eb200000 | ||
+ | 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 | ||
+ | </pre> | ||
+ | |||
+ | <li> Flash cr7-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: | ||
+ | </li> | ||
+ | <pre> | ||
+ | 3 | ||
+ | y | ||
+ | eb200000 | ||
+ | 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 | ||
+ | </pre> | ||
+ | |||
+ | <li> Flash cert_header_sa3.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: | ||
+ | </li> | ||
+ | <pre> | ||
+ | 3 | ||
+ | y | ||
+ | eb2040000 | ||
+ | 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 | ||
+ | </pre> | ||
+ | |||
+ | <li> Flash bl2-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: | ||
+ | </li> | ||
+ | <pre> | ||
+ | 3 | ||
+ | y | ||
+ | 40008000 | ||
+ | 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 | ||
+ | </pre> | ||
+ | |||
+ | <li> Flash cert_header_sa6.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: | ||
+ | </li> | ||
+ | <pre> | ||
+ | 3 | ||
+ | y | ||
+ | eb200000 | ||
+ | 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 | ||
+ | </pre> | ||
+ | |||
+ | <li> Flash bl31-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: | ||
+ | </li> | ||
+ | <pre> | ||
+ | 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 | ||
+ | </pre> | ||
+ | |||
+ | <li> Flash u-boot-elf-condor.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: | ||
+ | </li> | ||
+ | <pre> | ||
+ | 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 | ||
+ | </pre> | ||
+ | |||
+ | <li> Reset the board | ||
+ | </li> | ||
+ | <pre> | ||
+ | Press SW36 | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | </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 <br/> | ||
+ | For Condor board you must use the following dtb file: | ||
+ | <pre> | ||
+ | Image-r8a7798-condor.dtb | ||
+ | </pre> | ||
+ | |||
+ | == ADAS test applications == | ||
TBD | TBD | ||
+ | |||
+ | == Legacy BSP == |
Revision as of 10:06, 22 January 2018
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
TBD
Condor Board Documentation
TBD
Quick Start
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/condor/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-r8a7798-condor.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 8,13
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 | 0xEB200000 | 0x000000 | Loader(Boot parameter) |
cr7-condor.srec | 0xEB2040000 | 0x040000 | Loader |
cert_header_sa3.srec | 0xEB200000 | 0x0C0000 | Loader(Certification) |
bl2-condor.srec | 0x40008000 | 0x140000 | Loader |
cert_header_sa6.srec | 0xEB200000 | 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 AArch32_Gen3_H3_M3_V3H_Scif_MiniMon_develop_V3H_V0.05.mot (obtain this loader from Renesas). 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. 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 eb200000 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 eb200000 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 eb2040000 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 40008000 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 eb200000 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:
Image-r8a7798-condor.dtb
ADAS test applications
TBD