R-Car/Boards/M3NSK

Introduction
This is the Wiki for the Renesas R-Car Starter Kit Pro board(M3N). Typename: RTP0RC77965SKBX010SA00

Topic
Note : There are no plans to manufacture the R-Car Starter kit Pro(M3N).

Build Yocto image
Refer to Yocto for steps necessary for making a Yocto image.

Connect 5 V power supply to the board
Use 5 V power supply with a 5.5 mm barrel plug. The power supply should be able to provide 4(Min) ~ 8(Max)Amps.

Note
 * The recommended value is 8 Amps. But, user can use 4 Amps. and 6 Amps. (depends on the use case).

Booting Linux
* Kernel config: defconfig * Kernel image: arch/arm64/boot/Image * DTB: arch/arm64/boot/dts/renesas/r8a77965-m3nulcb.dtb * DTB: arch/arm64/boot/dts/renesas/r8a77965-m3nulcb-kf.dtb

U-Boot boot command:

tftpboot 0x48080000 Image tftpboot 0x48000000 r8a77965-m3nulcb(-kf).dtb booti 0x48080000 - 0x48000000

Flashing firmware


 Power off the board  Press SW8  Set SW and JP as follows:  SW1=OFF SW6[1]=ON, SW6[2]=ON, SW6[3]=OFF, SW6[4]=ON JP1 -> 1-2 short  Power on the board  Press SW8 Minimonitor starts and provides prompts on console   Change SW as follows:  SW1=ON SW6[all]=ON  Flash bootparam_sa0.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs:  3 y 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 bl2-m3nulcb.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs:  3 y y e6304000 40000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl2-m3nulcb.srec", after upload finished press any key y

 Flash cert_header_sa6.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs:  3 y 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-m3nulcb.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs: </li> 3 y y 44000000 1C0000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl31-m3nulcb.srec", after upload finished press any key y

 Flash tee-m3nulcb.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs: </li> 3 y y 44100000 200000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "tee-m3nulcb.srec", after upload finished press any key y

 Flash u-boot-elf.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs: </li> 3 y y 50000000 640000 type "ctrl+A S" and select upload method "ascii", then choose file for uploading "u-boot-elf.srec", after upload finished press any key y

 Reset the board </li> Press SW9 </ol>

Audio
Ex) In the case of "r8a77965-m3nulcb.dtb" amixer set "DVC Out" 1% aplay sample.wav

Ex) In the case of "r8a77965-m3nulcb-kf.dtb" amixer -c ak4613 set "DVC Out" 1% aplay sample.wav

Q&A site
http://renesasrulz.com/r-car-h3-m3-cockpit/

FAQ page
https://elinux.org/R-Car/Boards/Yocto-Gen3-CommonFAQ