Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion docs/01_Quick_start/02_install_os/rdk_s100/04_backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ description: 介绍使用 XBurn 备份 RDK S100 系统镜像并恢复的步骤

# 备份和恢复镜像

```mdx-code-block
import DocScope from '@site/src/components/DocScope';
```

本页介绍如何把 RDK S100 当前系统备份成镜像,并恢复到源板或复制到新板。

## 概述
Expand Down Expand Up @@ -95,6 +99,22 @@ description: 介绍使用 XBurn 备份 RDK S100 系统镜像并恢复的步骤

## 备份指定区域

<DocScope versions=">= 4.1.0">

备份指定区域的镜像到 PC。`miniboot_flash` 位于 NOR Flash,与所选介质无关,eMMC/NVMe 均可备份;其余区域按「实际存储介质」列与所选介质对应。支持的备份区域如下:

| 区域 | 实际存储介质 | 固件内容 | 备份镜像 |
| --- | --- | -------- | ------------ |
| miniboot_flash | NOR Flash | NOR Flash 基础启动镜像 | img_packages/disk/miniboot_flash_backup.img |
| miniboot_emmc | eMMC | eMMC 基础启动镜像 | img_packages/disk/miniboot_emmc_backup.img |
| emmc | eMMC | eMMC 完整镜像 | img_packages/disk/emmc_disk_backup.img |
| miniboot_nvme | NVMe | NVMe 基础启动镜像 | img_packages/disk/miniboot_nvme_backup.img |
| nvme | NVMe | NVMe 完整镜像 | img_packages/disk/nvme_disk_backup.img |

</DocScope>

<DocScope versions="4.0.5">

备份指定区域的镜像到 PC。支持的备份区域如下:

| 区域 | 实际存储介质 | 固件内容 | 备份镜像 |
Expand All @@ -103,6 +123,8 @@ description: 介绍使用 XBurn 备份 RDK S100 系统镜像并恢复的步骤
| miniboot_emmc | eMMC | eMMC 基础启动镜像 | img_packages/disk/miniboot_emmc_backup.img |
| emmc | eMMC | eMMC 完整镜像 | img_packages/disk/emmc_disk_backup.img |

</DocScope>

1. 在 [烧录全镜像](./03_burn.md#烧录全镜像) 步骤基础上,展开 **高级配置**,勾选 **备份指定区域**,勾选目标区域(如 `miniboot_flash` 和 `miniboot_emmc`)。

<img src="https://rdk-doc.oss-cn-beijing.aliyuncs.com/doc/img/xburn/s100-back-region.png" alt="备份指定区域界面" style={{ width: '100%' }} />
Expand All @@ -121,8 +143,10 @@ description: 介绍使用 XBurn 备份 RDK S100 系统镜像并恢复的步骤
| miniboot_emmc | `miniboot_emmc_backup.img` | `miniboot_emmc.img` |
| emmc | `emmc_disk_backup.img` | **`emmc_disk.simg`** |

<DocScope versions=">= 4.1.0">NVMe 系统另需处理 `miniboot_nvme_backup.img` → `miniboot_nvme.img`、`nvme_disk_backup.img` → `nvme_disk.simg`。</DocScope>

:::note
`emmc` 区域的扩展名须由 `.img` 改为 `.simg`。
`emmc`<DocScope versions=">= 4.1.0"> / `nvme`</DocScope> 整盘区域的扩展名须由 `.img` 改为 `.simg`。
:::

4. 按 [烧录指定区域](./03_burn.md#烧录指定区域) 烧录,勾选与备份时相同的区域。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ description: Describes how to back up the RDK S100 system image with XBurn and r

# Back up and restore the image

```mdx-code-block
import DocScope from '@site/src/components/DocScope';
```

This page describes how to back up the current RDK S100 system to an image, and restore it to the source board or copy it to a new board.

## Overview
Expand Down Expand Up @@ -95,6 +99,22 @@ Back up the complete system image for restoring to the source board or copying t

## Back up specific regions

<DocScope versions=">= 4.1.0">

Back up the image of specific regions to your PC. `miniboot_flash` is on NOR Flash and is independent of the selected medium; both eMMC and NVMe can back it up. Other regions correspond to the selected medium per the "Actual storage medium" column. The supported backup regions are:

| Region | Actual storage medium | Firmware content | Backup image |
| --- | --- | -------- | ------------ |
| miniboot_flash | NOR Flash | Basic boot image on NOR Flash | img_packages/disk/miniboot_flash_backup.img |
| miniboot_emmc | eMMC | Basic boot image on eMMC | img_packages/disk/miniboot_emmc_backup.img |
| emmc | eMMC | Complete eMMC image | img_packages/disk/emmc_disk_backup.img |
| miniboot_nvme | NVMe | Basic boot image on NVMe | img_packages/disk/miniboot_nvme_backup.img |
| nvme | NVMe | Complete NVMe image | img_packages/disk/nvme_disk_backup.img |

</DocScope>

<DocScope versions="4.0.5">

Back up the image of specific regions to your PC. The supported backup regions are:

| Region | Actual storage medium | Firmware content | Backup image |
Expand All @@ -103,6 +123,8 @@ Back up the image of specific regions to your PC. The supported backup regions a
| miniboot_emmc | eMMC | Basic boot image on eMMC | img_packages/disk/miniboot_emmc_backup.img |
| emmc | eMMC | Complete eMMC image | img_packages/disk/emmc_disk_backup.img |

</DocScope>

1. Starting from the steps in [Flash the full image](./03_burn.md#flash-the-full-image), expand **Advanced configuration**, select **Back up specific regions**, and select the target regions (such as `miniboot_flash` and `miniboot_emmc`).

<img src="https://rdk-doc.oss-cn-beijing.aliyuncs.com/doc/img/xburn/en-s100-back-region.png" alt="Back up specific regions" style={{ width: '100%' }} />
Expand All @@ -121,8 +143,10 @@ Back up the image of specific regions to your PC. The supported backup regions a
| miniboot_emmc | `miniboot_emmc_backup.img` | `miniboot_emmc.img` |
| emmc | `emmc_disk_backup.img` | **`emmc_disk.simg`** |

<DocScope versions=">= 4.1.0">NVMe systems also need `miniboot_nvme_backup.img` → `miniboot_nvme.img` and `nvme_disk_backup.img` → `nvme_disk.simg`.</DocScope>

:::note
The `emmc` region requires changing the extension from `.img` to `.simg`.
The `emmc`<DocScope versions=">= 4.1.0"> and `nvme`</DocScope> full-disk regions require changing the extension from `.img` to `.simg`.
:::

4. Flash via [Flash specific regions](./03_burn.md#flashing-specific-regions), selecting the same regions as you backed up.
Expand Down