删除所有的 U+200E 不可见字符
This commit is contained in:
parent
094986ac76
commit
44197e871f
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
## 1. 简介
|
## 1. 简介
|
||||||
|
|
||||||
QEMU 是一个通用的开源模拟器和虚拟化工具。目前QEMU已经可以较完整的支持ARM cortex-m0架构。XiUOS同样支持运行在QEMU上
|
QEMU 是一个通用的开源模拟器和虚拟化工具。目前QEMU已经可以较完整的支持ARM cortex-m0架构。XiUOS同样支持运行在QEMU上
|
||||||
|
|
||||||
| 硬件 | 描述 |
|
| 硬件 | 描述 |
|
||||||
| -- | -- |
|
| -- | -- |
|
||||||
|
@ -157,7 +157,7 @@ make BOARD=cortex-m0-emulator
|
||||||
|
|
||||||
## 3. 运行
|
## 3. 运行
|
||||||
|
|
||||||
### 3.1 安装QEMU
|
### 3.1 安装QEMU
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install qemu-system-arm
|
sudo apt install qemu-system-arm
|
||||||
|
@ -165,7 +165,7 @@ sudo apt install qemu-system-arm
|
||||||
|
|
||||||
### 3.2 运行结果
|
### 3.2 运行结果
|
||||||
|
|
||||||
通过以下命令启动QEMU并加载XiUOS ELF文件
|
通过以下命令启动QEMU并加载XiUOS ELF文件
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-arm -machine microbit -nographic -kernel build/XiZi-cortex-m0-emulator.elf
|
qemu-system-arm -machine microbit -nographic -kernel build/XiZi-cortex-m0-emulator.elf
|
||||||
|
@ -177,12 +177,12 @@ QEMU运行起来后将会在终端上看到信息打印输出
|
||||||
|
|
||||||
### 3.3 调试
|
### 3.3 调试
|
||||||
|
|
||||||
通过QEMU可以方便的对XiUOS进行调试,首先安装gdb调试工具
|
通过QEMU可以方便的对XiUOS进行调试,首先安装gdb调试工具
|
||||||
```
|
```
|
||||||
sudo apt install gdb-multiarch
|
sudo apt install gdb-multiarch
|
||||||
```
|
```
|
||||||
|
|
||||||
并通过以下命令启动QEMU
|
并通过以下命令启动QEMU
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-arm -machine microbit -nographic -kernel build/XiZi-cortex-m0-emulator.elf -s -S
|
qemu-system-arm -machine microbit -nographic -kernel build/XiZi-cortex-m0-emulator.elf -s -S
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
## 1. 简介
|
## 1. 简介
|
||||||
|
|
||||||
QEMU 是一个通用的开源模拟器和虚拟化工具。目前QEMU已经可以较完整的支持ARM cortex-m3架构。XiUOS同样支持运行在QEMU上
|
QEMU 是一个通用的开源模拟器和虚拟化工具。目前QEMU已经可以较完整的支持ARM cortex-m3架构。XiUOS同样支持运行在QEMU上
|
||||||
|
|
||||||
| 硬件 | 描述 |
|
| 硬件 | 描述 |
|
||||||
| -- | -- |
|
| -- | -- |
|
||||||
|
@ -157,7 +157,7 @@ make BOARD=cortex-m3-emulator
|
||||||
|
|
||||||
## 3. 运行
|
## 3. 运行
|
||||||
|
|
||||||
### 3.1 安装QEMU
|
### 3.1 安装QEMU
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install qemu-system-arm
|
sudo apt install qemu-system-arm
|
||||||
|
@ -165,7 +165,7 @@ sudo apt install qemu-system-arm
|
||||||
|
|
||||||
### 3.2 运行结果
|
### 3.2 运行结果
|
||||||
|
|
||||||
通过以下命令启动QEMU并加载XiUOS ELF文件
|
通过以下命令启动QEMU并加载XiUOS ELF文件
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-arm -machine lm3s6965evb -nographic -kernel build/XiZi-cortex-m3-emulator.elf
|
qemu-system-arm -machine lm3s6965evb -nographic -kernel build/XiZi-cortex-m3-emulator.elf
|
||||||
|
@ -177,12 +177,12 @@ QEMU运行起来后将会在终端上看到信息打印输出
|
||||||
|
|
||||||
### 3.3 调试
|
### 3.3 调试
|
||||||
|
|
||||||
通过QEMU可以方便的对XiUOS进行调试,首先安装gdb调试工具
|
通过QEMU可以方便的对XiUOS进行调试,首先安装gdb调试工具
|
||||||
```
|
```
|
||||||
sudo apt install gdb-multiarch
|
sudo apt install gdb-multiarch
|
||||||
```
|
```
|
||||||
|
|
||||||
并通过以下命令启动QEMU
|
并通过以下命令启动QEMU
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-arm -machine lm3s6965evb -nographic -kernel build/XiZi-cortex-m3-emulator.elf -s -S
|
qemu-system-arm -machine lm3s6965evb -nographic -kernel build/XiZi-cortex-m3-emulator.elf -s -S
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
## 1. 简介
|
## 1. 简介
|
||||||
|
|
||||||
QEMU 是一个通用的开源模拟器和虚拟化工具。目前QEMU已经可以较完整的支持ARM cortex-m4架构。XiUOS同样支持运行在QEMU上
|
QEMU 是一个通用的开源模拟器和虚拟化工具。目前QEMU已经可以较完整的支持ARM cortex-m4架构。XiUOS同样支持运行在QEMU上
|
||||||
|
|
||||||
| 硬件 | 描述 |
|
| 硬件 | 描述 |
|
||||||
| -------- | ------------- |
|
| -------- | ------------- |
|
||||||
|
@ -167,7 +167,7 @@ make BOARD=cortex-m4-emulator
|
||||||
|
|
||||||
## 4. 运行
|
## 4. 运行
|
||||||
|
|
||||||
### 4.1 安装QEMU
|
### 4.1 安装QEMU
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install qemu-system-arm
|
sudo apt install qemu-system-arm
|
||||||
|
@ -175,7 +175,7 @@ sudo apt install qemu-system-arm
|
||||||
|
|
||||||
### 4.2 运行结果
|
### 4.2 运行结果
|
||||||
|
|
||||||
通过以下命令启动QEMU并加载XiUOS ELF文件
|
通过以下命令启动QEMU并加载XiUOS ELF文件
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-arm -machine netduinoplus2 -nographic -kernel build/XiZi-cortex-m4-emulator.elf
|
qemu-system-arm -machine netduinoplus2 -nographic -kernel build/XiZi-cortex-m4-emulator.elf
|
||||||
|
@ -189,13 +189,13 @@ QEMU运行起来后将会在终端上看到信息打印输出
|
||||||
|
|
||||||
### 4.3 调试
|
### 4.3 调试
|
||||||
|
|
||||||
通过QEMU可以方便的对XiUOS进行调试,首先安装gdb调试工具
|
通过QEMU可以方便的对XiUOS进行调试,首先安装gdb调试工具
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install gdb-multiarch
|
sudo apt install gdb-multiarch
|
||||||
```
|
```
|
||||||
|
|
||||||
并通过以下命令启动QEMU
|
并通过以下命令启动QEMU
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-arm -machine netduinoplus2 -nographic -kernel build/XiZi-cortex-m4-emulator.elf -s -S
|
qemu-system-arm -machine netduinoplus2 -nographic -kernel build/XiZi-cortex-m4-emulator.elf -s -S
|
||||||
|
|
|
@ -176,7 +176,7 @@ make BOARD=cortex-m4-emulator
|
||||||
|
|
||||||
### 2.3 QEMU环境
|
### 2.3 QEMU环境
|
||||||
|
|
||||||
QEMU 是一个通用的开源模拟器和虚拟化工具。目前QEMU已经可以较完整的支持ARM cortex-m4架构。XiUOS同样支持运行在QEMU上
|
QEMU 是一个通用的开源模拟器和虚拟化工具。目前QEMU已经可以较完整的支持ARM cortex-m4架构。XiUOS同样支持运行在QEMU上
|
||||||
|
|
||||||
| 硬件 | 描述 |
|
| 硬件 | 描述 |
|
||||||
| -------- | ------------- |
|
| -------- | ------------- |
|
||||||
|
@ -192,7 +192,7 @@ QEMU 是一个通用的开源模拟器和虚拟化工具。目前QEMU已
|
||||||
|
|
||||||
## 3.运行效果
|
## 3.运行效果
|
||||||
|
|
||||||
### 3.1 安装QEMU
|
### 3.1 安装QEMU
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install qemu-system-arm
|
sudo apt install qemu-system-arm
|
||||||
|
@ -200,7 +200,7 @@ sudo apt install qemu-system-arm
|
||||||
|
|
||||||
### 3.2 运行结果
|
### 3.2 运行结果
|
||||||
|
|
||||||
通过以下命令启动QEMU并加载XiUOS ELF文件
|
通过以下命令启动QEMU并加载XiUOS ELF文件
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-arm -machine netduinoplus2 -nographic -kernel build/XiZi-cortex-m4-emulator.elf
|
qemu-system-arm -machine netduinoplus2 -nographic -kernel build/XiZi-cortex-m4-emulator.elf
|
||||||
|
@ -215,13 +215,13 @@ QEMU运行起来后将会在终端上看到信息打印输出
|
||||||
|
|
||||||
### 3.3 调试
|
### 3.3 调试
|
||||||
|
|
||||||
通过QEMU可以方便的对XiUOS进行调试,首先安装gdb调试工具
|
通过QEMU可以方便的对XiUOS进行调试,首先安装gdb调试工具
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install gdb-multiarch
|
sudo apt install gdb-multiarch
|
||||||
```
|
```
|
||||||
|
|
||||||
并通过以下命令启动QEMU
|
并通过以下命令启动QEMU
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-arm -machine netduinoplus2 -nographic -kernel build/XiZi-cortex-m4-emulator.elf -s -S
|
qemu-system-arm -machine netduinoplus2 -nographic -kernel build/XiZi-cortex-m4-emulator.elf -s -S
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
## 1. 简介
|
## 1. 简介
|
||||||
|
|
||||||
QEMU 是一个通用的开源模拟器和虚拟化工具。从5.0版本开始,QEMU已经可以较完整的支持RISC-V架构,同时支持SiFive的E系列核心。目前XiUOS同样支持运行在QEMU上
|
QEMU 是一个通用的开源模拟器和虚拟化工具。从5.0版本开始,QEMU已经可以较完整的支持RISC-V架构,同时支持SiFive的E系列核心。目前XiUOS同样支持运行在QEMU上
|
||||||
|
|
||||||
| 硬件 | 描述 |
|
| 硬件 | 描述 |
|
||||||
| -- | -- |
|
| -- | -- |
|
||||||
|
@ -134,9 +134,9 @@ make BOARD=hifive1-emulator
|
||||||
|
|
||||||
## 3. 运行
|
## 3. 运行
|
||||||
|
|
||||||
### 3.1 编译并安装QEMU
|
### 3.1 编译并安装QEMU
|
||||||
|
|
||||||
官网下载QEMU源码编译安装,推荐使用[QEMU v5.0.0](https://download.qemu.org/qemu-5.0.0.tar.xz)版本,如果官网下载速度慢,也可从下面链接下载QEMU v5.0.0源码压缩包[下载地址](http://101.36.126.201:8011/qemu-5.0.0.tar.xz),用户可执行下面的命令进行下载并安装`QEMU`。
|
官网下载QEMU源码编译安装,推荐使用[QEMU v5.0.0](https://download.qemu.org/qemu-5.0.0.tar.xz)版本,如果官网下载速度慢,也可从下面链接下载QEMU v5.0.0源码压缩包[下载地址](http://101.36.126.201:8011/qemu-5.0.0.tar.xz),用户可执行下面的命令进行下载并安装`QEMU`。
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://download.qemu.org/qemu-5.0.0.tar.xz
|
wget https://download.qemu.org/qemu-5.0.0.tar.xz
|
||||||
|
@ -150,7 +150,7 @@ sudo make install
|
||||||
|
|
||||||
### 3.2 运行结果
|
### 3.2 运行结果
|
||||||
|
|
||||||
通过以下命令启动QEMU并加载XiUOS ELF文件
|
通过以下命令启动QEMU并加载XiUOS ELF文件
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-riscv32 -nographic -machine sifive_e -kernel build/XiZi-hifive1-emulator.elf
|
qemu-system-riscv32 -nographic -machine sifive_e -kernel build/XiZi-hifive1-emulator.elf
|
||||||
|
@ -162,7 +162,7 @@ QEMU运行起来后将会在终端上看到信息打印输出
|
||||||
|
|
||||||
### 3.3 调试
|
### 3.3 调试
|
||||||
|
|
||||||
利用QEMU可以方便的对XiUOS进行调试,首先通过以下命令启动QEMU
|
利用QEMU可以方便的对XiUOS进行调试,首先通过以下命令启动QEMU
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-riscv32 -nographic -machine sifive_e -kernel build/XiZi-hifive1-emulator.elf -s -S
|
qemu-system-riscv32 -nographic -machine sifive_e -kernel build/XiZi-hifive1-emulator.elf -s -S
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
## 1. 简介
|
## 1. 简介
|
||||||
|
|
||||||
QEMU 是一个通用的开源模拟器和虚拟化工具。从5.0版本开始,QEMU已经可以较完整的支持RISC-V架构。目前XiUOS同样支持运行在QEMU上
|
QEMU 是一个通用的开源模拟器和虚拟化工具。从5.0版本开始,QEMU已经可以较完整的支持RISC-V架构。目前XiUOS同样支持运行在QEMU上
|
||||||
|
|
||||||
| 硬件 | 描述 |
|
| 硬件 | 描述 |
|
||||||
| -- | -- |
|
| -- | -- |
|
||||||
|
@ -132,7 +132,7 @@ make BOARD=k210-emulator
|
||||||
|
|
||||||
## 3. 运行
|
## 3. 运行
|
||||||
|
|
||||||
### 3.1 编译并安装QEMU
|
### 3.1 编译并安装QEMU
|
||||||
|
|
||||||
**QEMU v6.0.0源码下载:** Qemu-K210 Emulator for XiUOS [https://forgeplus.trustie.net/projects/xuos/QemuK210](https://forgeplus.trustie.net/projects/xuos/QemuK210)
|
**QEMU v6.0.0源码下载:** Qemu-K210 Emulator for XiUOS [https://forgeplus.trustie.net/projects/xuos/QemuK210](https://forgeplus.trustie.net/projects/xuos/QemuK210)
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ sudo make install
|
||||||
|
|
||||||
### 3.2 运行结果
|
### 3.2 运行结果
|
||||||
|
|
||||||
通过以下命令启动QEMU并加载XiUOS ELF文件
|
通过以下命令启动QEMU并加载XiUOS ELF文件
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-riscv64 -nographic -machine sifive_u -bios build/XiZi-k210-emulator.elf
|
qemu-system-riscv64 -nographic -machine sifive_u -bios build/XiZi-k210-emulator.elf
|
||||||
|
@ -159,7 +159,7 @@ QEMU运行起来后将会在终端上看到信息打印输出
|
||||||
|
|
||||||
### 3.3 调试
|
### 3.3 调试
|
||||||
|
|
||||||
利用QEMU可以方便的对XiUOS进行调试,首先通过以下命令启动QEMU
|
利用QEMU可以方便的对XiUOS进行调试,首先通过以下命令启动QEMU
|
||||||
|
|
||||||
```
|
```
|
||||||
qemu-system-riscv64 -nographic -machine sifive_u -bios build/XiZi-k210-emulator.elf -s -S
|
qemu-system-riscv64 -nographic -machine sifive_u -bios build/XiZi-k210-emulator.elf -s -S
|
||||||
|
|
Loading…
Reference in New Issue