-
Notifications
You must be signed in to change notification settings - Fork 0
VLP G v3.0.6 update3 for RZ G2H
Chris Brandt edited this page Sep 11, 2024
·
1 revision
----------------------------------------------------------------- RZ/G2H VLP/G v3.0.6-update3 ----------------------------------------------------------------- # Must be running Ubuntu 20.04 cat /etc/lsb-release echo -en "\nUbuntu 20.04" ; if [ "$(grep 20.04 /etc/lsb-release)" != "" ] ; then echo -e " running.\nOK to build\n" ; else echo -e " NOT running.\nCannot build - ERROR\n" ; fi # Create a directry for the BSP # Note that patches and pacakges are different for products, so a BSP directory # for RZ/G2L will have different files than a BSP directory for RZ/G2H so # You should use a different directory. # Exmaple # rzg2_bsp_v3.0.6_rzg2l = RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/G3S # rzg2_bsp_v3.0.6_rzg2h = RZ/G2H, RZ/G2M, RZ/G2N, RZ/G2E # rzg2_bsp_v3.0.6_rzg3s = RZ/G3S mkdir rzg2_bsp_v3.0.6_rzg2h cd rzg2_bsp_v3.0.6_rzg2h # Confirm you have these packages ls -l RTK0EF0045Z0021AZJ-v3.0.6-update3.zip ls -l RTK0EF0045Z0022AZJ-v1.0.2_EN.zip # Unpack BSP unzip ./RTK0EF0045Z0021AZJ-v3.0.6-update3.zip tar zxvf ./RTK0EF0045Z0021AZJ-v3.0.6-update3/rzg_vlp_v3.0.6.tar.gz # Unpack update3 patches patch -p1 < ./RTK0EF0045Z0021AZJ-v3.0.6-update3/vlpg306-to-vlpg306update3.patch # Apply update3 patches cd meta-renesas # For update glibc to v2.28-10+deb10u4 (All product) patch -p1 < ../extra/0001-rz-common-recipes-debian-buster-glibc-update-to-v2.2.patch # For updating the gstreamer recipe (All product) patch -p1 < ../extra/0001-rz-common-gst-plugins-bad-Depending-bayer2raw-if-lay.patch cd .. # For RZ/G2H Graphics (PowerVR) and codec unzip ./RTK0EF0045Z0022AZJ-v1.0.2_EN.zip tar zxvf ./RTK0EF0045Z0022AZJ-v1.0.2_EN/meta-rz-features.tar.gz ########### Fix bug in V1.0.2 sed -i 's/anongit/gitlab/' meta-rz-features/meta-rz-codecs/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.3.bbappend # Enable HDMI cd ./meta-renesas patch -p1 < ../extra/0001-Add-HDMI-support-for-RZ-G2.patch cd .. # Init build system (template for rzg2h) TEMPLATECONF=$PWD/meta-renesas/meta-rzg2h/docs/template/conf/ source poky/oe-init-build-env build # Add feature pacakges to build bitbake-layers add-layer ../meta-qt5 bitbake-layers add-layer ../meta-rz-features/meta-rz-graphics bitbake-layers add-layer ../meta-rz-features/meta-rz-codecs # Back to base of BSP cd .. # Build RZ/G2H MACHINE=hihope-rzg2h bitbake core-image-qt # Build RZ/G2M MACHINE=hihope-rzg2m bitbake core-image-qt # Build RZ/G2N MACHINE=hihope-rzg2n bitbake core-image-qt # Build RZ/G2E MACHINE=ek874 bitbake core-image-qt # ERROR: Unable to connect to bitbake server, or start one (server startup failures would be in bitbake-cookerdaemon.log). rm -rf build/bitbake.lock