MIT 6.1810 开发环境搭建(Xv6)

开发环境搭建

https://pdos.csail.mit.edu/6.828/2025/tools.html 来操作

见其中的Installing on Windows这一节

安装WSL2.0并升级到Ubuntu 24.04

国内版本无法直接从Microsoft Store下载安装Ubuntu 24.04,但是可以手动下载并安装,

https://blog.csdn.net/lichengyu/article/details/161369193?spm=1001.2014.3001.5502

在Ubuntu 24.04中安装工具链

在wsl中启动Ubuntu 24.04:

点击 "开始" -> "Ubuntu 24.04 LTS",

To install all the software you need for this class, run:

shell 复制代码
$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install git build-essential gdb-multiarch qemu-system-misc gcc-riscv64-linux-gnu binutils-riscv64-linux-gnu

下载Xv6源代码

参考: https://pdos.csail.mit.edu/6.828/2025/xv6.html

The latest xv6 source and text are available at https://github.com/mit-pdos/xv6-riscv and https://github.com/mit-pdos/xv6-riscv-book respectively. Run

复制代码
git clone https://github.com/mit-pdos/xv6-riscv.git
git clone https://github.com/mit-pdos/xv6-riscv-book.git

编译并运行Xv6

参考:

https://github.com/mit-pdos/xv6-riscv

https://pdos.csail.mit.edu/6.828/2025/labs/util.html

直接执行make qemu即可

参考资料

https://pdos.csail.mit.edu/6.828/2025/tools.html

https://blog.csdn.net/lichengyu/article/details/161369193?spm=1001.2014.3001.5502

https://pdos.csail.mit.edu/6.828/2025/xv6.html

https://github.com/mit-pdos/xv6-riscv

https://pdos.csail.mit.edu/6.828/2025/labs/util.html

相关推荐
硅农程序猿6 天前
从需求到硅片| 一文讲清数字芯片设计流程
arm开发·硬件架构·risc-v
hongmai66688810 天前
ESP32-WROVER-B-N8R8:8MB PSRAM加持的经典双核模组,现在还值得选吗?
单片机·嵌入式硬件·物联网·智能路由器·risc-v
hongmai66688811 天前
GK7205V300芯片深度解析:H.265低功耗视觉主控,助力安防监控高效选型
arm开发·嵌入式硬件·物联网·智能家居·h.265·risc-v
2301_8059629312 天前
在昉星光2(RISC-V)上构建每日短视频自动生成器
音视频·risc-v
hongmai66688813 天前
聊聊ESP32-C3-WROOM-02-N8这颗8MB Flash的RISC-V模组
笔记·嵌入式硬件·物联网·智能路由器·risc-v
hongmai66688814 天前
耐高温小钢炮:ESP32-C3-MINI-1U-H4模组选型分享
笔记·单片机·嵌入式硬件·物联网·risc-v
国科安芯16 天前
卫星星务计算机数据管理中SEU容错机制的技术实现研究——以AS32S601存储器ECC架构为例
网络·单片机·算法·fpga开发·架构·云计算·risc-v
QYR-分析17 天前
RISC-V AI加速器SoC行业研究报告:开放架构赋能AI芯片,高增赛道开启国产化新机遇
人工智能·架构·risc-v
hongmai66688818 天前
ESP8684-WROOM-02C:一块被低估的RISC-V Wi-Fi模组
单片机·嵌入式硬件·物联网·5g·智能路由器·risc-v
深圳市爱派派智能科技有限公司20 天前
“进迭时空 RISC-V 集群服务器 CSB1-N10SPK3:10 节点 K3,600 TOPS 绿色算力“
运维·服务器·risc-v·k3·进迭时空·集群服务器