Skip to content

Commit 6ec31cd

Browse files
authored
Merge pull request #861 from EESN-W/rock5t
fix: modify rock5t emmc boot system
2 parents 14eadfc + 64101fe commit 6ec31cd

File tree

2 files changed

+84
-37
lines changed
  • docs/rock5/rock5t/getting-started/install-os
  • i18n/en/docusaurus-plugin-content-docs/current/rock5/rock5t/getting-started/install-os

2 files changed

+84
-37
lines changed

docs/rock5/rock5t/getting-started/install-os/emmc_boot.md

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
sidebar_position: 3
33
---
44

5-
# 安装系统到 eMMC 模块
5+
# 安装系统到 eMMC
66

7-
若您的瑞莎 ROCK 5T 板载 eMMC 模块,您可以在 MicroSD 卡启动主板的情况下,使用 `dd` 命令将系统镜像写入 eMMC 模块
7+
若您的瑞莎 ROCK 5T 板载 eMMC,您可以在 MicroSD 卡启动主板的情况下,使用 `dd` 命令将系统镜像写入 eMMC。
88

99
:::tip 注意事项
10-
安装系统会格式化 eMMC 模块,如果有重要数据请提前备份!
10+
安装系统会格式化 eMMC,如果有重要数据请提前备份!
1111

1212
若您的系统目前还无法通过 MicroSD 卡启动,可以参考 [安装系统到 MicroSD 卡](./boot_from_sd_card.md) 教程。
1313
:::
@@ -20,7 +20,7 @@ sidebar_position: 3
2020
- 系统启动介质:MicroSD 卡
2121
- 电源适配器:标准 DC 12V/2A 电源适配器(DC-5525 接口)
2222

23-
我们需要基于 MicroSD 卡启动主板系统,进入主板系统后下载系统镜像文件,然后使用 `dd` 命令将系统镜像写入 eMMC 模块
23+
我们需要基于 MicroSD 卡启动主板系统,进入主板系统后下载系统镜像文件,然后使用 `dd` 命令将系统镜像写入 eMMC。
2424

2525
:::tip 推荐配件
2626
瑞莎 ROCK 5T 仅支持 12V 电源输入,建议电流 2A 及以上,以确保所有外设稳定运行。
@@ -41,11 +41,14 @@ sidebar_position: 3
4141

4242
您可以复制 [资源汇总下载](../../download) 页面的系统镜像文件链接,然后在主板上使用 `wget` 命令下载。
4343

44+
<NewCodeBlock tip="radxa@device$" type="device">
4445
```
4546
sudo apt install wget
4647
wget [url]
48+
# 示例
49+
wget https://github.com/radxa-build/rock-5t/releases/download/rsdk-b2/rock-5t_bookworm_kde_b2.output.img.xz
4750
```
48-
51+
</NewCodeBlock>
4952
参数解释:其中 `[url]` 需要替换成实际的系统镜像文件下载链接。
5053

5154
- PC 下载
@@ -56,15 +59,29 @@ wget [url]
5659

5760
## 安装系统
5861

59-
使用 `dd` 命令安装系统镜像到 eMMC 模块
62+
使用 `dd` 命令安装系统镜像到 eMMC。
6063

6164
:::tip 说明
6265
下载的系统镜像文件是压缩包,需要解压后才能使用。
6366
:::
6467

68+
### 解压系统镜像
69+
70+
使用 `unxz` 命令解压系统镜像文件。
71+
72+
<NewCodeBlock tip="radxa@device$" type="device">
73+
```
74+
sudo apt install xz-utils
75+
unxz [image_path]
76+
# 示例
77+
unxz ~/rock-5t_bookworm_kde_b2.output.img.xz
78+
```
79+
</NewCodeBlock>
80+
参数解释:其中 `[image_path]` 需要替换成实际的系统镜像文件路径。
81+
6582
### 写入系统镜像
6683

67-
将解压的系统镜像文件使用 `dd` 命令写入 eMMC 模块
84+
将解压的系统镜像文件使用 `dd` 命令写入 eMMC。
6885

6986
:::danger
7087
使用 `dd` 命令时,请确保选择正确的设备文件,否则会格式化错误的设备,造成数据丢失!
@@ -73,11 +90,16 @@ wget [url]
7390
<NewCodeBlock tip="radxa@device$" type="device">
7491
```
7592
sudo dd if=[image_path] of=/dev/mmcblk0 bs=4M status=progress
93+
94+
# 示例
95+
96+
sudo dd if=~/rock-5t_bookworm_kde_b2.output.img of=/dev/mmcblk0 bs=4M status=progress
97+
7698
```
7799
</NewCodeBlock>
78100
参数说明:
79101
- `if`:指定写入文件,将 `[image_path]` 替换为解压后的系统镜像文件路径
80-
- `of`:指定写入设备,将 `/dev/mmcblk0` 替换为 eMMC 模块对应的设备文件(请根据实际设备修改)
102+
- `of`:指定写入设备,将 `/dev/mmcblk0` 替换为 eMMC 对应的设备文件(请根据实际设备修改)
81103
- `bs`:块大小,建议 4M
82104
- `status=progress`:显示写入状态
83105

@@ -87,13 +109,16 @@ sudo dd if=[image_path] of=/dev/mmcblk0 bs=4M status=progress
87109

88110
<NewCodeBlock tip="radxa@device$" type="device">
89111
```
112+
90113
sudo fdisk -l /dev/mmcblk0
114+
91115
```
92116
</NewCodeBlock>
93117

94118
若系统成功写入,终端会输出类似以下的分区信息:
95119

96120
```
121+
97122
Disk /dev/mmcblk0: 119.15 GiB, 127934660608 bytes, 31234048 sectors
98123
Disk model: KLUDG4UHDC-B0E1
99124
Units: sectors of 1 \* 4096 = 4096 bytes
@@ -106,11 +131,12 @@ Device Start End Sectors Size Type
106131
/dev/mmcblk0p1 32768 65535 32768 128M Linux filesystem
107132
/dev/mmcblk0p2 65536 679935 614400 2.3G EFI System
108133
/dev/mmcblk0p3 679936 31234014 30554079 116.6G EFI System
134+
109135
```
110136

111137
## 启动系统
112138

113-
完成系统的安装后,将主板关机并断电,然后拔下 MicroSD 卡,重新插上电源适配器,系统会自动从 eMMC 模块启动
139+
完成系统的安装后,将主板关机并断电,然后拔下 MicroSD 卡,重新插上电源适配器,系统会自动从 eMMC 启动
114140

115141
## 系统信息
116142

@@ -121,3 +147,4 @@ Device Start End Sectors Size Type
121147
用户账号:radxa
122148

123149
用户密码:radxa
150+
```

i18n/en/docusaurus-plugin-content-docs/current/rock5/rock5t/getting-started/install-os/emmc_boot.md

Lines changed: 48 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
sidebar_position: 3
33
---
44

5-
# Install OS to eMMC Module
5+
# Install the system to eMMC
66

7-
If your Radxa ROCK 5T has an onboard eMMC module, you can use the `dd` command to write the system image to the eMMC module while booting from a MicroSD card.
7+
If your Radxa ROCK 5T has onboard eMMC, you can use the `dd` command to write the system image to eMMC while booting from a MicroSD card.
88

9-
:::tip Note
10-
Installing the system will format the eMMC module. Please back up any important data in advance!
9+
:::tip Important Notes
10+
Installing the system will format the eMMC. Please back up any important data in advance!
1111

1212
If your system cannot currently boot from a MicroSD card, you can refer to the [Install OS to MicroSD Card](./boot_from_sd_card.md) tutorial.
1313
:::
@@ -17,13 +17,13 @@ If your system cannot currently boot from a MicroSD card, you can refer to the [
1717
You will need the following hardware:
1818

1919
- Board: Radxa ROCK 5T
20-
- System boot media: MicroSD card
20+
- Boot medium: MicroSD card
2121
- Power adapter: Standard DC 12V/2A power adapter (DC-5525 interface)
2222

23-
We need to boot the board system from a MicroSD card, download the system image file after entering the board system, and then use the `dd` command to write the system image to the eMMC module.
23+
We will boot the system from the MicroSD card, download the system image file after entering the system, and then use the `dd` command to write the system image to eMMC.
2424

2525
:::tip Recommended Accessories
26-
Radxa ROCK 5T only supports 12V power input. A current of 2A or higher is recommended to ensure stable operation of all peripherals.
26+
Radxa ROCK 5T only supports 12V power input, and a current of 2A or higher is recommended to ensure stable operation of all peripherals.
2727

2828
- [Radxa DC12 36W Power Adapter](https://radxa.com/products/accessories/power-dc12-36w) (Recommended)
2929
- [Radxa DC12 60W Power Adapter](https://radxa.com/products/accessories/power-dc12-60w)
@@ -32,65 +32,85 @@ Radxa ROCK 5T only supports 12V power input. A current of 2A or higher is recomm
3232

3333
## Download System Image
3434

35-
You can download the system image file by visiting the [Resource Download Center](../../download) page on the board.
35+
You can download the system image file by visiting the [Resource Download Center](../../download) page on your board.
3636

37-
:::tip Download Suggestions
38-
We provide the following methods to download the system image file to the board. You can choose the appropriate method according to your actual situation:
37+
:::tip Download Recommendations
38+
We provide the following methods to download the system image file to your board. Please choose the appropriate method based on your situation:
3939

40-
- Download using `wget` command
40+
- Using `wget` command
4141

42-
You can copy the system image file link from the [Resource Download Center](../../download) page and use the `wget` command to download it on the board.
42+
You can copy the system image file link from the [Resource Download Center](../../download) page and use the `wget` command on your board to download it.
4343

44+
<NewCodeBlock tip="radxa@device$" type="device">
4445
```
4546
sudo apt install wget
4647
wget [url]
48+
# Example
49+
wget https://github.com/radxa-build/rock-5t/releases/download/rsdk-b2/rock-5t_bookworm_kde_b2.output.img.xz
4750
```
48-
49-
Parameter explanation: Replace `[url]` with the actual system image file download link.
51+
</NewCodeBlock>
52+
Parameter explanation: Replace `[url]` with the actual system image download link.
5053

5154
- PC Download
5255

53-
You can download the system image file on your PC by visiting the [Resource Download Center](../../download) page, and then transfer the system image file to the board via USB flash drive, FTP, SCP, etc.
56+
You can download the system image file from the [Resource Download Center](../../download) page on your PC, then transfer it to the board using a USB drive, FTP, SCP, or other methods.
57+
5458
:::
5559

5660
## Install System
5761

58-
Use the `dd` command to install the system image to the eMMC module.
62+
Use the `dd` command to install the system image to eMMC.
5963

6064
:::tip Note
61-
The downloaded system image file is a compressed package and needs to be extracted before use.
65+
The downloaded system image file is compressed and needs to be extracted before use.
6266
:::
6367

68+
### Extract System Image
69+
70+
Use the `unxz` command to extract the system image file.
71+
72+
<NewCodeBlock tip="radxa@device$" type="device">
73+
```
74+
sudo apt install xz-utils
75+
unxz [image_path]
76+
# Example
77+
unxz ~/rock-5t_bookworm_kde_b2.output.img.xz
78+
```
79+
</NewCodeBlock>
80+
Parameter explanation: Replace `[image_path]` with the actual path to the system image file.
81+
6482
### Write System Image
6583

66-
Use the `dd` command to write the extracted system image file to the eMMC module.
84+
Use the `dd` command to write the extracted system image to eMMC.
6785

6886
:::danger
69-
When using the `dd` command, make sure to select the correct device file, otherwise it may format the wrong device, resulting in data loss!
87+
When using the `dd` command, make sure to select the correct device file to avoid formatting the wrong device and causing data loss!
7088
:::
7189

7290
<NewCodeBlock tip="radxa@device$" type="device">
7391
```
7492
sudo dd if=[image_path] of=/dev/mmcblk0 bs=4M status=progress
93+
# Example
94+
sudo dd if=~/rock-5t_bookworm_kde_b2.output.img of=/dev/mmcblk0 bs=4M status=progress
7595
```
7696
</NewCodeBlock>
7797
Parameter explanation:
78-
- `if`: Specify the input file, replace `[image_path]` with the path to the extracted system image file
79-
- `of`: Specify the output device, replace `/dev/mmcblk0` with the device file corresponding to the eMMC module (please modify according to the actual device)
80-
- `bs`: Block size, recommended 4M
81-
- `status=progress`: Show write progress
98+
- `if`: Specify the input file. Replace `[image_path]` with the path to the extracted system image file.
99+
- `of`: Specify the output device. Replace `/dev/mmcblk0` with the device file corresponding to your eMMC (please modify according to your actual device).
100+
- `bs`: Block size, recommended 4M.
101+
- `status=progress`: Show write progress.
82102

83103
### Verify System Image
84104

85-
After writing the system image, you can use the `fdisk` command to view the partition information of the target boot medium to confirm whether the system image was written successfully.
105+
After writing the system image, you can use the `fdisk` command to view the partition information of the boot medium to confirm if the system image was written successfully.
86106

87107
<NewCodeBlock tip="radxa@device$" type="device">
88108
```
89109
sudo fdisk -l /dev/mmcblk0
90110
```
91111
</NewCodeBlock>
92112

93-
If the system is successfully written, the terminal will output partition information similar to the following:
113+
If the system was written successfully, the terminal will output partition information similar to the following:
94114

95115
```
96116
Disk /dev/mmcblk0: 119.15 GiB, 127934660608 bytes, 31234048 sectors
@@ -107,13 +127,13 @@ Device Start End Sectors Size Type
107127
/dev/mmcblk0p3 679936 31234014 30554079 116.6G EFI System
108128
```
109129

110-
## Boot System
130+
## Boot the System
111131

112-
After completing the system installation, power off the board, unplug the MicroSD card, and then reconnect the power adapter. The system will automatically boot from the eMMC module.
132+
After completing the system installation, power off the board, remove the MicroSD card, and then reconnect the power adapter. The system will automatically boot from eMMC.
113133

114134
## System Information
115135

116-
When using our provided system image, you need to log in to the system using the username and password we set for the first time.
136+
When using our provided system image, you will need to log in with the following default credentials:
117137

118138
- Debian Linux
119139

0 commit comments

Comments
 (0)