Difference between revisions of "Thread:Talk:R-Car/Boards/Yocto-Gen3/IBuild Linux for the R-Car-M3 Starter Kit Pro"

From eLinux.org
Jump to: navigation, search
(New thread: IBuild Linux for the R-Car-M3 Starter Kit Pro)
 
m
Line 1: Line 1:
 
I tried building Linux for the R-Car-M3 Starter Kit Pro according to the guide,
 
I tried building Linux for the R-Car-M3 Starter Kit Pro according to the guide,
It can not be built due to an error in bitbake.
+
It can not be built due to an error in bitbake.<br />
Please tell me how to solve it.
+
Please tell me how to solve it.<br />
 +
<br />
  
The operation is as follows.
+
The operation is as follows.<br />
 +
<br />
  
First,
+
First, I downloaded and unpacked zip files.<br />
I downloaded and unpacked zip files.
+
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20160906.zip<br />
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20160906.zip
+
R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.zip<br />
R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.zip
+
<br />
  
Then I unzipped these.
+
Then I unzipped these.<br />
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20160906.tar.gz
+
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20160906.tar.gz<br />
R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.tar.gz
+
R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.tar.gz<br />
 +
<br />
  
Next I installed the package.
+
Next, I installed the package.<br />
 +
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm python-crypto<br />
 +
<br />
  
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib      build-essential chrpath socat libsdl1.2-dev xterm python-crypto
+
I built a BSP.<br />
  
I built a BSP.
+
1.<br />
 +
<br />
 +
mkdir build<br />
 +
cd build<br />
 +
export WORK=`pwd`<br />
 +
<br />
  
1.
+
2.<br />
 +
<br />
 +
cd $WORK<br />
 +
git clone git://git.yoctoproject.org/poky<br />
 +
git clone git://git.openembedded.org/meta-openembedded<br />
 +
git clone git://git.linaro.org/openembedded/meta-linaro.git<br />
 +
<br />
  
mkdir build
+
3.<br />
cd build
+
<br />
export WORK=`pwd`
+
cd $WORK/poky<br />
 +
git checkout -b tmp 40376446904ae3529be41737fed9a0b650ed167d<br />
 +
cd $WORK/meta-openembedded<br />
 +
git checkout -b tmp 8ab04afbffb4bc5184cfe0655049de6f44269990<br />
 +
cd $WORK/meta-linaro<br />
 +
git checkout -b tmp 9b1fd178309544dff1f7453e796a9437125bc0d9<br />
 +
<br />
  
2.
+
4.<br />
 +
<br />
 +
cd $WORK<br />
 +
git clone git://github.com/CogentEmbedded/meta-rcar.git meta-renesas -b v2.12.0<br />
 +
<br />
  
cd $WORK
+
5.<br />
git clone git://git.yoctoproject.org/poky
+
<br />
git clone git://git.openembedded.org/meta-openembedded
+
cd $WORK/meta-renesas<br />
git clone git://git.linaro.org/openembedded/meta-linaro.git
+
export PATCH_DIR=meta-rcar-gen3/docs/sample/patch/patch-for-linaro-gcc<br />
 +
patch -p1 < ${PATCH_DIR}/0001-rcar-gen3-add-readme-for-building-with-Linaro-Gcc.patch<br />
 +
unset PATCH_DIR<br />
 +
<br />
  
3.
+
6.<br />
 +
<br />
 +
ls -1 $WORK/proprietary<br />
 +
R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.tar.gz<br />
 +
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20160906.tar.gz<br />
 +
<br />
  
cd $WORK/poky
+
7.<br />
git checkout -b tmp 40376446904ae3529be41737fed9a0b650ed167d
+
<br />
cd $WORK/meta-openembedded
+
export PKGS_DIR=$WORK/proprietary<br />
git checkout -b tmp 8ab04afbffb4bc5184cfe0655049de6f44269990
+
cd $WORK/meta-renesas<br />
cd $WORK/meta-linaro
+
sh meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh -f $PKGS_DIR<br />
git checkout -b tmp 9b1fd178309544dff1f7453e796a9437125bc0d9
+
unset PKGS_DIR<br />
 +
<br />
  
4.
+
8.<br />
 +
<br />
 +
cd $WORK<br />
 +
source poky/oe-init-build-env<br />
 +
<br />
  
cd $WORK
+
9.<br />
git clone git://github.com/CogentEmbedded/meta-rcar.git meta-renesas -b v2.12.0
+
<br />
 +
cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/m3ulcb/linaro-gcc/mmp/*.conf ./conf/<br />
 +
cd $WORK/build<br />
 +
cp conf/local-wayland.conf conf/local.conf<br />
 +
<br />
  
5.
+
10.<br />
 +
<br />
 +
I am not care.<br />
 +
<br />
  
cd $WORK/meta-renesas
+
11. <br />
export PATCH_DIR=meta-rcar-gen3/docs/sample/patch/patch-for-linaro-gcc
+
<br />
patch -p1 < ${PATCH_DIR}/0001-rcar-gen3-add-readme-for-building-with-Linaro-Gcc.patch
+
enabled<br />
unset PATCH_DIR
+
MACHINE_FEATURES_append = " m3ulcb-view"<br />
 +
<br />
  
6.
+
12.<br />
 +
<br />
 +
enabled<br />
 +
DISTRO_FEATURES_append = " use_eva_pkg"<br />
 +
<br />
  
ls -1 $WORK/proprietary
 
R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.tar.gz
 
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20160906.tar.gz
 
  
7.
+
13.<br />
 +
<br />
 +
bitbake core-image-weston<br />
 +
<br />
  
export PKGS_DIR=$WORK/proprietary
+
At this time, the following error message was output.<br />
cd $WORK/meta-renesas
+
<br />
sh meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh -f $PKGS_DIR
 
unset PKGS_DIR
 
  
8.
+
ERROR: Nothing PROVIDES 'python-pycrypto-native' (but /media/rcar/Test_M3_Starterkitpro_yocto2.12.0/work/build/build/../meta-renesas/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bb DEPENDS on or otherwise requires it). Close matches:<br />
 
+
   python-pycairo-native<br />
cd $WORK
+
   python-pycurl-native<br />
source poky/oe-init-build-env
+
   python-pyrex-native<br />
 
+
ERROR: Required build target 'core-image-weston' has no buildable providers.<br />
9.
+
Missing or unbuildable dependency chain was: ['core-image-weston', 'optee-os', 'python-pycrypto-native']<br />
 
+
<br />
cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/m3ulcb/linaro-gcc/mmp/*.conf ./conf/
 
cd $WORK/build
 
cp conf/local-wayland.conf conf/local.conf
 
 
 
10.
 
 
 
I am not care.
 
 
 
11.
 
 
 
enabled
 
MACHINE_FEATURES_append = " m3ulcb-view"
 
 
 
12.
 
 
 
enabled
 
DISTRO_FEATURES_append = " use_eva_pkg"
 
 
 
13.
 
 
 
bitbake core-image-weston
 
 
 
 
 
At this time, the following error message was output.
 
 
 
ERROR: Nothing PROVIDES 'python-pycrypto-native' (but /media/rcar/Test_M3_Starterkitpro_yocto2.12.0/work/build/build/../meta-renesas/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bb DEPENDS on or otherwise requires it). Close matches:
 
   python-pycairo-native
 
   python-pycurl-native
 
   python-pyrex-native
 
ERROR: Required build target 'core-image-weston' has no buildable providers.
 
Missing or unbuildable dependency chain was: ['core-image-weston', 'optee-os', 'python-pycrypto-native']
 

Revision as of 02:13, 15 December 2016

I tried building Linux for the R-Car-M3 Starter Kit Pro according to the guide, It can not be built due to an error in bitbake.
Please tell me how to solve it.

The operation is as follows.

First, I downloaded and unpacked zip files.
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20160906.zip
R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.zip

Then I unzipped these.
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20160906.tar.gz
R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.tar.gz

Next, I installed the package.
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm python-crypto

I built a BSP.

1.

mkdir build
cd build
export WORK=`pwd`

2.

cd $WORK
git clone git://git.yoctoproject.org/poky
git clone git://git.openembedded.org/meta-openembedded
git clone git://git.linaro.org/openembedded/meta-linaro.git

3.

cd $WORK/poky
git checkout -b tmp 40376446904ae3529be41737fed9a0b650ed167d
cd $WORK/meta-openembedded
git checkout -b tmp 8ab04afbffb4bc5184cfe0655049de6f44269990
cd $WORK/meta-linaro
git checkout -b tmp 9b1fd178309544dff1f7453e796a9437125bc0d9

4.

cd $WORK
git clone git://github.com/CogentEmbedded/meta-rcar.git meta-renesas -b v2.12.0

5.

cd $WORK/meta-renesas
export PATCH_DIR=meta-rcar-gen3/docs/sample/patch/patch-for-linaro-gcc
patch -p1 < ${PATCH_DIR}/0001-rcar-gen3-add-readme-for-building-with-Linaro-Gcc.patch
unset PATCH_DIR

6.

ls -1 $WORK/proprietary
R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.tar.gz
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20160906.tar.gz

7.

export PKGS_DIR=$WORK/proprietary
cd $WORK/meta-renesas
sh meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh -f $PKGS_DIR
unset PKGS_DIR

8.

cd $WORK
source poky/oe-init-build-env

9.

cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/m3ulcb/linaro-gcc/mmp/*.conf ./conf/
cd $WORK/build
cp conf/local-wayland.conf conf/local.conf

10.

I am not care.

11.

enabled
MACHINE_FEATURES_append = " m3ulcb-view"

12.

enabled
DISTRO_FEATURES_append = " use_eva_pkg"


13.

bitbake core-image-weston

At this time, the following error message was output.

ERROR: Nothing PROVIDES 'python-pycrypto-native' (but /media/rcar/Test_M3_Starterkitpro_yocto2.12.0/work/build/build/../meta-renesas/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bb DEPENDS on or otherwise requires it). Close matches:

 python-pycairo-native
python-pycurl-native
python-pyrex-native

ERROR: Required build target 'core-image-weston' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-weston', 'optee-os', 'python-pycrypto-native']