From 859bb966cf849d3dfde630c634408924088038ec Mon Sep 17 00:00:00 2001 From: wusongqing Date: Thu, 27 Jan 2022 20:25:07 +0800 Subject: [PATCH] updated docs Signed-off-by: wusongqing --- en/release-notes/OpenHarmony-1-1-0-LTS.md | 1172 +++++++++++++++++++++ 1 file changed, 1172 insertions(+) create mode 100644 en/release-notes/OpenHarmony-1-1-0-LTS.md diff --git a/en/release-notes/OpenHarmony-1-1-0-LTS.md b/en/release-notes/OpenHarmony-1-1-0-LTS.md new file mode 100644 index 0000000000..9a36ec2aa1 --- /dev/null +++ b/en/release-notes/OpenHarmony-1-1-0-LTS.md @@ -0,0 +1,1172 @@ +# OpenHarmony 1.1.0 LTS \(2021-04-01\) + +- [Overview](#section1846294912228) +- [Source Code Acquisition](#section84808293211) + - [Acquiring Source Code from Images](#section8394142222113) + - [Acquiring Source Code Using the repo Tool](#section7180193542317) + +- [What's New](#section175225345334) +- [Resolved Issues](#section11935243172612) + +## Overview + +This is the first long-term support \(LTS\) version of OpenHarmony. It supports more functions and fixes some bugs in OpenHarmony 1.0. + +- OpenHarmony1.1.0 supports more subsystems, including the AI, power management, pan-sensor, and update subsystems. +- OpenHarmony1.1.0 provides a unified AI engine framework. +- The LiteOS Cortex-M kernel has been reconstructed for porting third-party chips to OpenHarmony. +- The driver subsystem provides models for the WLAN, sensor, input, and display drivers. +- The graphics subsystem has been optimized for an enhanced UI and improved performance and memory for the JS application framework. +- The directory structure and module repositories have been significantly improved. + +## Source Code Acquisition + +### Acquiring Source Code from Images + +**Table 1** Images for acquiring source code + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Source Code

+

Version Information

+

Image

+

SHA-256 Checksum

+

Full code base

+

1.1.0

+

Download

+

Download

+

Hi3861 solution (binary)

+

1.1.0

+

Download

+

Download

+

Hi3518 solution (binary)

+

1.1.0

+

Download

+

Download

+

Hi3516 solution (binary)

+

1.1.0

+

Download

+

Download

+

Release Notes

+

1.1.0

+

Download

+

N/A

+
+ +### Acquiring Source Code Using the repo Tool + +Run the following commands to download the source code: + +``` +repo init -u https://gitee.com/openharmony/manifest.git -b refs/tags/OpenHarmony_release_v1.1.0 --no-repo-verify +repo sync -c +``` + +## What's New + +This version inherits all features of OpenHarmony 1.0, and adds and optimizes features for different modules based on OpenHarmony 1.0. The following table lists the feature updates. + +**Table 2** Feature updates + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Type

+

New Features

+

Modified Features

+

Deleted Features

+

Kernel

+
  • The LiteOS Cortex-M kernel supports the Cortex-M7, Cortex-M33, and RISC-V chip architecture, and the corresponding samples are provided.
  • The LiteOS Cortex-M kernel supports the memory protection unit (MPU).
  • The LiteOS Cortex-M kernel supports some POSIX APIs.
  • The LiteOS Cortex-M kernel supports the FatFS file system.
  • The LiteOS Cortex-M kernel supports the registration of exception callbacks.
  • The architecture of the LiteOS Cortex-M kernel has been adjusted for third-party chips to adapt to OpenHarmony.
  • The LiteOS Cortex-M and LiteOS Cortex-A kernels support the heap memory debugging functionalities, covering memory leakage, illegal access to the memory, and memory statistics.
  • The LiteOS Cortex-M and LiteOS Cortex-A kernels support the TLSF heap memory algorithm, which improves the efficiency of memory application and release and reduces the fragmentation rate.
+

LiteOS Cortex-A scheduling has been optimized.

+

None

+

Pan-sensor

+

A sensor module has been added. You can now query the sensor list, enable or disable a sensor, subscribe to or unsubscribe from sensor data, set the data reporting mode of a sensor, and set sensor options such as the data sampling interval.

+

None

+

None

+

Globalization

+

C/C++ APIs have been added for number, date, time, and singular-plural formatting in 79 languages.

+

None

+

None

+

JS Application Framework

+
  • A global JavaScript UI attribute, opacity, has been added.
  • A prompt.showDialog API has been added.
  • A QR code component qrcode has been added.
  • Event pop-ups have been added.
+
  • Internationalization has been improved, with quicker page redirections. Number internationalization and time/date conversions are now available.
  • The UI layout has been enhanced, with percentage values supported for some styles.
  • The size adaptation capabilities of the input and switch components have been enhanced.
  • The image component supports access to images in an application's private directory.
  • The image-animator component allows you to specify the end frame.
  • Some APIs have been made available for the canvas component.
  • Some return fields have been added for the device.getInfo API.
  • DFX can trace methods that encounter exceptions and output a list of such methods.
+

Backtracking is no longer supported for internationalization functions.

+

Testing

+
  • The testing tool can filter test cases to execute based on the case level.
  • Demo test cases have been added.
+

None

+

None

+

Graphics

+
  • Component rotation, scaling, and opacity management have been added.
  • Event pop-ups and the crown rotation event have been added.
  • There is now GIF image parsing and display, percentage-based width and height layout, and video and QR code components.
+

Partial rendering and SIMD performance have been optimized.

+

None

+

Utils

+
  • System attribute dumping is supported.
  • Memory pool management APIs have been added for upper-layer modules.
+

None

+

None

+

Driver

+
  • The sensor, input, and display driver models have been added.
  • The MIPI DSI and pulse width modulation (PWM) have been added.
  • Hardware Driver Interfaces (HDIs) and Wi-Fi flow control have been added.
  • The I/O service grouping feature has been added for the Hardware Driver Foundation (HDF).
+

Driver loading has been optimized. It can now be accomplished in segmented parts.

+

None

+

Intelligent Soft Bus

+
  • A Wi-Fi Aware module has been added.
  • IPC supports non-aligned marshalling.
+

None

+

None

+

Security

+
  • HUKS provides the SHA-256, RSA-3072, RSA-2048, AES-128, and ECC security algorithms and APIs, as well as key management and storage.
  • The lightweight HiChain is available for managing and authenticating device groups without requiring login to devices using the same account, and for ensuring the communication security based on the Intelligent Soft Bus. It also provides APIs for system services and applications.
  • A unified permission management system has been added to manage permissions for lightweight devices.
+

None

+

None

+

AI

+
  • A unified AI engine framework has been added to implement quick integration of AI algorithm plug-ins. The framework consists of plug-in management, module management, and communications management modules. This framework provides lifecycle management and allows for on-demand deployment of AI algorithms.
  • A developer guide, and two AI capability plug-ins developed based on the AI engine framework and two AI application samples are provided for you to quickly integrate AI algorithms in the AI engine framework.
+

None

+

None

+

Update

+

An update capability framework for mini-system devices has been added. It provides APIs for update package verification, parsing, and installation.

+

None

+

None

+

XTS

+

AI, DFX, globalization, and OTA compatibility test cases have been added.

+

Capabilities for the application framework, Intelligent Soft Bus, distributed scheduler, IoT, and kernel have been enhanced.

+

None

+

Compilation and Building

+
  • The command line tool hb has been added. It provides the hb set and hb build commands for building in the source code directory or any subdirectory.
  • Components provided by independent chip vendors are supported.
  • Components can be built independently based on the component name.
  • The build toolchain and options can be customized for different development boards.
+

The product configuration has been decoupled from the build_lite repository and is stored in vendor/solution vendor/product/config.json.

+

None

+

Power Management

+
  • Battery level query is now supported.
  • Always-on screen functionalities have been added, along with corresponding APIs.
+

None

+

None

+
+ +The following table describes the optimization of repositories. + +> **NOTE:** +>- Read-only archiving means archiving a module repository to the **openharmony-retired** organization and setting the repository to read-only. +>- Code for third-party chips has been decoupled from the OS. HiSilicon chip SDKs have been moved from the **vendor** directory to the **device/hisilicon** directory. + +**Table 3** Optimization of repositories + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

OpenHarmony1.0

+

OpenHarmony1.1.0

+

Optimization

+

ace_lite_jsfwk

+

ace_engine_lite

+

The repository name has been changed.

+

ace_interfaces_innerkits_builtin

+

N/A

+

Read-only archiving

+

N/A

+

ai_engine

+

New module

+

hiviewdfx_frameworks_hievent_lite

+

hiviewdfx_hievent_lite

+

The repository name has been changed.

+

hiviewdfx_frameworks_hilog_lite

+

hiviewdfx_hilog_lite

+

The repository name has been changed.

+

hiviewdfx_utils_lite

+

hiviewdfx_hiview_lite

+

The repository name has been changed.

+

hiviewdfx_frameworks_ddrdump_lite

+

N/A

+

Read-only archiving

+

hiviewdfx_interfaces_innerkits_hievent_lite

+

N/A

+

Read-only archiving

+

hiviewdfx_interfaces_innerkits_hilog

+

N/A

+

Read-only archiving

+

hiviewdfx_interfaces_kits_hilog

+

N/A

+

Read-only archiving

+

hiviewdfx_interfaces_kits_hilog_lite

+

N/A

+

Read-only archiving

+

hiviewdfx_services_hilogcat_lite

+

N/A

+

Read-only archiving

+

hiviewdfx_services_hiview_lite

+

N/A

+

Read-only archiving

+

iothardware_hals_wifiiot_lite

+

N/A

+

Read-only archiving

+

iothardware_interfaces_kits_wifiiot_lite

+

N/A

+

Read-only archiving

+

iothardware_frameworks_wifiiot_lite

+

iothardware_peripheral

+

The repository name has been changed.

+

N/A

+

applications_camera_sample_communication

+

New module

+

N/A

+

applications_camera_screensaver_app

+

New module

+

N/A

+

sensors_miscdevice_lite

+

New module

+

N/A

+

sensors_sensor_lite

+

New module

+

xts_tools_lite

+

xts_tools

+

The repository name has been changed.

+

security_services_iam_lite

+

security_permission

+

The repository name has been changed.

+

security_interfaces_innerkits_iam_lite

+

N/A

+

Read-only archiving

+

security_interfaces_kits_iam_lite

+

N/A

+

Read-only archiving

+

security_services_secure_os

+

security_itrustee_ree_lite

+

The repository name has been changed.

+

security_interfaces_innerkits_secure_os

+

N/A

+

Read-only archiving

+

security_frameworks_secure_os

+

N/A

+

Read-only archiving

+

security_services_app_verify

+

security_appverify

+

The repository name has been changed.

+

security_interfaces_innerkits_app_verify

+

N/A

+

Read-only archiving

+

security_services_hichainsdk_lite

+

security_deviceauth

+

The repository name has been changed.

+

security_interfaces_innerkits_hichainsdk_lite

+

N/A

+

Read-only archiving

+

security_services_huks_lite

+

security_huks

+

The repository name has been changed.

+

security_interfaces_innerkits_huks_lite

+

N/A

+

Read-only archiving

+

security_frameworks_crypto_lite

+

N/A

+

Read-only archiving

+

security_interfaces_innerkits_crypto_lite

+

N/A

+

Read-only archiving

+

N/A

+

signcenter_tool

+

New module

+

N/A

+

third_party_cryptsetup

+

New module

+

N/A

+

third_party_JSON-C

+

New module

+

N/A

+

third_party_libuuid

+

New module

+

N/A

+

third_party_LVM2

+

New module

+

N/A

+

third_party_popt

+

New module

+

communication_interfaces_kits_wifi_lite

+

N/A

+

Read-only archiving

+

communication_frameworks_wifi_lite

+

N/A

+

Read-only archiving

+

N/A

+

communication_wifi_lite

+

New module

+

N/A

+

powermgr_powermgr_lite

+

New module

+

distributedschedule_services_dtbschedmgr_lite

+

distributedschedule_dms_fwk_lite

+

The repository name has been changed.

+

distributedschedule_services_safwk_lite

+

distributedschedule_safwk_lite

+

The repository name has been changed.

+

distributedschedule_services_samgr_lite

+

distributedschedule_samgr_lite

+

The repository name has been changed.

+

distributedschedule_interfaces_innerkits_samgr_lite

+

N/A

+

Read-only archiving

+

distributedschedule_interfaces_kits_samgr_lite

+

N/A

+

Read-only archiving

+

multimedia_frameworks_audio_lite

+

multimedia_audio_lite

+

The repository name has been changed.

+

multimedia_frameworks_camera_lite

+

multimedia_camera_lite

+

The repository name has been changed.

+

multimedia_frameworks_player_lite

+

multimedia_media_lite

+

The repository name has been changed.

+

multimedia_hals_camera_lite

+

N/A

+

Read-only archiving

+

multimedia_frameworks_recorder_lite

+

N/A

+

Read-only archiving

+

multimedia_interfaces_kits_audio_lite

+

N/A

+

Read-only archiving

+

multimedia_interfaces_kits_camera_lite

+

N/A

+

Read-only archiving

+

multimedia_interfaces_kits_player_lite

+

N/A

+

Read-only archiving

+

multimedia_interfaces_kits_recorder_lite

+

N/A

+

Read-only archiving

+

multimedia_services_media_lite

+

N/A

+

Read-only archiving

+

kernel_liteos_a_huawei_proprietary_fs_proc

+

N/A

+

Read-only archiving

+

N/A

+

third_party_mksh

+

New module

+

N/A

+

third_party_optimized_routines

+

New module

+

N/A

+

third_party_toybox

+

New module

+

vendor_huawei_camera

+

N/A

+

Read-only archiving

+

vendor_huawei_wifi_iot

+

N/A

+

Read-only archiving

+

startup_services_bootstrap_lite

+

startup_bootstrap_lite

+

The repository name has been changed.

+

startup_frameworks_syspara_lite

+

startup_syspara_lite

+

The repository name has been changed.

+

startup_hals_syspara_lite

+

N/A

+

Read-only archiving

+

startup_interfaces_kits_syspara_lite

+

N/A

+

Read-only archiving

+

graphic_lite

+

graphic_surface

+

The repository name has been changed.

+

N/A

+

graphic_ui

+

New module

+

N/A

+

graphic_utils

+

New module

+

N/A

+

graphic_wms

+

New module

+

N/A

+

third_party_giflib

+

New module

+

N/A

+

third_party_qrcodegen

+

New module

+

N/A

+

drivers_adapter_khdf_linux

+

New module

+

drivers_hdf_lite

+

drivers_adapter_khdf_liteos

+

The repository name has been changed.

+

N/A

+

drivers_adapter_uhdf

+

New module

+

drivers_hdf_frameworks

+

drivers_framework

+

The repository name has been changed.

+

N/A

+

drivers_peripheral_audio

+

New module

+

N/A

+

drivers_peripheral_codec

+

New module

+

N/A

+

drivers_peripheral_display

+

New module

+

N/A

+

drivers_peripheral_format

+

New module

+

N/A

+

drivers_peripheral_input

+

New module

+

N/A

+

drivers_peripheral_sensor

+

New module

+

N/A

+

drivers_peripheral_wlan

+

New module

+

N/A

+

global_cust_lite

+

New module

+

N/A

+

global_i18n_lite

+

New module

+

global_frameworks_resmgr_lite

+

global_resmgr_lite

+

The repository name has been changed.

+
  

third_party_icu

+

New module

+

global_interfaces_innerkits_resmgr_lite

+

N/A

+

Read-only archiving

+

communication_frameworks_ipc_lite

+

communication_ipc_lite

+

The repository name has been changed.

+

communication_interfaces_kits_ipc_lite

+

N/A

+

Read-only archiving

+

communication_interfaces_kits_softbuskit_lite

+

N/A

+

Read-only archiving

+

communication_hals_wifi_lite

+

N/A

+

Read-only archiving

+

communication_services_softbus_lite

+

communication_softbus_lite

+

The repository name has been changed.

+

N/A

+

communication_wifi_aware

+

New module

+

N/A

+

update_ota_lite

+

New module

+

vendor_hisi_hi35xx_hi35xx_init

+

device_hisilicon_build

+

The repository name has been changed.

+

vendor_hisi_hi35xx_platform

+

device_hisilicon_drivers

+

The repository name has been changed.

+

vendor_hisi_hi35xx_hardware

+

device_hisilicon_hardware

+

The repository name has been changed.

+

vendor_hisi_hi35xx_hi3518ev300

+

device_hisilicon_hispark_aries

+

The repository name has been changed.

+

vendor_hisi_hi3861_hi3861

+

device_hisilicon_hispark_pegasus

+

The repository name has been changed.

+

vendor_hisi_hi35xx_hi3516dv300

+

device_hisilicon_hispark_taurus

+

The repository name has been changed.

+

vendor_hisi_hi35xx_middleware

+

device_hisilicon_modules

+

The repository name has been changed.

+

vendor_hisi_hi35xx_middleware_source_third_party_ffmpeg

+

device_hisilicon_third_party_ffmpeg

+

The repository name has been changed.

+

vendor_hisi_hi35xx_thirdparty_uboot_src

+

device_hisilicon_third_party_uboot

+

The repository name has been changed.

+

N/A

+

vendor_hisilicon

+

New module

+

vendor_hisi_hi35xx_hi3516dv300_uboot

+

N/A

+

Read-only archiving

+

vendor_hisi_hi35xx_hi3518ev300_uboot

+

N/A

+

Read-only archiving

+

aafwk_interfaces_innerkits_abilitykit_lite

+

N/A

+

Read-only archiving

+

aafwk_interfaces_innerkits_intent_lite

+

aafwk_aafwk_lite

+

The repository name has been changed.

+

aafwk_interfaces_innerkits_abilitymgr_lite

+

N/A

+

Read-only archiving

+

appexecfwk_kits_appkit_lite

+

appexecfwk_appexecfwk_lite

+

The repository name has been changed.

+

aafwk_frameworks_kits_ability_lite

+

N/A

+

Read-only archiving

+
  

developtools_packing_tool

+

New module

+

aafwk_interfaces_kits_ability_lite

+

N/A

+

Read-only archiving

+

appexecfwk_frameworks_bundle_lite

+

N/A

+

Read-only archiving

+

aafwk_services_abilitymgr_lite

+

N/A

+

Read-only archiving

+

appexecfwk_interfaces_innerkits_appexecfwk_lite

+

N/A

+

Read-only archiving

+

appexecfwk_interfaces_innerkits_bundlemgr_lite

+

N/A

+

Read-only archiving

+

appexecfwk_services_bundlemgr_lite

+

N/A

+

Read-only archiving

+

aafwk_frameworks_kits_content_lite

+

N/A

+

Read-only archiving

+
+ +## Resolved Issues + +The following table lists the issues known in OpenHarmony 1.0, which have been resolved in this version. + +**Table 4** Resolved issues + + + + + + + + + + + + + + + + + + + +

Issue

+

Description

+

I3EALU

+

[Multimedia] During execution of the cameraActs case, the camera configuration file cannot be found, and the initialization fails.

+

I3D71U

+

[Driver] When the system is reset repeatedly before it is started successfully by hmac_main_init, there is a high possibility that it would be suspended after the startup.

+

I3EGUX

+

[Reliability] When the system is reset repeatedly, and the KIdle process crashes once, the system is suspended and cannot be started.

+

I3DHIL

+

[System] The remaining space of the Hi3518 development board is insufficient, causing a failure in executing a large number of ACTS test cases.

+
+ -- GitLab