5. Chromium on TX8M

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-1610-mipi-mb 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"
KERNEL_FEATURES_append = "qt5"

Build the QT5.9 image:

bitbake fsl-image-qt5

Note

Before starting a build, you should consider enabling the SSTATE CACHE to speedup the build process.

See Enable sstate cache 1.

When your build has finished, flash your module with the image. See Flashing Images.

5.1. 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 Putty 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

Enjoy!