All Projects → YeXiaoRain → Jos_lab_mit_2017

YeXiaoRain / Jos_lab_mit_2017

代码MIT 2016-2017年JOS LAB(6/6) 过程记录文档为SJTU+MIT

Projects that are alternatives of or similar to Jos lab mit 2017

LAB
MIT IT Lab Repository
Stars: ✭ 23 (-34.29%)
Mutual labels:  mit, lab
ICS LAB CMU 2016
CMU-CSAPP-LAB 原始文件+完成代码+文字攻略(过程记录手稿第一版)
Stars: ✭ 51 (+45.71%)
Mutual labels:  lab, document
Docs
flow.ci user guide
Stars: ✭ 718 (+1951.43%)
Mutual labels:  document
Rocket.chat
The communications platform that puts data protection first.
Stars: ✭ 31,251 (+89188.57%)
Mutual labels:  mit
Primeng
The Most Complete Angular UI Component Library
Stars: ✭ 7,180 (+20414.29%)
Mutual labels:  mit
Linux Lab
Docker/Qemu Based Linux Kernel Learning, Development and Testing Environment; New Linux ELF Video Course from this project author: https://www.cctalk.com/m/group/88089283
Stars: ✭ 771 (+2102.86%)
Mutual labels:  lab
Learning Mit 6.828
something you need in MIT 6.828 Fall 2019
Stars: ✭ 16 (-54.29%)
Mutual labels:  mit
Uppy
The next open source file uploader for web browsers 🐶
Stars: ✭ 24,829 (+70840%)
Mutual labels:  mit
Awesome Style Guide
A list of awesome⭐️style guide.
Stars: ✭ 967 (+2662.86%)
Mutual labels:  document
Go Labs
golang labs
Stars: ✭ 5 (-85.71%)
Mutual labels:  lab
Spimedb
EXPLORE & EDIT REALITY
Stars: ✭ 14 (-60%)
Mutual labels:  document
React Router Cn
React Router V4 中文文档
Stars: ✭ 817 (+2234.29%)
Mutual labels:  document
Zathura
a document viewer
Stars: ✭ 769 (+2097.14%)
Mutual labels:  document
Onboarding
Onboarding materials for the Greene Lab
Stars: ✭ 19 (-45.71%)
Mutual labels:  lab
Csapp Labs
Solutions and Notes for Labs of Computer Systems: A Programmer's Perspective 3rd Editon // 《深入理解计算机系统》第三版的实验文件、解答与笔记
Stars: ✭ 749 (+2040%)
Mutual labels:  lab
Westwind.htmlpackager
A small utility class used to package HTML content into a self contained HTML document both as a single file, or a folder with all dependencies copied to local.
Stars: ✭ 27 (-22.86%)
Mutual labels:  mit
Springboot
Spring Boot chinese document. Spring Boot 2.1.5 中文文档
Stars: ✭ 703 (+1908.57%)
Mutual labels:  document
Xxl Api
A api management platform.(API管理平台XXL-API)
Stars: ✭ 803 (+2194.29%)
Mutual labels:  document
Docs
Lightweight document management system packed with all the features you can expect from big expensive solutions
Stars: ✭ 827 (+2262.86%)
Mutual labels:  document
Annwvyn
Annwvyn C++ Open Source designed-for-VR game engine and application developement framework
Stars: ✭ 34 (-2.86%)
Mutual labels:  mit

jos-lab


The official website

本仓库的代码为mit的

本仓库的过程记录为mit+sjtu的

lab tools guide

计算机汇编语言

课程参考

强烈建议用虚拟机完成lab[sjtu有提供配置好了的vm 方法见SJTUREADME.md] 下面讲手工配置

下载ubuntu 32位 桌面版并用虚拟机安装 注意一定要是32位

sjtu的同学可以使用wget http://ftp.sjtu.edu.cn/ubuntu-cd/16.04.2/ubuntu-16.04.2-desktop-i386.iso进行下载

警告 我有尝试64位的ubuntu16.10,配了我40+小时没有配好[虽然有人说mit已经把lab从32位移植到64位上了],所以如果没有闲情逸致,请勿尝试64位或其它版本,我测试可用的是32位ubuntu16.04.2

我有尝试下载ubuntu server版,然后用ssh连接,之后的configure里加上选项--disable-kvm,并将make qemu全部换为make qemu-nox,一旦运行崩了,通过另一个ssh 去kill 进程,再reset之前的ssh连接的窗口,这样也是可以玩的:-), desktop大小可是server的两倍多哦

当然你如果不够熟练不用鼠标,也没有这般闲情逸致的话,建议还是下载有图形的ubuntu桌面版本,[当然桌面版也可以这样用ssh玩

依赖安装 (安装前注意换源(sudo apt edit-sources),sjtu有ubuntu内源哦 亲测≈10MB/s)

  • sudo apt-get update && sudo apt-get install git gcc-multilib build-essential python libsdl1.2-dev libtool-bin libglib2.0-dev libz-dev libpixman-1-dev -y
  • sjtu 的虚拟机,源要换成deb http://archive.debian.org/debian squeeze main

QEMU

获取 三种方法 任选一种

  • [方法一 mit的qemu2.3.0] git clone http://web.mit.edu/ccutler/www/qemu.git mitqemu -b 6.828-2.3.0 && cd mitqemu
  • [方法二 github的qemu2.7] 从github获取qemu : git clone -b stable-2.7 --single-branch --depth=1 https://github.com/qemu/qemu.git qemu-2.7 && cd qemu-2.7
  • [方法三 sjtu的qemu1.5.2] 下载并解压 :wget http://ipads.se.sjtu.edu.cn/courses/os/2015/tools/qemu-1.5.2.tar.bz2 && tar xf qemu-1.5.2.tar.bz2 && mv qemu-1.5.2 sjtuqemu && cd sjtuqemu

配置

  • mit在./configure时有使用--disable-kvm选项
  • 绝对路径 建议使用形如/path_to_your_lab_dir/qemu_dir_name/dist的,例如我使用的/home/yexiaorain/Android/Documents/os/qemu-2.7/dist
  • 请修改命令中prefix的路径指向绝对路径 ./configure --prefix=CHANGE_THE_PATH_TO_ABSOLUTE_DIR --target-list="i386-softmmu" && make && make install

lab 代码

下载代码git clone https://github.com/YeXiaoRain/JOS_LAB_MIT_2017.git

分支结构git log --graph --decorate --all --oneline

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].