Chromium on TX8M/QS8M

You are able to integrate Chromium into your image to get a graphics-accelerated browser on your StarterKit.

Set up your build-directory with these settings:

DISTRO=fsl-imx-xwayland MACHINE=tx8m-xxxx source karo-nxp-release.sh -b <build-dir>

Inside your build directory add this to conf/local.conf:

CORE_IMAGE_EXTRA_INSTALL += "chromium-ozone-wayland"

Build the QT image:

bitbake fsl-image-qt5

When your build has finished, flash your module with the image. See UUU - Universal Update Utility.

Running Chromium

When booting your previously flashed module, the Weston desktop should come up.

Plug a USB-hub into your StarterKit’s USB host port and insert keyboard, mouse and/or touchscreen. Open the terminal (icon in top-left corner), or connect via the Terminal from your host computer. The desktop comes up as user root, so you have to start Chromium with an extra argument.

Run:

chromium --no-sandbox

Hint

On every first start of Chromium it will tell you, that there’s not enough entropy initialized to start Chromium. Move your mouse or hit some keys on your keyboard until the browser comes up. See the sections below how to prevent this.