Chromium on imx8mpevk (imx-yocto-L5.10.52_2.1.0)

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

Chromium on imx8mpevk (imx-yocto-L5.10.52_2.1.0)

Jump to solution
1,207 Views
Controller4
Contributor I

Hi. I'm trying to build imx-yocto-L5.10.52_2.1.0 on imx8mpevk board with Chromium recipes, but an error occurred during the build process.

I followed the i.MX_Yocto_Project_User's_Guide.

 

After below process,

$ DISTRO=fsl-imx-wayland MACHINE=imx8mpevk source imx-setup-release.sh -b build-wayland
$ bitbake imx-image-full

 

I add CORE_IMAGE_EXTRA_INSTALL += "chromium-ozone-wayland" in local.conf file, but during build process, it did not work.

 

 

The error occured like this:

ERROR: chromium-ozone-wayland-91.0.4472.114-r0 do_configure: Execution of '/home/usr/imx8mpevk-5.10.52_2.1.0/build-wayland/tmp/work/cortexa53-crypto-mx8mp-poky-linux/chromium-ozone-wayland/91.0.4472.114-r0/temp/run.do_configure.915795' failed with exit code 1:
ERROR at //build/config/linux/dri/BUILD.gn:11:20: Script returned non-zero exit code.
dri_driver_dir = exec_script(pkg_config_script,
^----------
Current dir: /home/usr/imx8mpevk-5.10.52_2.1.0/build-wayland/tmp/work/cortexa53-crypto-mx8mp-poky-linux/chromium-ozone-wayland/91.0.4472.114-r0/chromium-91.0.4472.114/out/Release/
Command: python /home/usr/imx8mpevk-5.10.52_2.1.0/build-wayland/tmp/work/cortexa53-crypto-mx8mp-poky-linux/chromium-ozone-wayland/91.0.4472.114-r0/chromium-91.0.4472.114/build/config/linux/pkg-config.py --dridriverdir dri
Returned 1 and printed out:

Error from pkg-config.

stderr:

Package dri was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dri' found

See //content/gpu/BUILD.gn:141:18: which caused the file to be included.
configs += [ "//build/config/linux/dri" ]
^-------------------------
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/usr/imx8mpevk-5.10.52_2.1.0/build-wayland/tmp/work/cortexa53-crypto-mx8mp-poky-linux/chromium-ozone-wayland/91.0.4472.114-r0/temp/log.do_configure.915795

 

Is there something I missed?

Thanks

0 Kudos
1 Solution
1,162 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @Controller4 ,

 

For wayland image, I tested and tried it for many times, But issue is the same as yours. 

For xwayland image, no any problem to compile chromium-ozone-wayland.

So use fsl-image-xwayland, please!

 

Have a good day!

Regards,

weidong 

 

 

View solution in original post

0 Kudos
1 Reply
1,163 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @Controller4 ,

 

For wayland image, I tested and tried it for many times, But issue is the same as yours. 

For xwayland image, no any problem to compile chromium-ozone-wayland.

So use fsl-image-xwayland, please!

 

Have a good day!

Regards,

weidong 

 

 

0 Kudos