i’m working with the following configuration:
Apalis iMX8QM 4GB WB IT V1.1D
Ixora Carrier Board V 1.2A
DISTRO_VERSION = “7.2.0”
DISTRO_CODENAME = “scathgap”
Based on the above, I tried to create an SDK environment by including chromium in the board and checking its operation, and then ran the following command.
Hi @sjjin , it depends on how you are going to custom Chromium. If you already have the Chromium source code patch customing it, you can add it to the Chromium recipe. We usually don’t build Chromium from Linux SDK.
Hi @sjjin , yes, what you did is correct. Besides, the patches from meta-imx are also required to enable GPU acceleration.
However, chromium will not be added to the SDK automatically. A recipe has to uses nativesdk e.g. inherit nativesdk, class to add itself to the SDK. But I don’t find it from layers/meta-browser/meta-chromium/recipes-browser/chromium. Chromium packages use the Clang compiler and rely on other dependencies and patches. It won’t be easy to build Chromium with the toolchain from SDK.
If you would like to custom Chromium from the source code, patches for the Yocto Project similar to the ones from meta-imx will be feasible.
Hi @sjjin , the default guide is possible to add Chromium into the image and launch Chromium on Apalis iMX8 as the picture shows. Do you face any specific issue when controlling the device and monitoring?
I have confirmed the same functionality as above through chromium.
We want to use chromium by customizing it. We do not need the full browser function.
For example, we want to make a version that removes the address bar.
So we want to make it using libcef.so, but including the SDK is not easy…
If your application heavily relies on browser, Torizon OS could provide a better experience.
For Chromium Embedded Framework, currently, there is no recipe to easily integrate it into Yocto Project. Hardware acceleration may also be missed if it is successfully cross-compiled.
Hi @sjjin , I tested with RDP and found the same behaviors. It seems chromium has a bug to interpret additional input when using Wayland. There was a patch from this ticket. The same issue was also discussed on Chromium Community. However, I am not sure if this is still working on BSP 7.2.0. Is remote access(VNC/RDP) mandatory in your project? Or is it a way to make development easier?