설치 링크
기본설치
sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm
다운로드
$ git clone https://github.com/GENIVI/genivi-dev-platform.git
$ cd genivi-dev-platform
다운로드 패키지 : https://www.renesas.com/en-us/solutions/automotive/rcar-demoboard-2.html
Follow the generic preparation instructions above. Once you reach the init step do the following.
At the moment, the following extra package also needs to be on your build machine:
$ sudo apt-get install ImageMagick
- Initialise build environment
$ cd genivi-dev-platform
$ source ./init.sh r-car-m3-starter-kit
- Configure the build for M3 Salvator-X
Until Salvator-X support is added to the GDP board template mechanism it is straight forward to reconfigure a M3 Starter Kit build (the target you passed as a parameter in the previous step) to build for M3 Salvator-X instead by editing the Yocto local.conf.
To do that simply edit gdp-src-build/conf/local.conf to set the following MACHINE variable:
MACHINE = "salvator-x"
- Obtain and Install Renesas Graphics Drivers
Download the Click-through licensed Linux Drivers and Gfx/MMP packages for YBSP v2.23 and Wayland 1.13 / Weston 2.0 from here and unzip them into a folder.
$ cd <folder containing the two zip files>
$ unzip -o R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-*.zip
$ unzip -o R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-*.zip
To install them into the correct place in the Yocto BSP a copy script is used.
$ cd ../meta-renesas
If you have the click-through packages (no NDA):
$ sh meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh <path to the folder containing the packages>
If you have the Evaluation packages (with NDA):
$ sh meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh <path to the folder containing the packages>