-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from Radxa-Alvin/main
feat: add nio12l format ufs docs and update docs
- Loading branch information
Showing
6 changed files
with
501 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# 格式化UFS | ||
|
||
UFS 格式化工具只能在linux环境下运行,你需要使用 Linux 系统的主机。 | ||
|
||
格式化 UFS 步骤: | ||
|
||
- 在您的主机设备上安装 modemanger API 工具。 | ||
|
||
``` | ||
sudo apt install modemmanger | ||
``` | ||
|
||
- 单击此处下载 [SP Flash Tool](https://dl.radxa.com/nio12l/tools/sp_flash_tool.tar.gz) | ||
|
||
- 解压下载的文件 | ||
|
||
``` | ||
tar zxvf sp_flash_tool.tar.gz | ||
``` | ||
|
||
- 运行以下脚本文件 | ||
|
||
``` | ||
cd /sp_flash_tool | ||
sudo ./format_ufs.sh | ||
``` | ||
|
||
- 按住 download key ,使用 TYPE C 数据线连接 TYPE-C OTG 口和你的 PC,进入烧录模式后会进行格式化 | ||
|
||
- 完成后您将看到以下输出: | ||
|
||
``` | ||
... | ||
Formatting Flash(2)... addr(0x0), len(0x0) | ||
0% of flash has been formatted. | ||
Formatting Flash(2)... addr(0x0), len(0x0) | ||
10% of flash has been formatted. | ||
20% of flash has been formatted. | ||
30% of flash has been formatted. | ||
40% of flash has been formatted. | ||
50% of flash has been formatted. | ||
60% of flash has been formatted. | ||
70% of flash has been formatted. | ||
80% of flash has been formatted. | ||
90% of flash has been formatted. | ||
100% of flash has been formatted. | ||
Format Succeeded. | ||
All command exec done! | ||
Disconnect! | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
i18n/en/docusaurus-plugin-content-docs/current/nio/nio12l/format-ufs.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# Format UFS | ||
|
||
The UFS formatting tool can only be run in a Linux environment. You need to use a Linux PC. | ||
|
||
The steps to follow when formatting the UFS | ||
|
||
- Install the modemanger API tool on your host device. | ||
|
||
``` | ||
sudo apt install modemmanger | ||
``` | ||
|
||
- Download the latest version of SP Flash Tool by [clicking here] (https://dl.radxa.com/nio12l/tools/sp_flash_tool.tar.gz) | ||
|
||
- Unzip the downloaded file. | ||
|
||
``` | ||
tar zxvf sp_flash_tool.tar.gz | ||
``` | ||
|
||
- Run the following script file. | ||
|
||
``` | ||
cd /sp_flash_tool | ||
sudo ./format_ufs.sh | ||
``` | ||
|
||
- Press and hold the download key and use the TYPE C data cable to connect the TYPE-C OTG port and your PC. After entering the burning mode, it will be formatted. | ||
|
||
- When it’s get done you will see the following output: | ||
|
||
``` | ||
... | ||
Formatting Flash(2)... addr(0x0), len(0x0) | ||
0% of flash has been formatted. | ||
Formatting Flash(2)... addr(0x0), len(0x0) | ||
10% of flash has been formatted. | ||
20% of flash has been formatted. | ||
30% of flash has been formatted. | ||
40% of flash has been formatted. | ||
50% of flash has been formatted. | ||
60% of flash has been formatted. | ||
70% of flash has been formatted. | ||
80% of flash has been formatted. | ||
90% of flash has been formatted. | ||
100% of flash has been formatted. | ||
Format Succeeded. | ||
All command exec done! | ||
Disconnect! | ||
``` |
Oops, something went wrong.