Building Yocto baseline on Renesas R-Car H2: X11
See the details to http://elinux.org/R-Car/Boards/Yocto.
1. Download software
I've got some error messages as below:
1. gstreamer compile error
Uncommented as below in grammer.tab.c
1. Download software
mkdir $HOME/yocto/r-car-h2
cd $HOME/yocto/r-car-h2
cd $HOME/yocto/r-car-h2
export WORK=$PWD
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
git clone git://github.com/CogentEmbedded/meta-renesas.git
git clone git://github.com/renesas-devel/lager-config.git
2. Download proprietary software from renesas website.
mkdir $WORK/proprietary
cp ~/Downloads/R-Car_Series_Evaluation_Software_Package_*.gz $WORK/proprietary
3. setup software
cd $WORK/poky
git checkout -b tmp yocto-1.6.1
cd $WORK/meta-openembedded
git checkout -b tmp dca466c074c9a35bc0133e7e0d65cca0731e2acf
cd $WORK/meta-linaro
git checkout -b tmp 8a0601723c06fdb75e62aa0f0cf15fc9d7d90167
cd $WORK/meta-renesas
git checkout -b tmp origin/v1.10.0
cd $WORK/lager-config
git checkout -b tmp default/v1.9.0
cd $WORK/meta-renesas/meta-rcar-gen2
./copy_gfx_software_stout.sh ../../proprietary
cd $WORK/meta-renesas/meta-rcar-gen2
./copy_mm_software_lcb.sh ../../proprietary
cd $WORK
source poky/oe-init-build-env
cd $WORK/build
cp ../lager-config/bblayers.conf ./conf
# X11
cp ../lager-config/local-x11.conf ./conf/local.conf
bitbake core-image-x11
I've got some error messages as below:
1. gstreamer compile error
| grammar.tab.c: In function 'priv_gst_parse_yyparse':
| grammar.tab.c:1821:7: error: too few arguments to function 'priv_gst_parse_yylex'
| if (yychar == YYEMPTY)
| ^
| /home/wonseok/yocto/r-car-h2/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/gst/parse/grammar.y:39:5: note: declared here
| int priv_gst_parse_yylex (void * yylval_param , yyscan_t yyscanner);
| ^
| make[4]: *** [libgstparse_la-grammar.tab.lo] Error 1
| make[4]: Leaving directory `/home/wonseok/yocto/r-car-h2/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/build/gst/parse'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/home/wonseok/yocto/r-car-h2/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/build/gst'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/wonseok/yocto/r-car-h2/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/build/gst'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/wonseok/yocto/r-car-h2/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/wonseok/yocto/r-car-h2/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/temp/run.do_compile.8313:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /home/wonseok/yocto/r-car-h2/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/temp/log.do_compile.8313)
ERROR: Task 3392 (/home/wonseok/yocto/r-car-h2/build/../poky/meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4119 tasks of which 22 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/home/wonseok/yocto/r-car-h2/build/../poky/meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb, do_compile
Summary: There were 16 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Uncommented as below in grammer.tab.c
//int priv_gst_parse_yylex (void * yylval_param , yyscan_t yyscanner);
0 Comments:
Post a Comment
<< Home