FREE TRIAL

Try Welma Yocto Linux for free on Raspberry pi 4

You will be able to use Mender update solution for this trial. If you want to use another update flavour (SWUpdate or else) for your trial just let us know!

Step 1 - Download Welma binary image

Step 2 - Flash the demo image on your Raspberry Pi 4

Step 3 - Configure Mender agent & update an applicative partition

1 - Flash Welma free demo image

1. Use a flashing tool

After downloading the binary image (demo-image-headless-dev-raspberrypi4-64-welma.wic.gz), use a flashing tool (like Balena etcher on Windows) to write on the SDCard.

2. Start the Raspberry Pi

Start the Raspberry pi 4; a SSH server is available at the appropriate IP address (DHCP is configured by default in the image).

3 - Log with user root

You can now log with user ‘root’ and without any password (that’s a development image 😉)

2 - Configure Mender update agent

1. Add the tenant token

On the Raspberry pi, edit file /var/lib/mender/mender.conf

Indicate Mender server address (it should look like: https://eu.hosted.mender.io/).

Add the tenant token (you can find it on Mender website in « My organisation » > « Organisation token » section).


    “ServerURL”: “https://eu.hosted.mender.io“,
    “TenantToken” : “eyJhbGci0iJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZ…zjSH3p_”
}

2. Restart welma-mender service

Once both pieces of information are added to the mender.conf file, you can restart the welma-mender update service using the following command on the Raspberry pi:

systemctl restart mender-client ​

3. Validate

Device is now pending an approbation in Mender. Click on the « 1 pending » and accept the new device. Your Raspberry pi is connected to Mender🎉

3. Update an applicative partition

1. Check the /app partition

Check the /app partition on the Raspberry pi. You should not find a README-1.txt file.

Let’s update this partition now!

2. Upload the binary app partition

Upload the test binary application partition on Mender update platform.

3. Upload the artefact

In Mender release menu, upload the artefact (appro1_rpi4.mender).

4. Create a deployment

Create a « deployment » to start the update process.
The easiest way is to directly use the device list. Select your Raspberry pi 4 and click on « Create a deployment for this device ».

5. Select the uploaded artefact

Select the uploaded artifact. By default, the Welma-Mender agent checks the update image every 30 minutes. To avoid waiting, restart the mender-client service. On the Rpi4 ssh, use the following command line:

systemctl restart mender-client

6. Check device status

Your device status should have changed on the Mender platform.

7. Validate the installation

On the Raspberry pi, the update agent is now awaiting approval to download and install the update. This approval can be given with the updatectl tool included in the image or through a dedicated Dbus API when you are in your business app.

In the SSH connection, use the following command to accept the download:

updatectl clearance-notify ready

Then use the same command to accept the installation.

8. Automatic reboot

The system has now installed the update and will automatically restart.

On the Mender platform, you can follow the progress of all these operations.

9. The device has been updated!

After rebooting, you can check the /app folder, you should find the README file that was not available on the previous boot.

Welma, more than a custom Yocto Linux distribution

Minimal & secure base distribution

With our state-of-the-art Yocto organization, reduce the number of packages to attack, of bugs to fix, of forced changes… And leave more disk for your applications and data.

Secure OTA updates

Over-the-air updates guarantee secure software in any location. Decide which updates are signed, certified, and delivered to your devices using Mender.io or SWUpdate.

DevOps platform

Welma includes a full continuous integration (CI) pipeline based on Gitlab and automated testing weaponry.

Compare Welma with other Linux distributions

The Embedded Kit penguin with orange cap

Book your technical demo

Schedule a call with our Head of Product Development to explore the features of Welma Yocto Linux and discover how it can benefit your project and team.