RZ-G/Chromium: Difference between revisions

From Renesas.info
mNo edit summary
Line 7: Line 7:


* (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.
** <code>$ git clone <nowiki>https://github.com/kraj/meta-clang</nowiki> -b clang12</code>
<pre style="margin-left: 40px;>
** <code>$ git clone <nowiki>https://github.com/OSSystems/meta-browser.git</nowiki></code>
$ git clone <nowiki>https://github.com/kraj/meta-clang</nowiki> -b clang12
** <code>$ cd meta-browser</code>
$ git clone <nowiki>https://github.com/OSSystems/meta-browser.git</nowiki>
** <code>$ git checkout b8e658b5a4da60a0d297fb7c2cdb7c7c251ec8bf</code>
$ cd meta-browser
$ git checkout b8e658b5a4da60a0d297fb7c2cdb7c7c251ec8bf
</pre>


* (3) Perform the following steps to add Chromium build settings to the configuration file.
* (3) Perform the following steps to add Chromium build settings to the configuration file.
** <code>$ cd ../build</code>
<pre style="margin-left: 40px;>
** <code>$ bitbake-layers add-layer ../meta-clang</code>
$ cd ../build
** <code>$ bitbake-layers add-layer ../meta-browser/meta-chromium</code>
$ bitbake-layers add-layer ../meta-clang
** <code>$ bitbake-layers add-layer ../meta-openembedded/meta-networking</code>
$ bitbake-layers add-layer ../meta-browser/meta-chromium
$ bitbake-layers add-layer ../meta-openembedded/meta-networking
</pre>


* (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.  
** <code>IMAGE_INSTALL_append = " chromium-ozone-wayland"</code>
<pre style="margin-left: 40px;>
** <code>IMAGE_INSTALL_append = " ntp"</code>
IMAGE_INSTALL_append = " chromium-ozone-wayland"
** <code>IMAGE_INSTALL_append = " ttf-sazanami-gothic ttf-sazanami-mincho "</code>  
IMAGE_INSTALL_append = " ntp"
IMAGE_INSTALL_append = " ttf-sazanami-gothic ttf-sazanami-mincho "
</pre>


* (5) Run bitbake
* (5) Run bitbake
** <code>$ MACHINE=smarc-rzg2l bitbake core-image-weston</code>
<pre style="margin-left: 40px;>
$ MACHINE=smarc-rzg2l bitbake core-image-weston
</pre>
 
* Chromium startup command
* Chromium startup command
** <code>chromium --no-sandbox --in-process-gpu -kiosk <nowiki>https://XXXXX</nowiki></code>
<pre style="margin-left: 40px;>
chromium --no-sandbox --in-process-gpu -kiosk <nowiki>https://XXXXX</nowiki>
</pre>


Note:Currently, HW codec has not been supported yet.
Note: Currently, the HW codec has not been supported yet.

Revision as of 11:53, 13 October 2023

This page contains information about builds and using Chromium with the Renesas BSP.

How to build Chromium104.0.5112.101 for RZ/G2L,LC + VLP/Gv3.0.3

  • (2) Perform the following steps to prepare the recipe for the Chromium build.
$ git clone https://github.com/kraj/meta-clang -b clang12
$ git clone https://github.com/OSSystems/meta-browser.git
$ cd meta-browser
$ git checkout b8e658b5a4da60a0d297fb7c2cdb7c7c251ec8bf
  • (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 "
  • (5) Run bitbake
$ MACHINE=smarc-rzg2l bitbake core-image-weston
  • Chromium startup command
chromium --no-sandbox --in-process-gpu -kiosk https://XXXXX

Note: Currently, the HW codec has not been supported yet.