SmartKit
SmartKit is a common service tool platform for storage, server, cloud computing, virtualization, and machine vision products. SmartKit integrates various tools required for deploying, maintaining, and upgrading IT devices, helping perform precise operations on these devices to improve work efficiency.
The TEE OS can be regarded as a piece of embedded software on servers. The host OS provides the tlogcat tool for viewing logs. SmartKit allow you to batch upgrade TEE OSs, batch set BIOS TEE parameters, batch import TrustZone license files, and collect TEE OS logs with one click.
Obtaining SmartKit
Table 1 describes how to obtain SmartKit.
For details about how to obtain, install, and use SmartKit, such as how to add devices, see SmartKit Computing User Guide.
Collecting TEE OS Logs with One Click
To collect TEE OS logs of a server, perform the following steps:
- On the Server tab page of the homepage, choose Troubleshooting > Log Collection.

- Select a device of the target OS type and choose Select Device > Log Collection.

- Choose Configure Log Collection Items > Custom Configuration for OS Log Collection Item and select trustZone.

- Click Next to collect the logs. After logs are collected, you can view the log files in the local log directory.

Batch Setting TEE Parameters
To set TEE parameters in the server BIOSs, perform the following steps:
- On the Server tab page of the homepage, choose Site Deployment Delivery > Hardware Configuration.

- Select a device of the target iBMC type and choose Hardware Configuration > BIOS Configuration.

- Choose Change Settings > Advanced to batch set TEE parameters, including Support TEE and TEE Memory Size.

- Set the TEE parameters as required, select the parameter options, and click Next to deliver the TEE settings.

- On the Start Configuration page, wait until a message is displayed indicating that the settings have been successfully delivered.

- Restart the server for the settings to take effect. After the server is restarted, you can view the TEE setting record in the iBMC log.

Batch Importing License Files
To import TrustZone license files to servers, perform the following steps:
- On the Server tab page of the homepage, choose Site Deployment Delivery > Hardware Configuration.

- Select a device of the target iBMC type and choose Hardware Configuration > iBMC Configuration.

- On the Select Items page, choose Select a single configuration item > Batch Install License.

- On the Change Configuration page, select a license file (in XML format) to be uploaded. To import the license file to multiple servers at the same time, you can upload the license folder.

- On the Start Configuration page, confirm the license file import and installation.

Batch Upgrading TEE OSs
To batch upgrade the TEE OS firmware of servers, perform the following steps:
- On the Server tab page of the homepage, choose Upgrade/Patch Installation > Firmware Upgrade.

- Select a device of the target iBMC type, and skip the Upgrade Evaluation step to Upgrade the firmware.

Only the single-component upgrade mode is available, which does not support upgrade evaluation.
- On the Select Upgrade Type page, select Upgrade using single firmware.

- On the Select Firmware page, select the firmware file (in HPM format) of the TEE OS to be upgraded. On the Configure Upgrade File Attributes page, set Module to TEE OS and Active Mode > Reset Server.

- On the Upgrade Policy Evaluation page, set whether to make the firmware take effect immediately.

The new TEE OS firmware takes effect only after the server is restarted. If you select Only load the firmware, you need to power off and then power on the server after the firmware is uploaded to the iBMC for the firmware upgrade to take effect.
- On the Upgrade page, confirm the firmware upgrade.
