Skip to content

Commit

Permalink
Merge pull request #19 from SilenWang/main
Browse files Browse the repository at this point in the history
Update os-release pages for zh-Hans
  • Loading branch information
Lorde627 authored Dec 12, 2024
2 parents 7c062f0 + f2cda1a commit acd40d6
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 34 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: arch-compile
title: 从源码编译图像
title: 从源码编译镜像
---

## 📦 前提条件
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
id: debian-intro
title: 介绍
---

> Fydetab Duo 官方 Debian 12,由 FydeOS 团队开发


![Debian preview](/img/Debian_for_Fydetab.jpeg)

适用于Fydetab Duo的Debian 12(Bookworm)官方版本现已发布,开箱即用。该版本默认采用Gnome桌面环境,提供简洁高效的用户体验。

## 🔄 状态

- **可用:**
- 🖼️ Wayland 协议
- 🎛️ 使用Panfork进行GPU渲染
- 🖥️ 触控屏
- 📺 USB-C DP 输出
- ⌨️ 键盘与触控版
- 📷 摄像头
- 🔊 音频 & 麦克风
- 📶 无线网络 & 蓝牙

- **不可用:**
- ✍️ 手写笔
- 🆔 指纹
- 💤 睡眠功能

## 📥 下载

- [GitHub Release](https://github.com/Linux-for-Fydetab-Duo/images/releases)
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
---
id: deb-install
title: 安装
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

### 从 SD 卡启动

1. 下载镜像文件。
2. 使用 Balena Etcher 或 Rufus 将镜像烧录到 SD 卡。
3. 将 SD 卡插入 Fydetab Duo。

:::note
确保 SD 卡槽稍微打开,以便从 UEFI 固件启动。
:::

### 安装到 eMMC


<Tabs>
<TabItem value="linux" label="🐧 Linux (Debian/Ubuntu)">

- **安装 `rkdeveloptool`**

```bash
sudo apt-get update
sudo apt-get install -y libudev-dev libusb-1.0-0-dev dh-autoreconf pkg-config libusb-1.0 build-essential git wget
git clone https://github.com/rockchip-linux/rkdeveloptool
cd rkdeveloptool
wget https://patch-diff.githubusercontent.com/raw/rockchip-linux/rkdeveloptool/pull/73.patch
wget https://patch-diff.githubusercontent.com/raw/rockchip-linux/rkdeveloptool/pull/85.patch
git am *.patch
autoreconf -i
./configure
make -j$(nproc)
sudo cp rkdeveloptool /usr/local/sbin/
```
- **⚡ 烧录镜像**


1. 检查设备是否被识别

```
sudo rkdeveloptool ld
```
2. 下载 [SPI Loader](/rk3588_spl_loader_v1.09.111.bin) 并运行
```
sudo rkdeveloptool db ~/Downloads/rk3588_spl_loader_v1.09.111.bin
```
3. 解压镜像文件
```
unxz xx-xx.img.xz
```
4. 烧录镜像
```
sudo rkdeveloptool wl 0 ~/Downloads/xx-xx.img
```
5. 重启设备
```
sudo rkdeveloptool rd
```
</TabItem>
<TabItem value="macos" label="🍏 macOS">
- **安装 `rkdeveloptool`**
```bash
brew install automake autoconf libusb pkg-config git wget
git clone https://github.com/rockchip-linux/rkdeveloptool
cd rkdeveloptool
wget https://patch-diff.githubusercontent.com/raw/rockchip-linux/rkdeveloptool/pull/73.patch
wget https://patch-diff.githubusercontent.com/raw/rockchip-linux/rkdeveloptool/pull/85.patch
git am *.patch
autoreconf -i
./configure
make -j$(nproc)
cp rkdeveloptool /opt/homebrew/bin/
```
- **⚡ 烧录镜像**

1. 检查设备是否被识别

```
sudo rkdeveloptool ld
```
2. 下载 [SPI Loader](/rk3588_spl_loader_v1.09.111.bin) 并运行
```
sudo rkdeveloptool db ~/Downloads/rk3588_spl_loader_v1.09.111.bin
```
3. 解压镜像文件
```
unxz xx-xx.img.xz
```
4. 烧录镜像
```
sudo rkdeveloptool wl 0 ~/Downloads/xx-xx.img
```
5. 重启设备
```
sudo rkdeveloptool rd
```
</TabItem>
<TabItem value="windows" label="🖥️ Windows">
1. 安装 [Rockchip 驱动](https://dl.khadas.com/products/edge2/tool/driver-assitant_v5.13.zip).
![Driver Install](/img/drvinstall.png)
2. 下载 [RKDevTool v3.28](https://dl.khadas.com/products/edge2/tool/rkdevtool_release_v3.28.zip).
3. 打开 RKDevTool.
![RKDevTool](/img/rkdevtool.png)
4. 下载 [SPI Loader](/rk3588_spl_loader_v1.09.111.bin).
5. 选择加载器和镜像文件。
![Select Image](https://github.com/LinuxDroidMaster/Fydetab-Duo-DroidMaster-wiki/raw/main/Images/Linux/BredOS/flashing_tool_config.png)
6. 点击 **运行**.
</TabItem>
</Tabs>
## 🔑默认账户与密码
- 账户 `debian` : 密码 `debian`
## ⚙️ 返回 FydeOS 或标准镜像
:::caution
请确保已备份所有数据。
:::
Debian镜像使用UEFI启动,而不是原来的 U-Boot。这意味着无法再通过按住音量增加键和电源键进入MASKROM模式。相反,请在终端执行以下命令(**这将完全清除你的数据**):
```bash
sudo dd if=/dev/urandom of=/dev/mmcblk0 bs=10M count=2
```

现在平板应该处于 `MASKROM` 模式,你可以烧录标准镜像。如果需要,请参阅 Fydetab Wiki 中的[救砖](https://wiki.fydetabduo.com/unbrick_the_fydetab_duo)部分.

0 comments on commit acd40d6

Please sign in to comment.