RZ-G/Chromium: Difference between revisions

From Renesas.info
mNo edit summary
mNo edit summary
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 RZ/G2L,G2LC + VLP/Gv3.0.3 + Chromium104.0.5112.101 ==
== How to build Chromium104.0.5112.101 for RZ/G2L,LC + VLP/Gv3.0.3 ==
* (1) Follow the Release Note and run up to the point before Bitbake. <u>(Release Noteに従い、Bitbake手前まで実行する)</u>
* (1) Follow "3. Build Instructions"  described in the Release Note until 3.1(5) . 
** Please run 3.1 through 3.1(5) of the [https://www.renesas.com/jp/ja/document/rln/rzg-verified-linux-package-v303-release-note-0?r=1467981の3.1から3.1(5)まで実行する https://www.renesas.com/jp/ja/document/rln/rzg-verified-linux-package-v303-release-note-0?r=1467981]. <u>([https://www.renesas.com/jp/ja/document/rln/rzg-verified-linux-package-v303-release-note-0?r=1467981の3.1から3.1(5)まで実行する https://www.renesas.com/jp/ja/document/rln/rzg-verified-linux-package-v303-release-note-0?r=1467981] の3.1から3.1(5)まで実行する)</u>
** [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. <u>(以下手順を実行してChromiumビルド用レシピを準備)</u>
* (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>
** <code>$ git clone <nowiki>https://github.com/kraj/meta-clang</nowiki> -b clang12</code>
** <code>$ git clone <nowiki>https://github.com/OSSystems/meta-browser.git</nowiki></code>
** <code>$ git clone <nowiki>https://github.com/OSSystems/meta-browser.git</nowiki></code>
Line 12: Line 12:
** <code>$ git checkout b8e658b5a4da60a0d297fb7c2cdb7c7c251ec8bf</code>
** <code>$ git checkout b8e658b5a4da60a0d297fb7c2cdb7c7c251ec8bf</code>


* (3) Add Chromium build settings to the conf file. <u>(confファイルにChromiumのビルド設定を追記)</u>
* (3) Perform the following steps to add Chromium build settings to the configuration file.
** <code>$ cd ../build</code>
** <code>$ cd ../build</code>
** <code>$ bitbake-layers add-layer ../meta-clang</code>
** <code>$ bitbake-layers add-layer ../meta-clang</code>
Line 18: Line 18:
** <code>$ bitbake-layers add-layer ../meta-openembedded/meta-networking</code>
** <code>$ bitbake-layers add-layer ../meta-openembedded/meta-networking</code>


* (4)Add the following to local.conf.  <u>(local.conf に以下を追記)</u>
* (4) Add the following lines to local.conf(build/conf/local.conf) manually.
** <code>IMAGE_INSTALL_append = " chromium-ozone-wayland"</code>
** <code>IMAGE_INSTALL_append = " chromium-ozone-wayland"</code>
** <code>IMAGE_INSTALL_append = " ntp"</code>
** <code>IMAGE_INSTALL_append = " ntp"</code>
** <code>IMAGE_INSTALL_append = " ttf-sazanami-gothic ttf-sazanami-mincho "</code>  
** <code>IMAGE_INSTALL_append = " ttf-sazanami-gothic ttf-sazanami-mincho "</code>  


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


Note:Currently, HW codec is not supported and RZ/G2L has limited video playback.
Note:Currently, HW codec has not been supported yet.
<u>(注意:現在、HWcodecが対応しておらず、RZ/G2Lにおいても動画再生に制限があります。)</u>

Revision as of 07:34, 12 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, HW codec has not been supported yet.