RZ-G/Chromium: Difference between revisions
Line 2: | Line 2: | ||
This page contains information about builds and using Chromium with the Renesas BSP. | This page contains information about builds and using Chromium with the Renesas BSP. | ||
== How to build | == How to build Chromium 116.0.5845.187 for RZ/G2L,LC + VLP/Gv3.0.3 == | ||
* (1) Follow "3. Build Instructions" described in the Release Note until 3.1(5) . | * (1) Follow "3. Build Instructions" described in the Release Note until 3.1(5) . | ||
** [https://www.renesas.com/us/en/document/rln/rzg-verified-linux-package-v303-release-note-0?r=1467981 RZ/G Verified Linux Package V3.0.3 Release Note (renesas.com)] | ** [https://www.renesas.com/us/en/document/rln/rzg-verified-linux-package-v303-release-note-0?r=1467981 RZ/G Verified Linux Package V3.0.3 Release Note (renesas.com)] | ||
* (2) Perform the following steps to prepare the recipe for the Chromium build. | * (2) Perform the following steps to prepare the recipe for the Chromium build. | ||
<pre style="margin-left: 40px;> | <pre style="margin-left: 40px;"> | ||
$ git clone | $ git clone https://github.com/kraj/meta-clang -b dunfell-clang14 | ||
$ git clone <nowiki>https://github.com/OSSystems/meta-browser.git</nowiki> | $ git clone <nowiki>https://github.com/OSSystems/meta-browser.git</nowiki> | ||
$ cd meta-browser | $ cd meta-browser | ||
$ git checkout | $ git checkout e75da7cc83393b174220b808d96f8f05ab7ad4d2 | ||
$ cd ../ | |||
$ rm -rf meta-openembedded/ | |||
$ git clone https://github.com/openembedded/meta-openembedded | |||
$ cd meta-openembedded | |||
$ git checkout 116bfe8d5e5851e7fc5424f40da8691a19c5b5ee | |||
</pre> | </pre> | ||
Line 23: | Line 28: | ||
* (4) Add the following lines to local.conf(build/conf/local.conf) manually. | * (4) Add the following lines to local.conf(build/conf/local.conf) manually. | ||
<pre style="margin-left: 40px;> | <pre style="margin-left: 40px;"> | ||
IMAGE_INSTALL_append = " chromium-ozone-wayland" | IMAGE_INSTALL_append = " chromium-ozone-wayland" | ||
IMAGE_INSTALL_append = " ntp" | IMAGE_INSTALL_append = " ntp" | ||
IMAGE_INSTALL_append = " ttf-sazanami-gothic ttf-sazanami-mincho " | IMAGE_INSTALL_append = " ttf-sazanami-gothic ttf-sazanami-mincho " | ||
PREFERRED_VERSION_nodejs-native = "14.%" | |||
</pre> | </pre> | ||
Line 35: | Line 41: | ||
* Chromium startup command | * Chromium startup command | ||
<pre style="margin-left: 40px;> | <pre style="margin-left: 40px;"> | ||
chromium --no-sandbox --in-process-gpu - | chromium --no-sandbox --in-process-gpu --use-gl=desktop <nowiki>https://XXXXX</nowiki> | ||
</pre> | </pre> | ||
Note: Currently, the HW codec has not been supported yet. | Note: Currently, the HW codec has not been supported yet. |
Revision as of 15:29, 13 November 2023
This page contains information about builds and using Chromium with the Renesas BSP.
How to build Chromium 116.0.5845.187 for RZ/G2L,LC + VLP/Gv3.0.3
- (1) Follow "3. Build Instructions" described in the Release Note until 3.1(5) .
- (2) Perform the following steps to prepare the recipe for the Chromium build.
$ 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
- (3) Perform the following steps to add Chromium build settings to the configuration file.
$ cd ../build $ bitbake-layers add-layer ../meta-clang $ bitbake-layers add-layer ../meta-browser/meta-chromium $ bitbake-layers add-layer ../meta-openembedded/meta-networking
- (4) Add the following lines to local.conf(build/conf/local.conf) manually.
IMAGE_INSTALL_append = " chromium-ozone-wayland" IMAGE_INSTALL_append = " ntp" IMAGE_INSTALL_append = " ttf-sazanami-gothic ttf-sazanami-mincho " PREFERRED_VERSION_nodejs-native = "14.%"
- (5) Run bitbake
$ MACHINE=smarc-rzg2l bitbake core-image-weston
- Chromium startup command
chromium --no-sandbox --in-process-gpu --use-gl=desktop https://XXXXX
Note: Currently, the HW codec has not been supported yet.