Installation guide

Supported platforms

  • i.MX 8

    • CCPilot V510

    • CCPilot V700

    • CCPilot V710

    • CCPilot V1000

    • CCPilot V1200

    • CCPilot V1090

    • CCPilot V1290

Prerequisites

v1.5.0

  • CCL 5.+ OS

  • Qt 6.12.0 Runtime

Version 1.5.0 is rebuilt for this OS and Qt runtime. Prerelease builds retain GitVersion suffixes.

Unlock /appfs for development/testing

For experimental testing, a quick way to deploy ccwebbrowser is to format /appfs and make it writable by ccs user. Real deployment should use RAUC package to deploy browser and Qt runtime in one bundle.

  1. Open an ssh session to the target ssh ccs<ip-address>

  2. Check which version partition /appfs is mounted to rauc status

  3. Unmount /appfs sudo umount /appfs

  4. Format the partition sudo mkfs.ext4 /dev/<partition>

  5. Remount /appfs sudo mount /dev/<partition> /appfs

  6. Make it writable for ccs user during test: chown -R ccs /appfs

Installing CC Web browser

Packages built by this project are named ccwebbrowser-<device>-<version>.tar.gz, where <device> is v700, v1x00, vx10 or v1x90. <version> is based on 1.5.0 and includes the GitVersion suffix for prerelease builds. Use the actual filename in the commands below.

  1. Obtain the package for your device, rebuilt for CCL 5.1.0.0 and Qt 6.12.0, from the build artifacts or the support site.

  2. Transfer the tarball to the device scp <package-name> ccs@<ip-address>:/tmp

  3. Open an ssh session to the target ssh ccs@<ip-address>

  4. Change directory to /appfs cd /appfs

  5. Unpack the tarball to /appfs sudo tar xzf /tmp/<package-name> -C /appfs

  6. Edit the /appfs/ccwebbrowser/config/browser.conf file to add your url.

  7. By default the web browser is running with Qt platform -platform eglfs. If the browser should run as a wayland client, edit the ccwebbrowser.service systemd script and change the platform to -platform wayland instead.

  8. Enable the systemd service file to automatically start the web browser sudo systemctl enable ccwebbrowser

  9. Download and extract qt-runtime--6.12.0-5.1.0.0.tar.gz to /appfs folder.

  10. Now the web browser should automatically start at boot

Create a RAUC bundle

Reference the CC Linux - Using RAUC documentation on the support web site for more information about how to generate a RAUC bundle. A appfs partition created as above can be used in the RAUC package to create a deployment package.

Troubleshooting

Please refer to our KnowledgeBase for further information and troubleshooting guides.