• Home
Name Date Size #Lines LOC

..--

figures/07-Sep-2024-

services/07-Sep-2024-451345

LICENSED07-Sep-202410.1 KiB177150

OAT.xmlD07-Sep-20241.2 KiB3111

README.mdD07-Sep-20241.6 KiB4124

README_zh.mdD07-Sep-20241.1 KiB3119

bundle.jsonD07-Sep-20241 KiB3837

README.md

1# bootstrap\_lite<a name="EN-US_TOPIC_0000001082300996"></a>
2
3-   [Introduction](#section469617221261)
4-   [Directory Structure](#section1464106163817)
5-   [Constraints](#section12212842173518)
6-   [Usage](#section1483211215513)
7-   [Repositories Involved](#section641143415335)
8
9## Introduction<a name="section469617221261"></a>
10
11The bootstrap\_lite module provides entry identifiers for starting services and features. When Samgr starts, it will call the entry function identified by bootstrap and start system services.
12
13## Directory Structure<a name="section1464106163817"></a>
14
15```
16base/startup/bootstrap_lite/    # bootstrap_lite module
17└── services
18    └── source               # Source files for the bootstrap_lite module
19```
20
21## Constraints<a name="section12212842173518"></a>
22
23Currently, the bootstrap\_lite module applies only to mini-system devices \(reference memory ≥ 128 KB\), for example, Hi3861 V100.
24
25## Usage<a name="section1483211215513"></a>
26
27When Samgr starts, the bootstrap\_lite module is automatically invoked to start system services, without the need to be configured.
28
29## Repositories Involved<a name="section641143415335"></a>
30
31[Startup subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/startup.md)
32
33[startup\_syspara\_lite](https://gitee.com/openharmony/startup_syspara_lite/blob/master/README.md)
34
35[startup\_appspawn\_lite](https://gitee.com/openharmony/startup_appspawn_lite/blob/master/README.md)
36
37**[startup\_bootstrap\_lite](https://gitee.com/openharmony/startup_bootstrap_lite/blob/master/README.md)**
38
39[startup\_init\_lite](https://gitee.com/openharmony/startup_init_lite/blob/master/README.md)
40
41

README_zh.md

1# bootstrap启动引导部件<a name="ZH-CN_TOPIC_0000001082300996"></a>
2## 简介<a name="section469617221261"></a>
3
4bootstrap启动引导组件,提供了各服务和功能的启动入口标识。在SAMGR启动时,会调用bootstrap标识的入口函数,并启动系统服务。
5
6**图 1**  bootstrap启动引导组件框架图
7
8![](figures/bootstrap_lite系统架构.png)
9
10## 目录<a name="section1464106163817"></a>
11
12```
13base/startup/bootstrap_lite/    # 启动引导组件
14└── services
15    └── source                  # 启动引导组件源文件目录
16```
17
18## 约束<a name="section12212842173518"></a>
19
20目前支持轻量系统设备(参考内存≥128KB),如Hi3861V100。
21
22## 使用说明<a name="section1483211215513"></a>
23
24bootstrap组件无需单独配置,在SAMGR启动时会自动调用,用于启动系统服务。
25
26## 相关仓<a name="section641143415335"></a>
27**[startup\_bootstrap\_lite](https://gitee.com/openharmony/startup_bootstrap_lite)**
28
29[startup\_init\_lite](https://gitee.com/openharmony/startup_init_lite)
30
31[startup\_appspawn](https://gitee.com/openharmony/startup_appspawn)