Difference between revisions of "R-Car/Boards/V3MZF"
(→Flashing firmware) |
|||
Line 51: | Line 51: | ||
./tmp/deploy/images/v3mzf/bl31-v3mzf.srec | ./tmp/deploy/images/v3mzf/bl31-v3mzf.srec | ||
./tmp/deploy/images/v3mzf/bootparam_sa0.srec | ./tmp/deploy/images/v3mzf/bootparam_sa0.srec | ||
+ | ./tmp/deploy/images/v3mzf/cert_header_sa3.srec | ||
./tmp/deploy/images/v3mzf/cert_header_sa6.srec | ./tmp/deploy/images/v3mzf/cert_header_sa6.srec | ||
+ | ./tmp/deploy/images/v3mzf/cr7-v3mzf.srec | ||
./tmp/deploy/images/v3mzf/u-boot-elf-v3mzf.srec | ./tmp/deploy/images/v3mzf/u-boot-elf-v3mzf.srec | ||
</pre> | </pre> | ||
Line 62: | Line 64: | ||
| bootparam_sa0.srec || 0xE6320000 || 0x000000 || Loader(Boot parameter) | | bootparam_sa0.srec || 0xE6320000 || 0x000000 || Loader(Boot parameter) | ||
|- | |- | ||
− | | cr7-v3mzf.srec || | + | | cr7-v3mzf.srec || 0xE6304000 || 0x040000 || CR7 Loader |
|- | |- | ||
| cert_header_sa3.srec || 0xE6320000 || 0x0C0000 || Loader(Certification) | | cert_header_sa3.srec || 0xE6320000 || 0x0C0000 || Loader(Certification) | ||
|- | |- | ||
− | | bl2-v3mzf.srec || | + | | bl2-v3mzf.srec || 0xE6344000 || 0x140000 || CA53 Loader |
|- | |- | ||
| cert_header_sa6.srec || 0xE6320000 || 0x180000 || Loader(Certification) | | cert_header_sa6.srec || 0xE6320000 || 0x180000 || Loader(Certification) | ||
Line 95: | Line 97: | ||
</li> | </li> | ||
− | <li> Load | + | <li> Load [[File:AArch32_Gen3_V3M_Scif_MiniMon_EAGLE_V0.09.mot.zip]]. In console provide the following inputs: |
</li> | </li> | ||
<pre> | <pre> | ||
Line 127: | Line 129: | ||
</pre> | </pre> | ||
− | <li> Flash cr7-v3mzf.srec | + | <li> Flash cr7-v3mzf.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs: |
</li> | </li> | ||
<pre> | <pre> | ||
3 | 3 | ||
y | y | ||
− | + | e6304000 | |
40000 | 40000 | ||
type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cr7-v3mzf.srec", after upload finished press any key | type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cr7-v3mzf.srec", after upload finished press any key | ||
Line 138: | Line 140: | ||
</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 | ||
− | + | e6320000 | |
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 154: | Line 156: | ||
3 | 3 | ||
y | y | ||
− | + | e6344000 | |
140000 | 140000 | ||
type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl2-v3mzf.srec", after upload finished press any key | type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl2-v3mzf.srec", after upload finished press any key |
Revision as of 09:59, 13 March 2018
Introduction
This is the Wiki for the Renesas R-Car V3M ZF B0 board.
Refer to the R-Car page for information about Renesas' R-Car SoC family.
Hardware
This section contains information about R-Car V3M Starter Kit board hardware.
Board Layout
TBD
Where to buy
TBD
V3M ZF B0 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/v3mzf/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 images for V3M ZF B0 board board:
Image-r8a7797-v3mzf.dtb
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/v3mzf/*.srec ./tmp/deploy/images/v3mzf/bl2-v3mzf.srec ./tmp/deploy/images/v3mzf/bl31-v3mzf.srec ./tmp/deploy/images/v3mzf/bootparam_sa0.srec ./tmp/deploy/images/v3mzf/cert_header_sa3.srec ./tmp/deploy/images/v3mzf/cert_header_sa6.srec ./tmp/deploy/images/v3mzf/cr7-v3mzf.srec ./tmp/deploy/images/v3mzf/u-boot-elf-v3mzf.srec
Filename | Program Top Address | Flash Save Address | Description |
---|---|---|---|
bootparam_sa0.srec | 0xE6320000 | 0x000000 | Loader(Boot parameter) |
cr7-v3mzf.srec | 0xE6304000 | 0x040000 | CR7 Loader |
cert_header_sa3.srec | 0xE6320000 | 0x0C0000 | Loader(Certification) |
bl2-v3mzf.srec | 0xE6344000 | 0x140000 | CA53 Loader |
cert_header_sa6.srec | 0xE6320000 | 0x180000 | Loader(Certification) |
bl31-v3mzf.srec | 0x44000000 | 0x1C0000 | ARM Trusted Firmware |
u-boot-elf-v3mzf.srec | 0x50000000 | 0x640000 | U-Boot |
- Power off the board
- Set SW as follows:
- Power on the board
- Load File:AArch32 Gen3 V3M Scif MiniMon EAGLE V0.09.mot.zip. 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-v3mzf.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-v3mzf.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-v3mzf.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
- Flash u-boot-elf-v3mzf.srec. In console execute xls2 command (load program to qspi flash) and provide the following inputs:
- Reset the board
Use wall power switch
J2=1-4, J3=1-4, J4=1-4, J5=1-4
Use wall power switch Boot ROM start and provides input
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
J2=2-3, J3=2-3, J4=1-4, J5=2-3
3 y y
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
3 y e6304000 40000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cr7-v3mzf.srec", after upload finished press any key y
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
3 y e6344000 140000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl2-v3mzf.srec", after upload finished press any key y
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
3 y 44000000 1C0000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl31-v3mzf.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-v3mzf.srec", after upload finished press any key y
Press SW3
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 V3MZF board you must use one of the following dtb files:
Image-r8a7797-v3mzf.dtb
ADAS test applications
TBD