File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -275,10 +275,11 @@ GDB 调试支持
275275- `Windows 平台 <https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2020.04.1-x86_64-w64-mingw32.zip >`_
276276- `CentOS 平台 <https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2020.04.1-x86_64-linux-centos6.tar.gz >`_
277277
278+ 最新版的工具链可以在 `sifive 官方的 repo 中 <https://github.com/sifive/freedom-tools/releases >`_ 找到。
278279
279280解压后在 ``bin `` 目录下即可找到 ``riscv64-unknown-elf-gdb `` 以及另外一些常用工具 ``objcopy/objdump/readelf `` 等。
280281
281- 在其他缺少预编译 riscv64 gcc 工具链的Linux x86-64 平台(如openEuler操作系统 、龙蜥操作系统等)上,则需要 clone `riscv 工具链仓库 <https://github.com/riscv-collab/riscv-gnu-toolchain >`_ 并参考其说明手动构建。
282+ 在其他缺少预编译 riscv64 gcc 工具链的 Linux x86-64 平台(如 openEuler 操作系统 、龙蜥操作系统等)上,则需要 clone `riscv 工具链仓库 <https://github.com/riscv-collab/riscv-gnu-toolchain >`_ 并参考其说明手动构建。
282283
283284运行 rCore-Tutorial-v3
284285------------------------------------------------------------
@@ -291,7 +292,7 @@ GDB 调试支持
291292
292293.. image :: qemu-final.gif
293294
294- 之后,可以先按下 ``Ctrl+A `` , 再按下 ``X `` 来退出 Qemu。
295+ 之后,可以先按下 ``Ctrl+a `` (即:先按下 Ctrl 不松开,再按下小写字母 a 不放,随后同时将两个键松开) , 再按下 ``x `` 来退出 Qemu。
295296
296297在 K210 平台上运行
297298+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@@ -304,7 +305,7 @@ GDB 调试支持
304305
305306.. warning ::
306307
307- 在 ``os/Makefile `` 中我们默认设置 MicroSD 在当前操作系统中可以用设备 ``SDCARD=/dev/sdb `` 访问。你可以使用 ``df -hT `` 命令来确认在你的环境中 MicroSD 是哪个设备,并在 ``make sdcard `` 之前对 ``os/Makefile `` 的 ``SDCARD `` 配置做出适当的修改。不然,这有可能导致 **设备 /dev/sdb 上数据丢失 **!
308+ 在 ``os/Makefile `` 中我们默认设置 MicroSD 在当前操作系统中可以用设备 ``SDCARD=/dev/sdb `` 访问。你可以使用 ``df -hT `` 命令来确认在你的环境中 MicroSD 是哪个设备,并在 ``make sdcard `` 之前对 ``os/Makefile `` 的 ``SDCARD `` 配置做出适当的修改。不然,这有可能导致 **设备 /dev/sdb 上数据丢失 ** !
308309
309310随后,我们将 MicroSD 插入 K210 开发板,将 K210 开发板连接到 PC ,然后进入 ``os `` 目录 ``make run BOARD=k210 `` 在 K210 开发板上跑 rCore Tutorial 。
310311
You can’t perform that action at this time.
0 commit comments