STM32MP1/2 Kits Torizon Software QA Test Plan

STM32MP1/2 Kits Torizon Software QA Test Plan

Table of Contents

1. Purpose

This document provides a description of the QA tests used for validation the Torizon OS release builds for one of the following boards.

  • STM32MP257x-EV1

  • STM32MP257x-DKx

  • STM32MP157x-DKx.

2. Board Preparations

Connect to the board (see ​Setting up the STM32MP257F-EV1 Evaluation Board ):

  • Ethernet cable

  • WiFi antenna

  • USB hub, with USB keyboard and mouse attached, into the USB1 connector.

  • HDMI monitor

3. QA Tests

3.1. SD Installation and Booting Test

  1. Install release image to SD card, as per Installing Torizon OS to STM32MP Targets

  2. Boot to shell prompt using SD card, measure boot time (~2 min for the first boot)

  3. Reboot the board and boot to shell prompt using SD card, measure boot time (~25 seconds for the second time).

3.2. Empty eMMC Boot Time Test

  1. Make sure the system is booted from SD card.

  2. Remove partition table from eMMC:
    $ sudo dd if=/dev/zero of=/dev/mmcblk2 bs=8M count=100 conv=fdatasync

  3. Reboot and check boot time is about ~25 seconds
    $ sudo reboot

3.3. eMMC Installation and Booting Test

  1. Install images to eMMC as per ​Installing Torizon OS to STM32MP Targets

  2. Boot to shell prompt using eMMC, measure boot time (24 seconds for the first boot)

  3. Reboot the board and boot to shell prompt using eMMC, measure boot time (~15 seconds for the second time).

3.4. Ethernet Test

  1. Check that internet access is configured automatically.

  2. Run ping google.com.

3.5. Torizon Cloud Test

Follow instruction in the following AN documents for verifying SLAM and object avoidance functionality:

Accessing STM32MP Targets from the Torizon Cloud

3.6. Torizon OS docker container Test

Follow instruction in the following AN documents for verifying SLAM and object avoidance functionality:

Running Docker Containers in Torizon OS

3.7. Torizon OS OTA Test

Follow instruction in the following AN documents for verifying SLAM and object avoidance functionality:

Updating Torizon OS on STM32MP Targets from the Torizon Cloud