Talk:R-Car/Boards/Yocto-Gen3

From eLinux.org
Jump to: navigation, search

We have moved Q&A page to Renesas Rulz site.
Please submit a question to new site.
URL: http://renesasrulz.com/r-car-h3-m3-cockpit/

Contents

Thread titleRepliesLast modified
I can not build Linux (2.16.0) for HAD Solution Kit.322:57, 5 March 2017
Error in Bitbake417:56, 5 March 2017
I can't build Linux for the R-Car-M3 Starter Kit Pro.317:52, 21 December 2016
First page
First page
Next page
Next page
Last page
Last page

I can not build Linux (2.16.0) for HAD Solution Kit.

I am trying to build Linux (2.16.0) for HAD Solution Kit.
However, the following error message appears and can not be built.
Is there anything you can understand?

ERROR: gstreamer1.0-plugins-bad-1.6.3-r0 do_init_submodule: Function failed: do_init_submodule (log file is located at /mnt/work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.6.3-r0/temp/log.do_init_submodule.18637)
ERROR: Logfile of failure stored in: /mnt/work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.6.3-r0/temp/log.do_init_submodule.18637
ERROR: Task 1796 (/mnt/work/build/../poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.3.bb, do_init_submodule) failed with exit code '1'
ERROR: gstreamer1.0-plugins-good-1.6.3-r0 do_init_submodule: Function failed: do_init_submodule (log file is located at /mnt/work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-good/1.6.3-r0/temp/log.do_init_submodule.23409)
ERROR: Logfile of failure stored in: /mnt/work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-good/1.6.3-r0/temp/log.do_init_submodule.23409
ERROR: Task 1782 (/mnt/work/build/../poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.6.3.bb, do_init_submodule) failed with exit code '1'
ERROR: kernel-module-vspm-1.0-r0 do_populate_lic: The recipe kernel-module-vspm is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/mnt/work/build/tmp/deploy/licenses/kernel-module-vspm/generic_MIT
Matched in manifest-salvator_x-kernel-module-vspm.populate_lic
/mnt/work/build/tmp/deploy/licenses/kernel-module-vspm/GPL-COPYING
Matched in manifest-salvator_x-kernel-module-vspm.populate_lic
/mnt/work/build/tmp/deploy/licenses/kernel-module-vspm/generic_GPLv2
Matched in manifest-salvator_x-kernel-module-vspm.populate_lic
/mnt/work/build/tmp/deploy/licenses/kernel-module-vspm/recipeinfo
Matched in manifest-salvator_x-kernel-module-vspm.populate_lic
/mnt/work/build/tmp/deploy/licenses/kernel-module-vspm/MIT-COPYING
Matched in manifest-salvator_x-kernel-module-vspm.populate_lic
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: kernel-module-vspm-1.0-r0 do_populate_lic: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: kernel-module-vspm-1.0-r0 do_populate_lic: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /mnt/work/build/tmp/work/h3ulcb-poky-linux/kernel-module-vspm/1.0-r0/temp/log.do_populate_lic.16804
ERROR: Task 1578 (/mnt/work/build/../meta-renesas/meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb, do_populate_lic) failed with exit code '1'
03:45, 1 March 2017
$ sudo apt-get update
$ sudo apt-get upgrade

I am doing these, but it is not going well.

04:05, 1 March 2017
 

Please hold on until the end of this week

The BSP2.16 supports only basic/reference boards

HAD and .View boards will be added this week.

Please use temporary bsp2.12 http://elinux.org/R-Car/Boards/Yocto-Gen3-legacy

05:24, 1 March 2017

Regarding Yocto 2.16.0 for HAD solution kit, we tried 5155 tasks which were all successful, without having to retry.
Thank you.

22:52, 5 March 2017
 
 

Error in Bitbake

Hi

I followed all the steps to make yocto image.
I get the following error during bitbake.
Please tell me How can i solve this error.

Regard.



Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "m3ulcb"
DISTRO = "poky"
DISTRO_VERSION = "2.0.2"
TUNE_FEATURES = "aarch64 cortexa57-cortexa53"
TARGET_FPU = ""
SOC_FAMILY = "rcar-gen3:r8a7796"
meta
meta-yocto
meta-yocto-bsp = "tmp:40376446904ae3529be41737fed9a0b650ed167d"
meta-rcar-gen3 = "v2.12.0:2b0598e0a252a8cf1dc4edacf4ef3a7071dbfd87"
meta-linaro-toolchain = "tmp:9b1fd178309544dff1f7453e796a9437125bc0d9"
meta-oe = "tmp:8ab04afbffb4bc5184cfe0655049de6f44269990"






In file included from .../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/git/ext/wayland/gstwaylandsink.h:30:0,
from .../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/git/ext/wayland/gstwaylandsink.c:44:
.../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/git/ext/wayland/wldisplay.h:27:42: fatal error: linux-dmabuf-client-protocol.h: No such file or directory
compilation terminated.
make[3]: *** [libgstwaylandsink_la-gstwaylandsink.lo] Error 1
make[3]: Leaving directory `.../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/build/ext/wayland'
make[2]: *** [wayland] Error 2
make[2]: Leaving directory `.../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/build/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `.../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/build'
make: *** [all] Error 2
WARNING: exit code 1 from a shell command.
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at .../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/temp/log.do_compile.2811)
ERROR: Task 2138 (.../work/build/../poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.4.5.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2510 tasks of which 2509 didn't need to be rerun and 1 failed.
No currently running tasks (2509 of 4905)

20:40, 12 January 2017

Hi

I have the same problem. Did anyone find any solution in the meantime?

Regard.

07:43, 23 February 2017

I am using ubuntu 14.04 LTE. I solved it by executing the following command.

 $ sudo apt-get update
 $ sudo apt-get upgrade

After that,

 $ sudo apt-get install ***

Was executed.

03:58, 1 March 2017

And *** stands for what?

07:44, 2 March 2017

The

"apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm python-crypto"

It is.

That is,

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

execute.

17:56, 5 March 2017
 
 
 
 

I can't build Linux for the R-Car-M3 Starter Kit Pro.

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']


04:31, 14 December 2016

I have corrected the link for the BSP download on that page, and have now overcome this build issue. Please have a look at updated step 4 in the build instructions.

Pat Shelly

12:04, 15 December 2016
 
14:00, 15 December 2016

Thank you for your support.
If there is something again, thank you.

17:52, 21 December 2016
 
 
First page
First page
Next page
Next page
Last page
Last page