How to compile the Chromium browser using Yocto on Linux version 6.6.36

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to compile the Chromium browser using Yocto on Linux version 6.6.36

Jump to solution
520 Views
logic887
Contributor III


My current platform is IMX8MP, and I downloaded the Linux version 6.6.36 of Yocto, but how do I compile the Chromium browser?

I added `IMAGE_INSTALL:append = "chromium-ozone-wayland"` to `conf/local.conf`, and then executed `bitbake chromium-ozone-wayland`, which resulted in the following error.

logic887_0-1765184746906.png

 

0 Kudos
Reply
1 Solution
6 Replies
519 Views
logic887
Contributor III

logic887_0-1765185113628.png

Setting `CORE_IMAGE_EXTRA_INSTALL += "chromium-ozone-wayland"` will result in the following error:

logic887_1-1765185213355.png

 

0 Kudos
Reply
487 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,


1. Initialize the repository with the proper manifest:
```
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.6.36-2.2.2.xml
```

2. Synchronize the repository:
```
repo sync
```

3. Set up the build environment:
```
MACHINE=imx8mp-lpddr4-evk DISTRO=fsl-imx-wayland source ./imx-setup-release.sh -b build_imx8mp
```

4. Add Chromium to your image by adding this line to your `conf/local.conf`:
```
IMAGE_INSTALL:append = " chromium-ozone-wayland"
```

5. Build your image with Chromium included:
```
bitbake imx-image-multimedia
```

Alternatively, you can build just the Chromium package:
```
bitbake chromium-ozone-wayland
```

## Important Notes:
- Use `DISTRO=fsl-imx-wayland` instead of `fsl-imx-xwayland` for proper Chromium implementation
- The default chromium layer provided in NXP Yocto should be used rather than manually downloading meta-chromium
- If you're encountering build issues with an existing build, use `bitbake -f chromium-ozone-wayland` to force a rebuild
- Chromium will not work with `core-image-minimal`; use a more complete image like `imx-image-multimedia` or `imx-image-full`

This configuration should resolve the compilation error you encountered with the Chromium browser on your IMX8MP platform.

regards

0 Kudos
Reply
458 Views
logic887
Contributor III
This only has version 6.1.36, not 6.6.36. I can compile Chromium using 6.1.36, but Yocto using 6.6.36 won't work.
https://github.com/nxp-imx/meta-imx/tree/scarthgap-6.6.36-2.1.0
I pulled yocto here
0 Kudos
Reply
477 Views
logic887
Contributor III

are you sure?This only has version 6.1.36, not 6.6.36. I can compile Chromium using 6.1.36, but Yocto using 6.6.36 won't work.

logic887_0-1765243077156.png

 

0 Kudos
Reply
476 Views
logic887
Contributor III
0 Kudos
Reply