This page contains information about building and using Chromium with the Renesas BSP.
You can choose between two versions: Chromium v116 and Chromium v109.
Please bare in mind that only Chromium v109 supports GPU Acceleration.
$ git clone https://github.com/kraj/meta-clang -b dunfell-clang14
$ git clone https://github.com/OSSystems/meta-browser.git
$ cd meta-browser
$ git checkout e75da7cc83393b174220b808d96f8f05ab7ad4d2
$ cd ../
$ rm -rf meta-openembedded/
$ git clone https://github.com/openembedded/meta-openembedded
$ cd meta-openembedded
$ git checkout 116bfe8d5e5851e7fc5424f40da8691a19c5b5ee
$ cd ../build
$ bitbake-layers add-layer ../meta-clang
$ bitbake-layers add-layer ../meta-browser/meta-chromium
$ bitbake-layers add-layer ../meta-openembedded/meta-networking
IMAGE_INSTALL_append = " chromium-ozone-wayland"
IMAGE_INSTALL_append = " ntp"
IMAGE_INSTALL_append = " ttf-sazanami-gothic ttf-sazanami-mincho "
PREFERRED_VERSION_nodejs-native = "14.%"
$ MACHINE=smarc-rzg2l bitbake core-image-weston
⚠️ Note: You must have an input device (USB mouse or touchscreen) plugged in before you start the browser. If you do not, you will get a "Segmentation fault"
chromium --no-sandbox --in-process-gpu --use-gl=desktop https://XXXXX
Note: Currently, the HW codec and the GPU features has not been supported yet.
$ git clone https://github.com/kraj/meta-clang -b dunfell-clang12
$ git clone https://github.com/OSSystems/meta-browser.git
$ cd meta-browser
$ cd ..
$ git checkout f2d5539552b54099893a7339cbb2ab46b42ee754
$ cd ../build
$ bitbake-layers add-layer ../meta-clang
$ bitbake-layers add-layer ../meta-browser/meta-chromium
$ bitbake-layers add-layer ../meta-openembedded/meta-networking
IMAGE_INSTALL_append = " chromium-ozone-wayland"
IMAGE_INSTALL_append = " ntp"
IMAGE_INSTALL_append = " ttf-sazanami-gothic ttf-sazanami-mincho "
PREFERRED_VERSION_nodejs-native = "14.%"
For RZ/G2L add these lines, too
DISTRO_FEATURES_append = " h264enc_lib"
PACKAGECONFIG_pn-chromium-ozone-wayland =" proprietary-codecs"
$ MACHINE=smarc-rzg2l bitbake core-image-weston
⚠️ Note: You must have an input device (USB mouse or touchscreen) plugged in before you start the browser. If you do not, you will get a "Segmentation fault"
chromium --no-sandbox --in-process-gpu --use-gl=desktop https://XXXXX
Table of Contents |
---|